mlsanityData to 14 Oct 2026

On the Emergence of Induction Heads for In-Context Learning

arXiv 2511.01033 ↗First posted 2 Nov 2025cs.AI cs.CLcited by 5

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  4. 2017Towards A Rigorous Science of Interpretable Machine Learningcited by 1,416
  5. 2022In-context Learning and Induction Headscited by 964
  6. 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
  7. 2022Transformers learn in-context by gradient descentcited by 732
  8. 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 422
  9. 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 309
  10. 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 279
  11. 2023Birth of a Transformer: A Memory Viewpointcited by 161
  12. 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 156
16 more
  1. 2023The mechanistic basis of data dependence and abrupt learning in an in-context classification taskcited by 118
  2. 2024The Evolution of Statistical Induction Heads: In-Context Learning Markov Chainscited by 118
  3. 2024How Transformers Learn Causal Structure with Gradient Descentcited by 118
  4. 2023Grokking modular arithmeticcited by 83
  5. 2023Physics of Language Models: Part 1, Learning Hierarchical Language Structurescited by 83
  6. 2024Asymptotic theory of in-context learning by linear attentioncited by 55
  7. 2024Understanding Factual Recall in Transformers via Associative Memoriescited by 51
  8. 2024Unveiling Induction Heads: Provable Training Dynamics and Feature Learning in Transformerscited by 50
  9. 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 46
  10. 2023Learning Transformer Programscited by 41
  11. 2024Learning to grok: Emergence of in-context learning and skill composition in modular arithmetic taskscited by 40
  12. 2024One-layer transformers fail to solve the induction heads taskcited by 32
  13. 2024Iteration Head: A Mechanistic Study of Chain-of-Thoughtcited by 31
  14. 2024Distributional Associations vs In-Context Reasoning: A Study of Feed-forward and Attention Layerscited by 12
  15. 2024Mechanism and Emergence of Stacked Attention Heads in Multi-Layer Transformerscited by 7
  16. 2023Abrupt and spontaneous strategy switches emerge in simple regularised neural networkscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 5.

5 papers.