Lune

ICLR2025顶会

Arithmetic Without Algorithms: Language Models Solve Math with a Bag of Heuristics

Yaniv Nikankin, Anja Reusch, Aaron Mueller, Yonatan Belinkov

摘要

Do large language models (LLMs) solve reasoning tasks by learning robust generalizable algorithms, or do they memorize training data? To investigate this question, we use arithmetic reasoning as a representative task. Using causal analysis, we identify a subset of the model (a circuit) that explains most of the model's behavior for basic arithmetic logic and examine its functionality. By zooming in on the level of individual circuit neurons, we discover a sparse set of important neurons that implement simple heuristics. Each heuristic identifies a numerical input pattern and outputs corresponding answers. We hypothesize that the combination of these heuristic neurons is the mechanism used to produce correct arithmetic answers. To test this, we categorize each neuron into several heuristic types-such as neurons that activate when an operand falls within a certain range-and find that the unordered combination of these heuristic types is the mechanism that explains most of the model's accuracy on arithmetic prompts. Finally, we demonstrate that this mechanism appears as the main source of arithmetic accuracy early in training. Overall, our experimental results across several LLMs show that LLMs perform arithmetic using neither robust algorithms nor memorization; rather, they rely on a "bag of heuristics". 1

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 42 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Towards Understanding the Nature of Attention with Low-Rank Sparse Decomposition 引用了 Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
  • Towards Understanding the Nature of Attention with Low-Rank Sparse Decomposition 引用了 How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model
  • Same Task, Different Circuits: Disentangling Modality-Specific Mechanisms in VLMs 引用了 Investigating Gender Bias in Language Models Using Causal Mediation Analysis
  • Same Task, Different Circuits: Disentangling Modality-Specific Mechanisms in VLMs 引用了 Pay Attention to MLPs
  • Finite State Automata Inside Transformers with Chain-of-Thought: A Mechanistic Study on State Tracking 引用了 Investigating Gender Bias in Language Models Using Causal Mediation Analysis
  • Mechanistic Detection and Mitigation of Hallucination in Large Reasoning Models 引用了 How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model
  • How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model 引用了 Investigating Gender Bias in Language Models Using Causal Mediation Analysis
  • How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model 引用了 Causal Abstractions of Neural Networks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper42

  1. Same Task, Different Circuits: Disentangling Modality-Specific Mechanisms in VLMsYaniv Nikankin, Dana Arad, Yossi Gandelsman, Yonatan BelinkovNeurIPS 2025 · 37 次引用
  2. Mechanistic Detection and Mitigation of Hallucination in Large Reasoning ModelsZhongxiang Sun, Qipeng Wang, Haoyu Wang, Xiao Zhang 等ICLR 2026 · 30 次引用
  3. The Serial Scaling HypothesisYuxi Liu, Konpat Preechakul, Kananart Kuwaranancharoen, Yutong BaiICLR 2026 · 12 次引用
  4. Towards Understanding the Nature of Attention with Low-Rank Sparse DecompositionZhengfu He, Junxuan Wang, Rui Lin, Xuyang Ge 等ICLR 2026 · 11 次引用
  5. Finite State Automata Inside Transformers with Chain-of-Thought: A Mechanistic Study on State TrackingYifan Zhang, Wenyu Du, Dongming Jin, Jie Fu 等ACL 2025 · 11 次引用

它引用的 Paper23

  1. Pythia: A Suite for Analyzing Large Language Models Across Training and ScalingStella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley 等ICML 2023 · 1,822 次引用
  2. Pay Attention to MLPsHanxiao Liu, Zihang Dai, David R. So, Quoc V. LeNeurIPS 2021 · 912 次引用
  3. Investigating Gender Bias in Language Models Using Causal Mediation AnalysisJesse Vig, Sebastian Gehrmann, Yonatan Belinkov, Sharon Qian 等NeurIPS 2020 · 851 次引用
  4. Causal Abstractions of Neural NetworksAtticus Geiger, Hanson Lu, Thomas Icard, Christopher PottsNeurIPS 2021 · 516 次引用
  5. How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelMichael Hanna, Ollie Liu, Alexandre VariengienNeurIPS 2023 · 251 次引用

相关 Paper

  1. Interpreting Arithmetic Reasoning in Large Language Models using Game-Theoretic InteractionsLeilei Wen, Liwei Zheng, Hongda Li, Lijun Sun 等NeurIPS 2025 · 1 次引用
  2. Interpreting and Improving Large Language Models in Arithmetic CalculationWei Zhang, Chaoqun Wan, Yonggang Zhang, Yiu-ming Cheung 等ICML 2024 · 47 次引用
  3. A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation AnalysisAlessandro Stolfo, Yonatan Belinkov, Mrinmaya SachanEMNLP 2023 · 11 次引用
  4. Do Large Language Models Truly Grasp Addition? A Rule-Focused Diagnostic Using Two-Integer ArithmeticYang Yan, Yu Lu, Renjun Xu, Zhenzhong LanEMNLP 2025 · 1 次引用
  5. The Reasoning-Memorization Interplay in Language Models Is Mediated by a Single DirectionYihuai Hong, Meng Cao, Dian Zhou, Lei Yu 等ACL Findings 2025
黄昏的海面,两侧是细线勾勒的悬崖