mlsanityData to 7 Oct 2026

Disentangling Mathematical Reasoning in LLMs: A Methodological Investigation of Internal Mechanisms

arXiv 2604.15842 ↗First posted 17 Apr 2026cs.CLcited by 0

On the map: LLM reasoning → Mathematical reasoning

Abstract (arXiv)

Large language models (LLMs) have demonstrated impressive capabilities, yet their internal mechanisms for handling reasoning-intensive tasks remain underexplored. To advance the understanding of model-internal processing mechanisms, we present an investigation of how LLMs perform arithmetic operations by examining internal mechanisms during task execution. Using early decoding, we trace how next-token predictions are constructed across layers. Our experiments reveal that while the models recognize arithmetic tasks early, correct result generation occurs only in the final layers. Notably, models proficient in arithmetic exhibit a clear division of labor between attention and MLP modules, where attention propagates input information and MLP modules aggregate it. This division is absent in less proficient models. Furthermore, successful models appear to process more challenging arithmetic tasks functionally, suggesting reasoning capabilities beyond factual recall.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 23 of its 41 references that are in the map. First posted on arXiv 17 Apr 2026.

Builds on

23 of 41 references.

Closest ancestors · 4

Same direction, newest first

  1. 2024Arithmetic Without Algorithms: Language Models Solve Math With a Bag of Heuristics28 Oct
  2. 2024Evaluating LLMs' Mathematical and Coding Competency through Ontology-guided Interventions17 Jan
  3. 2023A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysis24 May
  4. 2022A Causal Framework to Quantify the Robustness of Mathematical Reasoning with Language Models21 Oct

Other references · 19

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2020Scaling Laws for Neural Language Modelscited by 6,411
  4. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  5. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  6. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  7. 2022In-context Learning and Induction Headscited by 930
  8. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
  9. 2023Function Vectors in Large Language Modelscited by 292
  10. 2023Linearity of Relation Decoding in Transformer Language Modelscited by 190
  11. 2023Chain-of-Thought Hub: A Continuous Effort to Measure Large Language Models' Reasoning Performancecited by 102
  12. 2023Language Models Implement Simple Word2Vec-style Vector Arithmeticcited by 97
7 more
  1. 2024pyvene: A Library for Understanding and Improving PyTorch Models via Interventionscited by 53
  2. 2022LM-Debugger: An Interactive Tool for Inspection and Intervention in Transformer-Based Language Modelscited by 28
  3. 2024From Insights to Actions: The Impact of Interpretability and Analysis Research on NLPcited by 20
  4. 2024Cutting Through the Noise: Boosting LLM Performance on Math Word Problemscited by 14
  5. 2025The Lookahead Limitation: Why Multi-Operand Addition is Hard for LLMscited by 13
  6. 2024Language Models are Symbolic Learners in Arithmeticcited by 11
  7. 2025Modular Arithmetic: Language Models Solve Math Digit by Digitcited by 6

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024Unraveling Arithmetic in Large Language Models: The Role of Algebraic Structures
  2. 2026A Four-Stage Decomposition of Word-Problem Solving and Mechanistic Fragility in LLM Math Reasoning
  3. 2025Language Models Use Trigonometry to Do Addition
  4. 2025Comprehension Without Competence: Architectural Limits of LLMs in Symbolic Computation and Reasoning
  5. 2024An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMs
  6. 2024LLMs Faithfully and Iteratively Compute Answers During CoT: A Systematic Analysis With Multi-step Arithmetics
  7. 2025Atomic Thinking of LLMs: Decoupling and Exploring Mathematical Reasoning Abilities
  8. 2025The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexity