AI Paper Atlas

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

EMNLP 2023Large language models › Language, safety and interpretabilityapproach: Reasoning mechanisms and failure modes267 citations (OpenAlex)

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 changedWhereMeasuredEffect
fix the result across the two prompts (result-preserving interventions)last-token late MLPs (GPT-J) · two-operand arithmeticrelative importance (RI): 40.2% -> 4.4%Hurt
fix the result across the two promptslast-token late MLPs (Pythia 2.8B, LLaMA 7B, Goat) · two-operand arithmeticrelative 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 queriesPythia 2.8B · three-operand arithmeticaccuracy (%): 0.9 -> 39.7Improved
fine-tune Pythia 2.8B on three-operand querieslast-token late MLP site (Pythia 2.8B) · three-operand arithmeticrelative importance (RI): 13.5% -> 24.7%Improved
switch from arithmetic to number retrieval tasklast-token late MLPs (GPT-J) · number retrievalrelative importance (RI): 40.2% -> 8.7%Hurt
switch from arithmetic to factual (LAMA) querieslast-token late MLPs (GPT-J) · LAMA factual queriesrelative importance (RI): 40.2% -> 4.2%Hurt
represent numbers as words instead of Arabic numeralslast-token late MLPs (GPT-J) · two-operand arithmeticrelative 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 overlapoverlap ratio: 50%Improved
compare top-400 neurons between arithmetic and number retrievalGPT-J MLP neurons · neuron overlapoverlap ratio: 22% and 23%Mixed
compare top-400 neurons between arithmetic and factual queriesGPT-J MLP neurons · neuron overlapoverlap ratio: 9% to 10% vs 9.8% random expectationNo clear effect

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy