Look Before You Leap: A Universal Emergent Decomposition of Retrieval Tasks in Language Models
Not on the map. Why?
Abstract (arXiv)
When solving challenging problems, language models (LMs) are able to identify relevant information from long and complicated contexts. To study how LMs solve retrieval tasks in diverse situations, we introduce ORION, a collection of structured retrieval tasks spanning six domains, from text understanding to coding. Each task in ORION can be represented abstractly by a request (e.g. a question) that retrieves an attribute (e.g. the character name) from a context (e.g. a story). We apply causal analysis on 18 open-source language models with sizes ranging from 125 million to 70 billion parameters. We find that LMs internally decompose retrieval tasks in a modular way: middle layers at the last token position process the request, while late layers retrieve the correct entity from the context. After causally enforcing this decomposition, models are still able to solve the original task, preserving 70% of the original correct token probability in 98 of the 106 studied model-task pairs. We connect our macroscopic decomposition with a microscopic description by performing a fine-grained case study of a question-answering task on Pythia-2.8b. Building on our high-level understanding, we demonstrate a proof of concept application for scalable internal oversight of LMs to mitigate prompt-injection while requiring human supervision on only a single input. Our solution improves accuracy drastically (from 15.5% to 97.5% on Pythia-12b). This work presents evidence of a universal emergent modular processing of tasks across varied domains and models and is a pioneering effort in applying interpretability for scalable internal oversight of LMs.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Builds on 25 of its 35 references that are in the map. First posted on arXiv 13 Dec 2023.
Builds on
25 of 35 references.
References · 25
- 2017Attention Is All You Needcited by 59,932
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2016Layer Normalizationcited by 5,579
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2020GLU Variants Improve Transformercited by 1,724
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
13 more
- 2022Discovering Language Model Behaviors with Model-Written Evaluationscited by 805
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 496
- 2021Causal Abstractions of Neural Networkscited by 401
- 2022The Alignment Problem from a Deep Learning Perspectivecited by 246
- 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 199
- 2023Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretabilitycited by 194
- 2023Localizing Model Behavior with Path Patchingcited by 182
- 2023Does Circuit Analysis Interpretability Scale? Evidence from Multiple Choice Capabilities in Chinchillacited by 145
- 2023The Hydra Effect: Emergent Self-repair in Language Model Computationscited by 145
- 2023Interpretability at Scale: Identifying Causal Mechanisms in Alpacacited by 102
- 2023Discovering Variable Binding Circuitry with Desideratacited by 32
Built on by
Citing papers per year: 2024: 9; 2025: 7; 2026: 1.
17 papers.
Sort:
By area:
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
- 2024Universal Neurons in GPT2 Language Modelscited by 100
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2024A Mechanistic Analysis of a Transformer Trained on a Symbolic Multi-Step Reasoning Taskcited by 49
- 2024Separating Tongue from Thought: Activation Patching Reveals Language-Agnostic Concept Representations in Transformerscited by 42
- 2024Hypothesis Testing the Circuit Hypothesis in LLMscited by 29
- 2024InterpBench: Semi-Synthetic Transformers for Evaluating Mechanistic Interpretability Techniquescited by 24
- 2025Localized Cultural Knowledge is Conserved and Controllable in Large Language Modelscited by 19
- 2025RomanLens: The Role Of Latent Romanization In Multilinguality In LLMscited by 11
- 2025Fundamental Limitations in Pointwise Defences of LLM Finetuning APIscited by 10
- 2024Understanding How CodeLLMs (Mis)Predict Types with Activation Steeringcited by 4
- 2025Steering LLMs for Formal Theorem Provingcited by 4
5 more
- 2024Memorization in Attention-only Transformerscited by 2
- 2026Function-Vector Heads Are Two Populations: Writers and Cancellers in In-Context Learningcited by 1
- 2025Time Course MechInterp: Analyzing the Evolution of Components and Knowledge in Large Language Modelscited by 0
- 2025Multimodal Function Vectors for Visual Relationscited by 0
- 2025Revisiting the Relation Between Robustness and Universalitycited by 0
- 2026Function-Vector Heads Are Two Populations: Writers and Cancellers in In-Context Learning25 May 2026
- 2025Revisiting the Relation Between Robustness and Universality22 Oct 2025
- 2025Multimodal Function Vectors for Visual Relations2 Oct 2025
- 2025Time Course MechInterp: Analyzing the Evolution of Components and Knowledge in Large Language Models3 Jun 2025
- 2025Localized Cultural Knowledge is Conserved and Controllable in Large Language Models14 Apr 2025
- 2025Steering LLMs for Formal Theorem Proving21 Feb 2025
- 2025Fundamental Limitations in Pointwise Defences of LLM Finetuning APIs20 Feb 2025
- 2025RomanLens: The Role Of Latent Romanization In Multilinguality In LLMs11 Feb 2025
- 2024Memorization in Attention-only Transformers15 Nov 2024
- 2024Separating Tongue from Thought: Activation Patching Reveals Language-Agnostic Concept Representations in Transformers13 Nov 2024
- 2024Hypothesis Testing the Circuit Hypothesis in LLMs16 Oct 2024
- 2024InterpBench: Semi-Synthetic Transformers for Evaluating Mechanistic Interpretability Techniques19 Jul 2024
5 more
- 2024A Primer on the Inner Workings of Transformer-based Language Models30 Apr 2024
- 2024Mechanistic Interpretability for AI Safety -- A Review22 Apr 2024
- 2024Understanding How CodeLLMs (Mis)Predict Types with Activation Steering2 Apr 2024
- 2024A Mechanistic Analysis of a Transformer Trained on a Symbolic Multi-Step Reasoning Task19 Feb 2024
- 2024Universal Neurons in GPT2 Language Models22 Jan 2024
- 2025Multimodal Function Vectors for Visual Relationscited by 0
- 2025Multimodal Function Vectors for Visual Relations2 Oct 2025
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
- 2024Universal Neurons in GPT2 Language Modelscited by 100
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2024A Mechanistic Analysis of a Transformer Trained on a Symbolic Multi-Step Reasoning Taskcited by 49
- 2024Hypothesis Testing the Circuit Hypothesis in LLMscited by 29
- 2024InterpBench: Semi-Synthetic Transformers for Evaluating Mechanistic Interpretability Techniquescited by 24
- 2025RomanLens: The Role Of Latent Romanization In Multilinguality In LLMscited by 11
- 2025Fundamental Limitations in Pointwise Defences of LLM Finetuning APIscited by 10
- 2024Understanding How CodeLLMs (Mis)Predict Types with Activation Steeringcited by 4
- 2025Steering LLMs for Formal Theorem Provingcited by 4
- 2024Memorization in Attention-only Transformerscited by 2
- 2026Function-Vector Heads Are Two Populations: Writers and Cancellers in In-Context Learningcited by 1
12 most cited of 14 All 14 (JSON)
- 2026Function-Vector Heads Are Two Populations: Writers and Cancellers in In-Context Learning25 May 2026
- 2025Revisiting the Relation Between Robustness and Universality22 Oct 2025
- 2025Time Course MechInterp: Analyzing the Evolution of Components and Knowledge in Large Language Models3 Jun 2025
- 2025Steering LLMs for Formal Theorem Proving21 Feb 2025
- 2025Fundamental Limitations in Pointwise Defences of LLM Finetuning APIs20 Feb 2025
- 2025RomanLens: The Role Of Latent Romanization In Multilinguality In LLMs11 Feb 2025
- 2024Memorization in Attention-only Transformers15 Nov 2024
- 2024Hypothesis Testing the Circuit Hypothesis in LLMs16 Oct 2024
- 2024InterpBench: Semi-Synthetic Transformers for Evaluating Mechanistic Interpretability Techniques19 Jul 2024
- 2024A Primer on the Inner Workings of Transformer-based Language Models30 Apr 2024
- 2024Mechanistic Interpretability for AI Safety -- A Review22 Apr 2024
- 2024Understanding How CodeLLMs (Mis)Predict Types with Activation Steering2 Apr 2024
12 newest of 14 All 14 (JSON)