Research map / Large language models / Language, safety and interpretability
A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysis
Alessandro Stolfo, Yonatan Belinkov, Mrinmaya Sachan
ETH Zurich · Technion — IIT
Read the paperPlace an idea next to itCheck your own paper ↗
10measured effects
3improved
2no clear effect
4hurt
1mixed
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| fix the result across the two prompts (result-preserving interventions) | last-token late MLPs (GPT-J) · two-operand arithmetic | relative importance (RI): 40.2% -> 4.4% | Hurt |
| fix the result across the two prompts | last-token late MLPs (Pythia 2.8B, LLaMA 7B, Goat) · two-operand arithmetic | relative importance (RI): 43.2% -> 5.8% (Pythia); 36.1% -> 7.5% (LLaMA); 33.5% -> 7.4% (Goat) | Hurt |
| fine-tune Pythia 2.8B on three-operand queries | Pythia 2.8B · three-operand arithmetic | accuracy (%): 0.9 -> 39.7 | Improved |
| fine-tune Pythia 2.8B on three-operand queries | last-token late MLP site (Pythia 2.8B) · three-operand arithmetic | relative importance (RI): 13.5% -> 24.7% | Improved |
| switch from arithmetic to number retrieval task | last-token late MLPs (GPT-J) · number retrieval | relative importance (RI): 40.2% -> 8.7% | Hurt |
| switch from arithmetic to factual (LAMA) queries | last-token late MLPs (GPT-J) · LAMA factual queries | relative importance (RI): 40.2% -> 4.2% | Hurt |
| represent numbers as words instead of Arabic numerals | last-token late MLPs (GPT-J) · two-operand arithmetic | relative importance (RI): 40.2% -> 27.8% | No clear effect |
| compare top-400 neurons at layer 19 between arithmetic (Arabic vs words) | GPT-J MLP neurons · neuron overlap | overlap ratio: 50% | Improved |
| compare top-400 neurons between arithmetic and number retrieval | GPT-J MLP neurons · neuron overlap | overlap ratio: 22% and 23% | Mixed |
| compare top-400 neurons between arithmetic and factual queries | GPT-J MLP neurons · neuron overlap | overlap ratio: 9% to 10% vs 9.8% random expectation | No clear effect |
Closest papers by meaning
- Interpreting and Improving Large Language Models in Arithmetic Calculation (ICML 2024 · similarity 0.92)
- Arithmetic Without Algorithms: Language Models Solve Math with a Bag of Heuristics (ICLR 2025 · similarity 0.90)
- Frugal LMs Trained to Invoke Symbolic Solvers Achieve Parameter-Efficient Arithmetic Reasoning (AAAI 2024 · similarity 0.90)
- A Careful Examination of Large Language Model Performance on Grade School Arithmetic (NeurIPS 2024 · similarity 0.89)
- Evaluating Mathematical Reasoning Beyond Accuracy (AAAI 2025 · similarity 0.89)
- Physics of Language Models: Part 2.1, Grade-School Math and the Hidden Reasoning Process (ICLR 2025 · similarity 0.89)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
