mlsanityData to 7 Oct 2026

What needs to go right for an induction head? A mechanistic study of in-context learning circuits and their formation

arXiv 2404.07129 ↗First posted 10 Apr 2024cs.LGcited by 86

Not on the map. Why?

Abstract (arXiv)

In-context learning is a powerful emergent ability in transformer models. Prior work in mechanistic interpretability has identified a circuit element that may be critical for in-context learning -- the induction head (IH), which performs a match-and-copy operation. During training of large transformers on natural language data, IHs emerge around the same time as a notable phase change in the loss. Despite the robust evidence for IHs and this interesting coincidence with the phase change, relatively little is known about the diversity and emergence dynamics of IHs. Why is there more than one IH, and how are they dependent on each other? Why do IHs appear all of a sudden, and what are the subcircuits that enable them to emerge? We answer these questions by studying IH emergence dynamics in a controlled setting by training on synthetic data. In doing so, we develop and share a novel optogenetics-inspired causal framework for modifying activations throughout training. Using this framework, we delineate the diverse and additive nature of IHs. By clamping subsets of activations throughout training, we then identify three underlying subcircuits that interact to drive IH formation, yielding the phase change. Furthermore, these subcircuits shed light on data-dependent properties of formation, such as phase change timing, already showing the promise of this more in-depth understanding of subcircuits that need to "go right" for an induction head.

Key facts. Cited by 86 papers in the map (data through 7 Oct 2026). First posted on arXiv 10 Apr 2024.

Builds on

0 of 0 references.

No references here yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 19; 2025: 33; 2026: 34.

86 papers.

Sort:

By area:

  1. 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
  2. 2024Attention Heads of Large Language Models: A Surveycited by 65
  3. 2024LLM Circuit Analyses Are Consistent Across Training and Scalecited by 60
  4. 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 44
  5. 2024Talking Heads: Understanding Inter-layer Communication in Transformer Language Modelscited by 39
  6. 2024Out-of-distribution generalization via composition: a lens through induction heads in Transformerscited by 28
  7. 2024The Same But Different: Structural Similarities and Differences in Multilingual Language Modelingcited by 27
  8. 2025The emergence of sparse attention: impact of data distribution and benefits of repetitioncited by 25
  9. 2024Can In-context Learning Really Generalize to Out-of-distribution Tasks?cited by 23
  10. 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Modelscited by 22
  11. 2024Optimal ablation for interpretabilitycited by 21
  12. 2024Toward Understanding In-context vs. In-weight Learningcited by 19
38 more
  1. 2025Make LVLMs Focus: Context-Aware Attention Modulation for Better Multimodal In-Context Learningcited by 18
  2. 2024Efficiently Democratizing Medical LLMs for 50 Languages via a Mixture of Language Family Expertscited by 17
  3. 2025Strategy Coopetition Explains the Emergence and Transience of In-Context Learningcited by 17
  4. 2024Revisiting In-context Learning Inference Circuit in Large Language Modelscited by 16
  5. 2024Linking In-context Learning in Transformers to Human Episodic Memorycited by 15
  6. 2024Does learning the right latent variables necessarily improve in-context learning?cited by 12
  7. 2025Transformer Dynamics: A neuroscientific approach to interpretability of large language modelscited by 11
  8. 2025Beyond Induction Heads: In-Context Meta Learning Induces Multi-Phase Circuit Emergencecited by 10
  9. 2025Unifying Attention Heads and Task Vectors via Hidden State Geometry in In-Context Learningcited by 10
  10. 2026Mechanistic Data Attribution: Tracing the Training Origins of Interpretable LLM Unitscited by 10
  11. 2025Understanding In-context Learning of Addition via Activation Subspacescited by 8
  12. 2025Mechanistic evaluation of Transformers and state space modelscited by 8
  13. 2026Why Larger Models Learn More: Effects of Capacity, Interference, and Rare-Task Retentioncited by 8
  14. 2024Survival of the Fittest Representation: A Case Study with Modular Additioncited by 7
  15. 2024ELICIT: LLM Augmentation via External In-Context Capabilitycited by 7
  16. 2025Interpreting Attention Heads for Image-to-Text Information Flow in Large Vision-Language Modelscited by 7
  17. 2024Transformer Normalisation Layers and the Independence of Semantic Subspacescited by 6
  18. 2025Born a Transformer -- Always a Transformer? On the Effect of Pretraining on Architectural Abilitiescited by 6
  19. 2026Context Structure Reshapes the Representational Geometry of Language Modelscited by 6
  20. 2024Task Diversity Shortens the ICL Plateaucited by 5
  21. 2025Tests as Prompt: A Test-Driven-Development Benchmark for LLM Code Generationcited by 5
  22. 2025Distinct Computations Emerge From Compositional Curricula in In-Context Learningcited by 5
  23. 2025What Happens During the Loss Plateau? Understanding Abrupt Learning in Transformerscited by 5
  24. 2025Predicting the Emergence of Induction Heads in Language Model Pretrainingcited by 5
  25. 2026Measuring Affinity between Attention-Head Weight Subspaces via the Projection Kernelcited by 5
  26. 2026Dissecting Multimodal In-Context Learning: Modality Asymmetries and Circuit Dynamics in modern Transformerscited by 5
  27. 2025Unlocking In-Context Learning for Natural Datasets Beyond Language Modellingcited by 4
  28. 2025Emergence of Episodic Memory in Transformers: Characterizing Changes in Temporal Structure of Attention Scores During Trainingcited by 4
  29. 2025Toward a Theory of Generalizability in LLM Mechanistic Interpretability Researchcited by 4
  30. 2025In-Context Algebracited by 4
  31. 2026From Density Matrices to Phase Transitions in Deep Learning: Spectral Early Warnings and Interpretabilitycited by 3
  32. 2026Revisiting Anisotropy in Language Transformers: The Geometry of Learning Dynamicscited by 3
  33. 2026Distinct mechanisms underlying in-context learning in transformerscited by 3
  34. 2025Steering Prepositional Phrases in Language Models: A Case of with-headed Adjectival and Adverbial Complements in Gemma-2cited by 2
  35. 2025Softmax ≥ Linear: Transformers may learn to classify in-context by kernel gradient descentcited by 2
  36. 2025Explainability of Large Language Models: Opportunities and Challenges toward Generating Trustworthy Explanationscited by 2
  37. 2026Understanding Contextual Recall in Transformers: How Finetuning Enables In-Context Reasoning over Pretraining Knowledgecited by 2
  38. 2026Large language models reorganize representational geometry during in-context learningcited by 2

50 most cited of 86 All 86 (JSON)