LLMs compute addition via Fourier features: 28 LLaMA neurons implement the mechanism

banburismus_ · x · 2026-10-18

Citing @dronh's paper: language models use Fourier features to compute addition, and a set of 28 MLP neurons in LLaMA implements this general addition mechanism, with subsets corresponding to Fourier features of different periods. @banburismus uses this to push back on @JacobHHilton's claim that circuits get harder to interpret at scale.

Related event: Study Finds LLMs Use Fourier Features for Addition with Just 28 Neurons(2 posts)→

Original post →

More from Research

Research channel →