On the Emergence of Induction Heads for In-Context Learning
Not on the map. Why?
Abstract (arXiv)
Transformers have become the dominant architecture for natural language processing. Part of their success is owed to a remarkable capability known as in-context learning (ICL): they can acquire and apply novel associations solely from their input context, without any updates to their weights. In this work, we study the emergence of induction heads, a previously identified mechanism in two-layer transformers that is particularly important for in-context learning. We uncover a relatively simple and interpretable structure of the weight matrices implementing the induction head. We theoretically explain the origin of this structure using a minimal ICL task formulation and a modified transformer architecture. We give a formal proof that the training dynamics remain constrained to a 19-dimensional subspace of the parameter space. Empirically, we validate this constraint while observing that only 3 dimensions account for the emergence of an induction head. By further studying the training dynamics inside this 3-dimensional subspace, we find that the time until the emergence of an induction head follows a tight asymptotic bound that is quadratic in the input context length.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 28 of its 42 references that are in the map. First posted on arXiv 2 Nov 2025.
Builds on
28 of 42 references.
References · 28
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2017Towards A Rigorous Science of Interpretable Machine Learningcited by 1,416
- 2022In-context Learning and Induction Headscited by 964
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
- 2022Transformers learn in-context by gradient descentcited by 732
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 422
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 309
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 279
- 2023Birth of a Transformer: A Memory Viewpointcited by 161
- 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 156
16 more
- 2023The mechanistic basis of data dependence and abrupt learning in an in-context classification taskcited by 118
- 2024The Evolution of Statistical Induction Heads: In-Context Learning Markov Chainscited by 118
- 2024How Transformers Learn Causal Structure with Gradient Descentcited by 118
- 2023Grokking modular arithmeticcited by 83
- 2023Physics of Language Models: Part 1, Learning Hierarchical Language Structurescited by 83
- 2024Asymptotic theory of in-context learning by linear attentioncited by 55
- 2024Understanding Factual Recall in Transformers via Associative Memoriescited by 51
- 2024Unveiling Induction Heads: Provable Training Dynamics and Feature Learning in Transformerscited by 50
- 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 46
- 2023Learning Transformer Programscited by 41
- 2024Learning to grok: Emergence of in-context learning and skill composition in modular arithmetic taskscited by 40
- 2024One-layer transformers fail to solve the induction heads taskcited by 32
- 2024Iteration Head: A Mechanistic Study of Chain-of-Thoughtcited by 31
- 2024Distributional Associations vs In-Context Reasoning: A Study of Feed-forward and Attention Layerscited by 12
- 2024Mechanism and Emergence of Stacked Attention Heads in Multi-Layer Transformerscited by 7
- 2023Abrupt and spontaneous strategy switches emerge in simple regularised neural networkscited by 2
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026Phase Transitions in Attention: A Bayesian Theory of Copy Head Emergencecited by 3
- 2026Invariant Learning Dynamics of Transformers in Inductive Reasoning Taskscited by 2
- 2026Gaussian Match-and-Copy: A Minimalist Benchmark for Studying Transformer Inductioncited by 0
- 2026The Token Before the Value Is the Key: How Hybrid Architectures Organize Induction Circuitscited by 0
- 2026Learning Decision-Stump Thresholds in Context: Dynamics of Softmax Attentioncited by 0
- 2026Learning Decision-Stump Thresholds in Context: Dynamics of Softmax Attention5 Oct 2026
- 2026The Token Before the Value Is the Key: How Hybrid Architectures Organize Induction Circuits14 Sep 2026
- 2026Invariant Learning Dynamics of Transformers in Inductive Reasoning Tasks13 Jul 2026
- 2026Phase Transitions in Attention: A Bayesian Theory of Copy Head Emergence10 Jun 2026
- 2026Gaussian Match-and-Copy: A Minimalist Benchmark for Studying Transformer Induction7 Feb 2026