The mechanistic basis of data dependence and abrupt learning in an in-context classification task
Not on the map. Why?
Abstract (arXiv)
Transformer models exhibit in-context learning: the ability to accurately predict the response to a novel query based on illustrative examples in the input sequence. In-context learning contrasts with traditional in-weights learning of query-output relationships. What aspects of the training data distribution and architecture favor in-context vs in-weights learning? Recent work has shown that specific distributional properties inherent in language, such as burstiness, large dictionaries and skewed rank-frequency distributions, control the trade-off or simultaneous appearance of these two forms of learning. We first show that these results are recapitulated in a minimal attention-only network trained on a simplified dataset. In-context learning (ICL) is driven by the abrupt emergence of an induction head, which subsequently competes with in-weights learning. By identifying progress measures that precede in-context learning and targeted experiments, we construct a two-parameter model of an induction head which emulates the full data distributional dependencies displayed by the attention-based network. A phenomenological model of induction head formation traces its abrupt emergence to the sequential learning of three nested logits enabled by an intrinsic curriculum. We propose that the sharp transitions in attention-based networks arise due to a specific chain of multi-layer operations necessary to achieve ICL, which is implemented by nested nonlinearities sequentially learned during training.
Key facts. Cited by 115 papers in the map (data through 7 Oct 2026). Builds on 18 of its 24 references that are in the map. First posted on arXiv 3 Dec 2023.
Builds on
18 of 24 references.
References · 18
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2022Transformers learn in-context by gradient descentcited by 714
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
- 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 291
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
- 2016Using the Output Embedding to Improve Language Modelscited by 266
- 2023Human-Timescale Adaptation in an Open-Ended Task Spacecited by 136
6 more
- 2023Are Emergent Abilities in Large Language Models just In-Context Learning?cited by 109
- 2022General-Purpose In-Context Learning by Meta-Learning Transformerscited by 102
- 2016Tying Word Vectors and Word Classifiers: A Loss Framework for Language Modelingcited by 87
- 2023In-Context Learning through the Bayesian Prismcited by 78
- 2023The Transient Nature of Emergent In-Context Learning in Transformerscited by 72
- 2019The Omniglot challenge: a 3-year progress reportcited by 54
Built on by
Citing papers per year: 2024: 43; 2025: 40; 2026: 32.
115 papers.
Sort:
By area:
- 2024The Evolution of Statistical Induction Heads: In-Context Learning Markov Chainscited by 115
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 113
- 2024Attention Heads of Large Language Models: A Surveycited by 65
- 2025On the Emergence of Position Bias in Transformerscited by 57
- 2024Asymptotic theory of in-context learning by linear attentioncited by 54
- 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMscited by 54
- 2024Is Mamba Capable of In-Context Learning?cited by 45
- 2024Why Larger Language Models Do In-context Learning Differently?cited by 44
- 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 44
- 2024Talking Heads: Understanding Inter-layer Communication in Transformer Language Modelscited by 39
- 2025Language Models Are Capable of Metacognitive Monitoring and Control of Their Internal Activationscited by 37
- 2025How do language models learn facts? Dynamics, curricula and hallucinationscited by 33
38 more
- 2024Iteration Head: A Mechanistic Study of Chain-of-Thoughtcited by 31
- 2024A phase transition between positional and semantic learning in a solvable model of dot-product attentioncited by 30
- 2024Interpreting Key Mechanisms of Factual Recall in Transformer-Based Language Modelscited by 30
- 2025Pixels Versus Priors: Controlling Knowledge Priors in Vision-Language Models through Visual Counterfactscited by 30
- 2024Out-of-distribution generalization via composition: a lens through induction heads in Transformerscited by 28
- 2024A Percolation Model of Emergence: Analyzing Transformers Trained on a Formal Languagecited by 26
- 2025The emergence of sparse attention: impact of data distribution and benefits of repetitioncited by 25
- 2025Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation Steeringcited by 24
- 2024Attention Prompting on Image for Large Vision-Language Modelscited by 23
- 2024Bypassing the Exponential Dependency: Looped Transformers Efficiently Learn In-context by Multi-step Gradient Descentcited by 21
- 2026There Will Be a Scientific Theory of Deep Learningcited by 21
- 2024Deeper Insights Without Updates: The Power of In-Context Learning Over Fine-Tuningcited by 20
- 2025How Do LLMs Perform Two-Hop Reasoning in Context?cited by 20
- 2024Toward Understanding In-context vs. In-weight Learningcited by 19
- 2024Differential learning kinetics govern the transition from memorization to generalization during in-context learningcited by 19
- 2025Strategy Coopetition Explains the Emergence and Transience of In-Context Learningcited by 17
- 2024Revisiting In-context Learning Inference Circuit in Large Language Modelscited by 16
- 2024On Catastrophic Inheritance of Large Foundation Modelscited by 15
- 2024Linking In-context Learning in Transformers to Human Episodic Memorycited by 15
- 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanismcited by 15
- 2024Dual Process Learning: Controlling Use of In-Context vs. In-Weights Strategies with Weight Forgettingcited by 15
- 2025Context parroting: A simple but tough-to-beat baseline for foundation models in scientific machine learningcited by 14
- 2024Everything Everywhere All at Once: LLMs can In-Context Learn Multiple Tasks in Superpositioncited by 13
- 2024A Survey to Recent Progress Towards Understanding In-Context Learningcited by 12
- 2024MLPs Learn In-Context on Regression and Classification Taskscited by 12
- 2024Anchor function: a type of benchmark functions for studying language modelscited by 10
- 2025Through the Magnifying Glass: Adaptive Perception Magnification for Hallucination-Free VLM Decodingcited by 10
- 2025Beyond Induction Heads: In-Context Meta Learning Induces Multi-Phase Circuit Emergencecited by 10
- 2025Unifying Attention Heads and Task Vectors via Hidden State Geometry in In-Context Learningcited by 10
- 2024Dissecting the Interplay of Attention Paths in a Statistical Mechanics Theory of Transformerscited by 9
- 2024Unraveling the Mechanics of Learning-Based Demonstration Selection for In-Context Learningcited by 9
- 2025From Condensation to Rank Collapse: A Two-Stage Analysis of Transformer Training Dynamicscited by 9
- 2025Understanding In-context Learning of Addition via Activation Subspacescited by 8
- 2025Mechanistic evaluation of Transformers and state space modelscited by 8
- 2025Thinking Sparks!: Emergent Attention Heads in Reasoning Models During Post Trainingcited by 8
- 2024IM-Context: In-Context Learning for Imbalanced Regression Taskscited by 7
- 2024How Transformers Get Rich: Approximation and Dynamics Analysiscited by 7
- 2024Mechanism and Emergence of Stacked Attention Heads in Multi-Layer Transformerscited by 7
50 most cited of 115 All 115 (JSON)
- 2026Why Do Conventional World Models Fail to Learn Cellular Automata?30 Sep 2026
- 2026On the Importance of Gating: Memorization vs. In-Context Learning in State Space Models15 Sep 2026
- 2026Convergent Emergence of In-Context Learning Across Modalities12 Sep 2026
- 2026Gradland: On Phenomenal Experience, Differentiated Across Many Dimensions8 Sep 2026
- 2026Shortcut Before Circuit: Document Statistics Time In-Context Conflict Resolution25 Aug 2026
- 2026Understanding the Surprising Generalization Properties of Tabular Foundation Models18 Aug 2026
- 2026The Kinetics of Training: A Driven-Nucleation Rate Law for Emergence, Plasticity Loss, and Circuit Control in Language Models29 Jul 2026
- 2026Invariant Learning Dynamics of Transformers in Inductive Reasoning Tasks13 Jul 2026
- 2026How Data Shapes RoPE Frequency Usage: From Positional Scale Matching to Length Generalization8 Jul 2026
- 2026Fingerprint, Not Blueprint: How Positional Schemes Set the Default Spectral Algebra of Attention7 Jul 2026
- 2026Pretraining Curricula Enable Selective Fine-tuning6 Jul 2026
- 2026Sequential Correlations Change In-Context Learning: Effective Context Length and Architectural Mismatch4 Jul 2026
38 more
- 2026Privacy Vulnerabilities of Attention Layers in Tabular Foundation Models and Protection of High-Risk Queries24 Jun 2026
- 2026When Does Depth Matter For In-Context Learning? Adaptive Inference in Deep Transformers15 Jun 2026
- 2026Assign and Add: A Mechanistic Study of Compositional Arithmetic29 May 2026
- 2026The Stability of Singular Distribution: A Spectral Perspective on the Two-Phase Dynamics of Language Model Pre-training26 May 2026
- 2026Mechanisms of Misgeneralization in Physical Sequence Modeling19 May 2026
- 2026Emergence of Frontier Superposition: M"obius attractor and Cascade Supervision12 May 2026
- 2026In-Context Fixation: When Demonstrated Labels Override Semantics in Few-Shot Classification8 May 2026
- 2026Fine-tuning vs. In-context Learning in Large Language Models: A Formal Language Learning Perspective25 Apr 2026
- 2026There Will Be a Scientific Theory of Deep Learning23 Apr 2026
- 2026To See the Unseen: on the Generalization Ability of Transformers in Symbolic Reasoning23 Apr 2026
- 2026Distinct mechanisms underlying in-context learning in transformers14 Apr 2026
- 2026Symmetry Reveals Layerwise Dynamics: How Transformers Perform In-Context Classification13 Apr 2026
- 2026Understanding Emergent Misalignment via Feature Superposition Geometry7 Apr 2026
- 2026Reconciling In-Context and In-Weight Learning via Dual Representation Space Encoding13 Mar 2026
- 2026Incremental Learning of Sparse Attention Patterns in Transformers22 Feb 2026
- 2026Transformers for dynamical systems learn transfer operators in-context21 Feb 2026
- 2026Gaussian Match-and-Copy: A Minimalist Benchmark for Studying Transformer Induction7 Feb 2026
- 2026Convergent World Representations and Divergent Tasks31 Jan 2026
- 2026Dissecting Multimodal In-Context Learning: Modality Asymmetries and Circuit Dynamics in modern Transformers28 Jan 2026
- 2026Jacobian Scopes: token-level causal attributions in LLMs23 Jan 2026
- 2025From Shortcut to Induction Head: How Data Diversity Shapes Algorithm Selection in Transformers21 Dec 2025
- 2025Understanding the Staged Dynamics of Transformers in Learning Latent Structure24 Nov 2025
- 2025Predicting the Emergence of Induction Heads in Language Model Pretraining21 Nov 2025
- 2025Genomic Next-Token Predictors are In-Context Learners16 Nov 2025
- 2025In-Context Learning Without Copying7 Nov 2025
- 2025On the Emergence of Induction Heads for In-Context Learning2 Nov 2025
- 2025Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation Steering1 Nov 2025
- 2025Softmax ≥ Linear: Transformers may learn to classify in-context by kernel gradient descent12 Oct 2025
- 2025From Condensation to Rank Collapse: A Two-Stage Analysis of Transformer Training Dynamics8 Oct 2025
- 2025How Can Mamba Learn In Context with Outliers and Generalize Provably?1 Oct 2025
- 2025Pretrain-Test Task Alignment Governs Generalization in In-Context Learning30 Sep 2025
- 2025Thinking Sparks!: Emergent Attention Heads in Reasoning Models During Post Training30 Sep 2025
- 2025LayerNorm Induces Recency Bias in Transformer Decoders25 Sep 2025
- 2025Medverse: A Universal Model for Full-Resolution 3D Medical Image Segmentation, Transformation and Enhancement11 Sep 2025
- 2025Decomposing Prediction Mechanisms for In-Context Recall2 Jul 2025
- 2025What Happens During the Loss Plateau? Understanding Abrupt Learning in Transformers16 Jun 2025
- 2025Relational reasoning and inductive bias in transformers and large language models4 Jun 2025
- 2025Who Reasons in the Large Language Models?27 May 2025
50 newest of 115 All 115 (JSON)
- 2024Iteration Head: A Mechanistic Study of Chain-of-Thoughtcited by 31
- 2025How Do LLMs Perform Two-Hop Reasoning in Context?cited by 20
- 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanismcited by 15
- 2025Thinking Sparks!: Emergent Attention Heads in Reasoning Models During Post Trainingcited by 8
- 2025Who Reasons in the Large Language Models?cited by 5
- 2025Relational reasoning and inductive bias in transformers and large language modelscited by 1
- 2026Invariant Learning Dynamics of Transformers in Inductive Reasoning Taskscited by 1
- 2026To See the Unseen: on the Generalization Ability of Transformers in Symbolic Reasoningcited by 0
- 2026Emergence of Frontier Superposition: M"obius attractor and Cascade Supervisioncited by 0
- 2026Invariant Learning Dynamics of Transformers in Inductive Reasoning Tasks13 Jul 2026
- 2026Emergence of Frontier Superposition: M"obius attractor and Cascade Supervision12 May 2026
- 2026To See the Unseen: on the Generalization Ability of Transformers in Symbolic Reasoning23 Apr 2026
- 2025Thinking Sparks!: Emergent Attention Heads in Reasoning Models During Post Training30 Sep 2025
- 2025Relational reasoning and inductive bias in transformers and large language models4 Jun 2025
- 2025Who Reasons in the Large Language Models?27 May 2025
- 2025How Do LLMs Perform Two-Hop Reasoning in Context?19 Feb 2025
- 2024Iteration Head: A Mechanistic Study of Chain-of-Thought4 Jun 2024
- 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanism24 May 2024
- 2025Pixels Versus Priors: Controlling Knowledge Priors in Vision-Language Models through Visual Counterfactscited by 30
- 2024Attention Prompting on Image for Large Vision-Language Modelscited by 23
- 2025Through the Magnifying Glass: Adaptive Perception Magnification for Hallucination-Free VLM Decodingcited by 10
- 2026Dissecting Multimodal In-Context Learning: Modality Asymmetries and Circuit Dynamics in modern Transformerscited by 5
- 2026Dissecting Multimodal In-Context Learning: Modality Asymmetries and Circuit Dynamics in modern Transformers28 Jan 2026
- 2025Pixels Versus Priors: Controlling Knowledge Priors in Vision-Language Models through Visual Counterfacts21 May 2025
- 2025Through the Magnifying Glass: Adaptive Perception Magnification for Hallucination-Free VLM Decoding13 Mar 2025
- 2024Attention Prompting on Image for Large Vision-Language Models25 Sep 2024
- 2024Is Mamba Capable of In-Context Learning?cited by 45
- 2025Mechanistic evaluation of Transformers and state space modelscited by 8
- 2025How Can Mamba Learn In Context with Outliers and Generalize Provably?cited by 2
- 2025How Can Mamba Learn In Context with Outliers and Generalize Provably?1 Oct 2025
- 2025Mechanistic evaluation of Transformers and state space models21 May 2025
- 2024Is Mamba Capable of In-Context Learning?5 Feb 2024
- 2024The Evolution of Statistical Induction Heads: In-Context Learning Markov Chainscited by 115
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 113
- 2024Attention Heads of Large Language Models: A Surveycited by 65
- 2025On the Emergence of Position Bias in Transformerscited by 57
- 2024Asymptotic theory of in-context learning by linear attentioncited by 54
- 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMscited by 54
- 2024Why Larger Language Models Do In-context Learning Differently?cited by 44
- 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 44
- 2024Talking Heads: Understanding Inter-layer Communication in Transformer Language Modelscited by 39
- 2025Language Models Are Capable of Metacognitive Monitoring and Control of Their Internal Activationscited by 37
- 2025How do language models learn facts? Dynamics, curricula and hallucinationscited by 33
- 2024A phase transition between positional and semantic learning in a solvable model of dot-product attentioncited by 30
12 most cited of 96 All 96 (JSON)
- 2026On the Importance of Gating: Memorization vs. In-Context Learning in State Space Models15 Sep 2026
- 2026Convergent Emergence of In-Context Learning Across Modalities12 Sep 2026
- 2026Gradland: On Phenomenal Experience, Differentiated Across Many Dimensions8 Sep 2026
- 2026Shortcut Before Circuit: Document Statistics Time In-Context Conflict Resolution25 Aug 2026
- 2026Understanding the Surprising Generalization Properties of Tabular Foundation Models18 Aug 2026
- 2026The Kinetics of Training: A Driven-Nucleation Rate Law for Emergence, Plasticity Loss, and Circuit Control in Language Models29 Jul 2026
- 2026How Data Shapes RoPE Frequency Usage: From Positional Scale Matching to Length Generalization8 Jul 2026
- 2026Fingerprint, Not Blueprint: How Positional Schemes Set the Default Spectral Algebra of Attention7 Jul 2026
- 2026Pretraining Curricula Enable Selective Fine-tuning6 Jul 2026
- 2026Sequential Correlations Change In-Context Learning: Effective Context Length and Architectural Mismatch4 Jul 2026
- 2026When Does Depth Matter For In-Context Learning? Adaptive Inference in Deep Transformers15 Jun 2026
- 2026Assign and Add: A Mechanistic Study of Compositional Arithmetic29 May 2026
12 newest of 96 All 96 (JSON)