Language Models Use Trigonometry to Do Addition
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
Mathematical reasoning is an increasingly important indicator of large language model (LLM) capabilities, yet we lack understanding of how LLMs process even simple mathematical tasks. To address this, we reverse engineer how three mid-sized LLMs compute addition. We first discover that numbers are represented in these LLMs as a generalized helix, which is strongly causally implicated for the tasks of addition and subtraction, and is also causally relevant for integer division, multiplication, and modular arithmetic. We then propose that LLMs compute addition by manipulating this generalized helix using the "Clock" algorithm: to solve a+b, the helices for a and b are manipulated to produce the a+b answer helix which is then read out to model logits. We model influential MLP outputs, attention head outputs, and even individual neuron preactivations with these helices and verify our understanding with causal interventions. By demonstrating that LLMs represent numbers on a helix and manipulate this helix to perform addition, we present the first representation-level explanation of an LLM's mathematical capability.
Key facts. Cited by 68 papers in the map (data through 7 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. First posted on arXiv 2 Feb 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 29; 2026: 39.
68 papers.
Sort:
By area:
- 2025LLM Social Simulations Are a Promising Research Methodcited by 97
- 2026When Models Manipulate Manifolds: The Geometry of a Counting Taskcited by 43
- 2025The Non-Linear Representation Dilemma: Is Causal Abstraction Enough for Mechanistic Interpretability?cited by 34
- 2025Towards Understanding Distilled Reasoning Models: A Representational Approachcited by 26
- 2026Do Sparse Autoencoders Capture Concept Manifolds?cited by 25
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behaviorcited by 22
- 2025FoNE: Precise Single-Token Number Embeddings via Fourier Featurescited by 21
- 2025The Geometry of Reasoning: Flowing Logics in Representation Spacecited by 21
- 2025Probing for Arithmetic Errors in Language Modelscited by 17
- 2025The Lookahead Limitation: Why Multi-Operand Addition is Hard for LLMscited by 13
- 2025Alternating Gradient Flows: A Theory of Feature Learning in Two-layer Neural Networkscited by 11
- 2026How Many Features Can a Language Model Store Under the Linear Representation Hypothesis?cited by 11
38 more
- 2025SOM Directions are Better than One: Multi-Directional Refusal Suppression in Language Modelscited by 9
- 2025Understanding In-context Learning of Addition via Activation Subspacescited by 8
- 2025LLMs Process Lists With General Filter Headscited by 7
- 2026Sequential Group Composition: A Window into the Mechanics of Deep Learningcited by 7
- 2025Mechanistic Indicators of Understanding in Large Language Modelscited by 6
- 2025Modular Arithmetic: Language Models Solve Math Digit by Digitcited by 6
- 2025Why Can't Transformers Learn Multiplication? Reverse-Engineering Reveals Long-Range Dependency Pitfallscited by 6
- 2026Establishing Construct Validity in LLM Capability Benchmarks Requires Nomological Networkscited by 6
- 2025Layerwise Recall and the Geometry of Interwoven Knowledge in LLMscited by 5
- 2026Curveball Steering: The Right Direction To Steer Isn't Always Linearcited by 5
- 2026Convergent Evolution: How Different Language Models Learn Similar Number Representationscited by 5
- 2025Training-Free Tokenizer Transplantation via Orthogonal Matching Pursuitcited by 4
- 2025Language Models Do Not Embed Numbers Continuouslycited by 4
- 2025In-Context Algebracited by 4
- 2025Addition in Four Movements: Mapping Layer-wise Information Trajectories in LLMscited by 3
- 2025Pre-trained Language Models Learn Remarkably Accurate Representations of Numberscited by 3
- 2025Latent Concept Disentanglement in Transformer-based Language Modelscited by 3
- 2026Spectral Superposition: A Theory of Feature Geometrycited by 3
- 2026Transformers learn factored representationscited by 3
- 2026FLIPS: Instance-Fingerprinting for LLMs via Pseudo-random Sequencescited by 3
- 2026Structuring Sparsity: Block-Sparse Featurizers Capture Visual Concept Manifoldscited by 3
- 2025Prompting as Scientific Inquirycited by 2
- 2026Finding Belief Geometries with Sparse Autoencoderscited by 2
- 2026Closure-Validated Circuit Discovery in Attention Heads: Co-activation Proposes, Ablation Disposescited by 2
- 2026When Does Activation Steering Change What a Model Computes From?cited by 2
- 2025K-MSHC: Unmasking Minimally Sufficient Head Circuits in Large Language Models with Experiments on Syntactic Classification Taskscited by 1
- 2025From Memorization to Reasoning in the Spectrum of Loss Curvaturecited by 1
- 2025Language Models Learn Universal Representations of Numbers and Here's Why You Should Carecited by 1
- 2025Cognitive Maps in Language Models: A Mechanistic Analysis of Spatial Planningcited by 1
- 2026Towards a Mechanistic Understanding of Propositional Logical Reasoning in Large Language Modelscited by 1
- 2026AI-rithmeticcited by 1
- 2026Singular Vectors of Attention Heads Align with Featurescited by 1
- 2026Latent-space Attacks for Refusal Evasion in Language Modelscited by 1
- 2026When and How Long? The Readout-Mediator Angle in Temporal Reasoningcited by 1
- 2026Can Language Model Agents be Helpful Circuit Explainers in Mechanistic Interpretability?cited by 1
- 2026Are Arithmetic Heuristic Neurons Form-Invariant? A Mechanistic Analysis of Symbols, Text, and Code in LLMscited by 1
- 2025`A la recherche du sens perdu: your favourite LLM might have more to say than you can understandcited by 0
- 2025MathBode: Measuring the Stability of LLM Reasoning using Frequency Responsecited by 0
50 most cited of 68 All 68 (JSON)
- 2026Targeted Retrieval, Compact Representations: How CoT Reasoning Improves Long-Context Counting30 Sep 2026
- 2026When Models Don't Manipulate Manifolds: The Geometry of a Comparison Task29 Sep 2026
- 2026A Polyphonic Conception of AI Understanding28 Sep 2026
- 2026Causal and Interpretable Structures in LLM Compositional Tasks28 Sep 2026
- 2026Interference Beyond Geometry in Concept Extraction28 Sep 2026
- 2026A Survey on the Linear Representation Hypothesis19 Sep 2026
- 2026MAxBench: A Multinomial Concept Recovery Benchmark11 Sep 2026
- 2026High-probability guarantees for linear accessibility in feature superposition9 Sep 2026
- 2026CircuitLens: Reasoning Circuits as Data Selection Signals for Reinforcement Learning with Verifiable Rewards7 Sep 2026
- 2026Beyond a Bag of Features: Set-Level Instability in Sparse Autoencoders11 Aug 2026
- 2026Are Arithmetic Heuristic Neurons Form-Invariant? A Mechanistic Analysis of Symbols, Text, and Code in LLMs18 Jul 2026
- 2026When Does Activation Steering Change What a Model Computes From?28 Jun 2026
38 more
- 2026Structuring Sparsity: Block-Sparse Featurizers Capture Visual Concept Manifolds23 Jun 2026
- 2026Can Language Model Agents be Helpful Circuit Explainers in Mechanistic Interpretability?23 Jun 2026
- 2026The Importance of Phase in Neural Representations: An Internal Oppenheim-Lim Test of Image Classifiers15 Jun 2026
- 2026Closure-Validated Circuit Discovery in Attention Heads: Co-activation Proposes, Ablation Disposes8 Jun 2026
- 2026Language Models Compare Quantities Using Number-specific and Unit-specific Heuristics2 Jun 2026
- 2026FLIPS: Instance-Fingerprinting for LLMs via Pseudo-random Sequences2 Jun 2026
- 2026The Shape of Addition: Geometric Structures of Arithmetic in Large Language Models29 May 2026
- 2026When and How Long? The Readout-Mediator Angle in Temporal Reasoning27 May 2026
- 2026Riemannian-Manifold Steering: Geometry-Aware Generative Autoencoders for Label-Free Steering24 May 2026
- 2026Latent-space Attacks for Refusal Evasion in Language Models20 May 2026
- 2026Non-linear Interventions on Large Language Models14 May 2026
- 2026Tensor Product Representation Probes Reveal Shared Structure Across Linear Directions11 May 2026
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behavior6 May 2026
- 2026Do Sparse Autoencoders Capture Concept Manifolds?30 Apr 2026
- 2026Convergent Evolution: How Different Language Models Learn Similar Number Representations22 Apr 2026
- 2026H-Probes: Extracting Hierarchical Structures From Latent Representations of Language Models15 Apr 2026
- 2026Finding Belief Geometries with Sparse Autoencoders3 Apr 2026
- 2026Establishing Construct Validity in LLM Capability Benchmarks Requires Nomological Networks16 Mar 2026
- 2026Curveball Steering: The Right Direction To Steer Isn't Always Linear10 Mar 2026
- 2026Singular Vectors of Attention Heads Align with Features13 Feb 2026
- 2026How Many Features Can a Language Model Store Under the Linear Representation Hypothesis?11 Feb 2026
- 2026AI-rithmetic11 Feb 2026
- 2026Sequential Group Composition: A Window into the Mechanics of Deep Learning3 Feb 2026
- 2026Transformers learn factored representations2 Feb 2026
- 2026Spectral Superposition: A Theory of Feature Geometry2 Feb 2026
- 2026When Models Manipulate Manifolds: The Geometry of a Counting Task8 Jan 2026
- 2026Towards a Mechanistic Understanding of Propositional Logical Reasoning in Large Language Models7 Jan 2026
- 2025In-Context Algebra18 Dec 2025
- 2025Cognitive Maps in Language Models: A Mechanistic Analysis of Spatial Planning17 Nov 2025
- 2025SOM Directions are Better than One: Multi-Directional Refusal Suppression in Language Models11 Nov 2025
- 2025Interpreting Multi-Attribute Confounding through Numerical Attributes in Large Language Models6 Nov 2025
- 2025LLMs Process Lists With General Filter Heads30 Oct 2025
- 2025Language Models Learn Universal Representations of Numbers and Here's Why You Should Care30 Oct 2025
- 2025From Memorization to Reasoning in the Spectrum of Loss Curvature28 Oct 2025
- 2025The Geometry of Reasoning: Flowing Logics in Representation Space10 Oct 2025
- 2025Language Models Do Not Embed Numbers Continuously9 Oct 2025
- 2025Why Can't Transformers Learn Multiplication? Reverse-Engineering Reveals Long-Range Dependency Pitfalls30 Sep 2025
- 2025MathBode: Measuring the Stability of LLM Reasoning using Frequency Response27 Sep 2025
50 newest of 68 All 68 (JSON)
- 2025Towards Understanding Distilled Reasoning Models: A Representational Approachcited by 26
- 2025The Geometry of Reasoning: Flowing Logics in Representation Spacecited by 21
- 2025From Memorization to Reasoning in the Spectrum of Loss Curvaturecited by 1
- 2026Towards a Mechanistic Understanding of Propositional Logical Reasoning in Large Language Modelscited by 1
- 2026When and How Long? The Readout-Mediator Angle in Temporal Reasoningcited by 1
- 2025MathBode: Measuring the Stability of LLM Reasoning using Frequency Responsecited by 0
- 2025Interpreting Multi-Attribute Confounding through Numerical Attributes in Large Language Modelscited by 0
- 2026Targeted Retrieval, Compact Representations: How CoT Reasoning Improves Long-Context Countingcited by 0
- 2026Targeted Retrieval, Compact Representations: How CoT Reasoning Improves Long-Context Counting30 Sep 2026
- 2026When and How Long? The Readout-Mediator Angle in Temporal Reasoning27 May 2026
- 2026Towards a Mechanistic Understanding of Propositional Logical Reasoning in Large Language Models7 Jan 2026
- 2025Interpreting Multi-Attribute Confounding through Numerical Attributes in Large Language Models6 Nov 2025
- 2025From Memorization to Reasoning in the Spectrum of Loss Curvature28 Oct 2025
- 2025The Geometry of Reasoning: Flowing Logics in Representation Space10 Oct 2025
- 2025MathBode: Measuring the Stability of LLM Reasoning using Frequency Response27 Sep 2025
- 2025Towards Understanding Distilled Reasoning Models: A Representational Approach5 Mar 2025
- 2025LLM Social Simulations Are a Promising Research Methodcited by 97
- 2026When Models Manipulate Manifolds: The Geometry of a Counting Taskcited by 43
- 2025The Non-Linear Representation Dilemma: Is Causal Abstraction Enough for Mechanistic Interpretability?cited by 34
- 2026Do Sparse Autoencoders Capture Concept Manifolds?cited by 25
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behaviorcited by 22
- 2025FoNE: Precise Single-Token Number Embeddings via Fourier Featurescited by 21
- 2025Probing for Arithmetic Errors in Language Modelscited by 17
- 2025The Lookahead Limitation: Why Multi-Operand Addition is Hard for LLMscited by 13
- 2025Alternating Gradient Flows: A Theory of Feature Learning in Two-layer Neural Networkscited by 11
- 2026How Many Features Can a Language Model Store Under the Linear Representation Hypothesis?cited by 11
- 2025Understanding In-context Learning of Addition via Activation Subspacescited by 8
- 2025LLMs Process Lists With General Filter Headscited by 7
12 most cited of 57 All 57 (JSON)
- 2026When Models Don't Manipulate Manifolds: The Geometry of a Comparison Task29 Sep 2026
- 2026A Polyphonic Conception of AI Understanding28 Sep 2026
- 2026Causal and Interpretable Structures in LLM Compositional Tasks28 Sep 2026
- 2026Interference Beyond Geometry in Concept Extraction28 Sep 2026
- 2026A Survey on the Linear Representation Hypothesis19 Sep 2026
- 2026MAxBench: A Multinomial Concept Recovery Benchmark11 Sep 2026
- 2026High-probability guarantees for linear accessibility in feature superposition9 Sep 2026
- 2026CircuitLens: Reasoning Circuits as Data Selection Signals for Reinforcement Learning with Verifiable Rewards7 Sep 2026
- 2026Beyond a Bag of Features: Set-Level Instability in Sparse Autoencoders11 Aug 2026
- 2026Are Arithmetic Heuristic Neurons Form-Invariant? A Mechanistic Analysis of Symbols, Text, and Code in LLMs18 Jul 2026
- 2026When Does Activation Steering Change What a Model Computes From?28 Jun 2026
- 2026Structuring Sparsity: Block-Sparse Featurizers Capture Visual Concept Manifolds23 Jun 2026
12 newest of 57 All 57 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024Unraveling Arithmetic in Large Language Models: The Role of Algebraic Structures
- 2024Arithmetic Without Algorithms: Language Models Solve Math With a Bag of Heuristics
- 2026Disentangling Mathematical Reasoning in LLMs: A Methodological Investigation of Internal Mechanisms
- 2025Do Large Language Models Truly Grasp Addition? A Rule-Focused Diagnostic Using Two-Integer Arithmetic
- 2024How Numerical Precision Affects Arithmetical Reasoning Capabilities of LLMs
- 2024Language Models Do Hard Arithmetic Tasks Easily and Hardly Do Easy Arithmetic Tasks
- 2023Frugal LMs Trained to Invoke Symbolic Solvers Achieve Parameter-Efficient Arithmetic Reasoning
- 2024An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMs