mlsanityData to 7 Oct 2026

Language Models Use Trigonometry to Do Addition

arXiv 2502.00873 ↗First posted 2 Feb 2025cs.AI cs.CL cs.LGcited by 68

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

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 29; 2026: 39.

68 papers.

Sort:

By area:

  1. 2025LLM Social Simulations Are a Promising Research Methodcited by 97
  2. 2026When Models Manipulate Manifolds: The Geometry of a Counting Taskcited by 43
  3. 2025The Non-Linear Representation Dilemma: Is Causal Abstraction Enough for Mechanistic Interpretability?cited by 34
  4. 2025Towards Understanding Distilled Reasoning Models: A Representational Approachcited by 26
  5. 2026Do Sparse Autoencoders Capture Concept Manifolds?cited by 25
  6. 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behaviorcited by 22
  7. 2025FoNE: Precise Single-Token Number Embeddings via Fourier Featurescited by 21
  8. 2025The Geometry of Reasoning: Flowing Logics in Representation Spacecited by 21
  9. 2025Probing for Arithmetic Errors in Language Modelscited by 17
  10. 2025The Lookahead Limitation: Why Multi-Operand Addition is Hard for LLMscited by 13
  11. 2025Alternating Gradient Flows: A Theory of Feature Learning in Two-layer Neural Networkscited by 11
  12. 2026How Many Features Can a Language Model Store Under the Linear Representation Hypothesis?cited by 11
38 more
  1. 2025SOM Directions are Better than One: Multi-Directional Refusal Suppression in Language Modelscited by 9
  2. 2025Understanding In-context Learning of Addition via Activation Subspacescited by 8
  3. 2025LLMs Process Lists With General Filter Headscited by 7
  4. 2026Sequential Group Composition: A Window into the Mechanics of Deep Learningcited by 7
  5. 2025Mechanistic Indicators of Understanding in Large Language Modelscited by 6
  6. 2025Modular Arithmetic: Language Models Solve Math Digit by Digitcited by 6
  7. 2025Why Can't Transformers Learn Multiplication? Reverse-Engineering Reveals Long-Range Dependency Pitfallscited by 6
  8. 2026Establishing Construct Validity in LLM Capability Benchmarks Requires Nomological Networkscited by 6
  9. 2025Layerwise Recall and the Geometry of Interwoven Knowledge in LLMscited by 5
  10. 2026Curveball Steering: The Right Direction To Steer Isn't Always Linearcited by 5
  11. 2026Convergent Evolution: How Different Language Models Learn Similar Number Representationscited by 5
  12. 2025Training-Free Tokenizer Transplantation via Orthogonal Matching Pursuitcited by 4
  13. 2025Language Models Do Not Embed Numbers Continuouslycited by 4
  14. 2025In-Context Algebracited by 4
  15. 2025Addition in Four Movements: Mapping Layer-wise Information Trajectories in LLMscited by 3
  16. 2025Pre-trained Language Models Learn Remarkably Accurate Representations of Numberscited by 3
  17. 2025Latent Concept Disentanglement in Transformer-based Language Modelscited by 3
  18. 2026Spectral Superposition: A Theory of Feature Geometrycited by 3
  19. 2026Transformers learn factored representationscited by 3
  20. 2026FLIPS: Instance-Fingerprinting for LLMs via Pseudo-random Sequencescited by 3
  21. 2026Structuring Sparsity: Block-Sparse Featurizers Capture Visual Concept Manifoldscited by 3
  22. 2025Prompting as Scientific Inquirycited by 2
  23. 2026Finding Belief Geometries with Sparse Autoencoderscited by 2
  24. 2026Closure-Validated Circuit Discovery in Attention Heads: Co-activation Proposes, Ablation Disposescited by 2
  25. 2026When Does Activation Steering Change What a Model Computes From?cited by 2
  26. 2025K-MSHC: Unmasking Minimally Sufficient Head Circuits in Large Language Models with Experiments on Syntactic Classification Taskscited by 1
  27. 2025From Memorization to Reasoning in the Spectrum of Loss Curvaturecited by 1
  28. 2025Language Models Learn Universal Representations of Numbers and Here's Why You Should Carecited by 1
  29. 2025Cognitive Maps in Language Models: A Mechanistic Analysis of Spatial Planningcited by 1
  30. 2026Towards a Mechanistic Understanding of Propositional Logical Reasoning in Large Language Modelscited by 1
  31. 2026AI-rithmeticcited by 1
  32. 2026Singular Vectors of Attention Heads Align with Featurescited by 1
  33. 2026Latent-space Attacks for Refusal Evasion in Language Modelscited by 1
  34. 2026When and How Long? The Readout-Mediator Angle in Temporal Reasoningcited by 1
  35. 2026Can Language Model Agents be Helpful Circuit Explainers in Mechanistic Interpretability?cited by 1
  36. 2026Are Arithmetic Heuristic Neurons Form-Invariant? A Mechanistic Analysis of Symbols, Text, and Code in LLMscited by 1
  37. 2025`A la recherche du sens perdu: your favourite LLM might have more to say than you can understandcited by 0
  38. 2025MathBode: Measuring the Stability of LLM Reasoning using Frequency Responsecited by 0

50 most cited of 68 All 68 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2024Unraveling Arithmetic in Large Language Models: The Role of Algebraic Structures
  2. 2024Arithmetic Without Algorithms: Language Models Solve Math With a Bag of Heuristics
  3. 2026Disentangling Mathematical Reasoning in LLMs: A Methodological Investigation of Internal Mechanisms
  4. 2025Do Large Language Models Truly Grasp Addition? A Rule-Focused Diagnostic Using Two-Integer Arithmetic
  5. 2024How Numerical Precision Affects Arithmetical Reasoning Capabilities of LLMs
  6. 2024Language Models Do Hard Arithmetic Tasks Easily and Hardly Do Easy Arithmetic Tasks
  7. 2023Frugal LMs Trained to Invoke Symbolic Solvers Achieve Parameter-Efficient Arithmetic Reasoning
  8. 2024An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMs