The Transient Nature of Emergent In-Context Learning in Transformers
Not on the map. Why?
Abstract (arXiv)
Transformer neural networks can exhibit a surprising capacity for in-context learning (ICL) despite not being explicitly trained for it. Prior work has provided a deeper understanding of how ICL emerges in transformers, e.g. through the lens of mechanistic interpretability, Bayesian inference, or by examining the distributional properties of training data. However, in each of these cases, ICL is treated largely as a persistent phenomenon; namely, once ICL emerges, it is assumed to persist asymptotically. Here, we show that the emergence of ICL during transformer training is, in fact, often transient. We train transformers on synthetic data designed so that both ICL and in-weights learning (IWL) strategies can lead to correct predictions. We find that ICL first emerges, then disappears and gives way to IWL, all while the training loss decreases, indicating an asymptotic preference for IWL. The transient nature of ICL is observed in transformers across a range of model sizes and datasets, raising the question of how much to "overtrain" transformers when seeking compact, cheaper-to-run models. We find that L2 regularization may offer a path to more persistent ICL that removes the need for early stopping based on ICL-style validation tasks. Finally, we present initial evidence that ICL transience may be caused by competition between ICL and IWL circuits.
Key facts. Cited by 72 papers in the map (data through 7 Oct 2026). Builds on 31 of its 41 references that are in the map. First posted on arXiv 14 Nov 2023.
Builds on
31 of 41 references.
References · 31
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2016Matching Networks for One Shot Learningcited by 2,246
- 2017Decoupled Weight Decay Regularizationcited by 1,722
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
19 more
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2022In-context Learning and Induction Headscited by 930
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 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
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
- 2023Larger language models do in-context learning differentlycited by 386
- 2021True Few-Shot Learning with Language Modelscited by 343
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 286
- 2023Specializing Smaller Language Models towards Multi-Step Reasoningcited by 249
- 2023The Learnability of In-Context Learningcited by 126
- 2022Overcoming a Theoretical Limitation of Self-Attentioncited by 110
- 2022The Slingshot Mechanism: An Empirical Study of Adaptive Optimizers and the Grokking Phenomenoncited by 90
- 2020Meta-learning in natural and artificial intelligencecited by 39
- 2020Sparse and Continuous Attention Mechanismscited by 37
Built on by
Citing papers per year: 2023: 1; 2024: 23; 2025: 27; 2026: 21.
72 papers.
Sort:
By area:
- 2024Better & Faster Large Language Models via Multi-token Predictioncited by 344
- 2023The mechanistic basis of data dependence and abrupt learning in an in-context classification taskcited by 115
- 2024Asymptotic theory of in-context learning by linear attentioncited by 54
- 2024Is In-Context Learning in Large Language Models Bayesian? A Martingale Perspectivecited by 51
- 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 44
- 2025Emergent Abilities in Large Language Models: A Surveycited by 34
- 2024The broader spectrum of in-context learningcited by 33
- 2025How do language models learn facts? Dynamics, curricula and hallucinationscited by 33
- 2025Tracing the Representation Geometry of Language Models from Pretraining to Post-trainingcited by 33
- 2024A phase transition between positional and semantic learning in a solvable model of dot-product attentioncited by 30
- 2024Weight decay induces low-rank attention layerscited by 27
- 2025The emergence of sparse attention: impact of data distribution and benefits of repetitioncited by 25
38 more
- 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
- 2024Dual Process Learning: Controlling Use of In-Context vs. In-Weights Strategies with Weight Forgettingcited by 15
- 2024Geometric Signatures of Compositionality Across a Language Model's Lifetimecited by 14
- 2024What Do Language Models Learn in Context? The Structured Task Hypothesiscited by 13
- 2025When can in-context learning generalize out of task distribution?cited by 13
- 2024A Survey to Recent Progress Towards Understanding In-Context Learningcited by 12
- 2024REGENT: A Retrieval-Augmented Generalist Agent That Can Act In-Context in New Environmentscited by 12
- 2025Dynamics of Transient Structure in In-Context Linear Regression Transformerscited by 12
- 2024Enhancing Few-Shot Vision-Language Classification with Large Multimodal Model Featurescited by 11
- 2025Beyond Induction Heads: In-Context Meta Learning Induces Multi-Phase Circuit Emergencecited by 10
- 2025EvaLearn: Quantifying the Learning Capability and Efficiency of LLMs via Sequential Problem Solvingcited by 10
- 2026Why Larger Models Learn More: Effects of Capacity, Interference, and Rare-Task Retentioncited by 8
- 2024Transformer Normalisation Layers and the Independence of Semantic Subspacescited by 6
- 2024N-Gram Induction Heads for In-Context RL: Improving Stability and Reducing Data Needscited by 6
- 2025Understanding Prompt Tuning and In-Context Learning via Meta-Learningcited by 6
- 2025Pretrain-Test Task Alignment Governs Generalization in In-Context Learningcited by 6
- 2024Transformers for Supervised Online Continual Learningcited by 5
- 2025Distinct Computations Emerge From Compositional Curricula in In-Context Learningcited by 5
- 2026Dissecting Multimodal In-Context Learning: Modality Asymmetries and Circuit Dynamics in modern Transformerscited by 5
- 2025Unlocking In-Context Learning for Natural Datasets Beyond Language Modellingcited by 4
- 2025Towards Large-Scale In-Context Reinforcement Learning by Meta-Training in Randomized Worldscited by 4
- 2024From Unstructured Data to In-Context Learning: Exploring What Tasks Can Be Learned and Whencited by 3
- 2024Demystifying Spectral Bias on Real-World Datacited by 3
- 2025Context and Diversity Matter: The Emergence of In-Context Learning in World Modelscited by 3
- 2026Stagewise Reinforcement Learning and the Geometry of the Regret Landscapecited by 3
- 2026Distinct mechanisms underlying in-context learning in transformerscited by 3
- 2024Towards Better Understanding of In-Context Learning Ability from In-Context Uncertainty Quantificationcited by 2
- 2024In-context Learning in Presence of Spurious Correlationscited by 2
- 2025Illusion or Algorithm? Investigating Memorization, Emergence, and Symbolic Processing in In-Context Learningcited by 2
- 2025Softmax ≥ Linear: Transformers may learn to classify in-context by kernel gradient descentcited by 2
- 2026Understanding Contextual Recall in Transformers: How Finetuning Enables In-Context Reasoning over Pretraining Knowledgecited by 2
- 2026Position: Don't Just "Fix it in Post": A Science of AI Must Study Training Dynamicscited by 2
- 2025An evolutionary perspective on modes of learning in Transformerscited by 1
- 2025Relational reasoning and inductive bias in transformers and large language modelscited by 1
- 2025A Review of Developmental Interpretability in Large Language Modelscited by 1
50 most cited of 72 All 72 (JSON)
- 2026Shortcut Before Circuit: Document Statistics Time In-Context Conflict Resolution25 Aug 2026
- 2026TACTICL: Task-Aware Compression of Tabular ICL Models11 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
- 2026Pretraining Curricula Enable Selective Fine-tuning6 Jul 2026
- 2026Sequential Correlations Change In-Context Learning: Effective Context Length and Architectural Mismatch4 Jul 2026
- 2026Natural Ungrokking: Asymmetric Control of Which Rules Survive Pretraining24 Jun 2026
- 2026Position: Don't Just "Fix it in Post": A Science of AI Must Study Training Dynamics3 Jun 2026
- 2026Structure and Scale in Simplicial Sequence Modelling31 May 2026
- 2026Why Larger Models Learn More: Effects of Capacity, Interference, and Rare-Task Retention28 May 2026
- 2026Advancing Graph Few-Shot Learning via In-Context Learning23 May 2026
- 2026Temporal Task Diversity: Inductive Biases Under Non-Stationarity in Synthetic Sequence Modelling18 May 2026
38 more
- 2026To See the Unseen: on the Generalization Ability of Transformers in Symbolic Reasoning23 Apr 2026
- 2026Why Multimodal In-Context Learning Lags Behind? Unveiling the Inner Mechanisms and Bottlenecks15 Apr 2026
- 2026Distinct mechanisms underlying in-context learning in transformers14 Apr 2026
- 2026Temporal Dependencies in In-Context Learning: The Role of Induction Heads1 Apr 2026
- 2026Understanding Contextual Recall in Transformers: How Finetuning Enables In-Context Reasoning over Pretraining Knowledge21 Mar 2026
- 2026Reconciling In-Context and In-Weight Learning via Dual Representation Space Encoding13 Mar 2026
- 2026Gaussian Match-and-Copy: A Minimalist Benchmark for Studying Transformer Induction7 Feb 2026
- 2026Dissecting Multimodal In-Context Learning: Modality Asymmetries and Circuit Dynamics in modern Transformers28 Jan 2026
- 2026Stagewise Reinforcement Learning and the Geometry of the Regret Landscape12 Jan 2026
- 2025Understanding the Staged Dynamics of Transformers in Learning Latent Structure24 Nov 2025
- 2025Softmax ≥ Linear: Transformers may learn to classify in-context by kernel gradient descent12 Oct 2025
- 2025Pretrain-Test Task Alignment Governs Generalization in In-Context Learning30 Sep 2025
- 2025Tracing the Representation Geometry of Language Models from Pretraining to Post-training27 Sep 2025
- 2025Context and Diversity Matter: The Emergence of In-Context Learning in World Models26 Sep 2025
- 2025A circuit for predicting hierarchical structure in-context in Large Language Models25 Sep 2025
- 2025Optimal Dynamic Regret by Transformers for Non-Stationary Reinforcement Learning22 Aug 2025
- 2025A Review of Developmental Interpretability in Large Language Models19 Aug 2025
- 2025Meta-Learning Transformers to Improve In-Context Generalization7 Jul 2025
- 2025What Neuroscience Can Teach AI About Learning in Continuously Changing Environments2 Jul 2025
- 2025Distinct Computations Emerge From Compositional Curricula in In-Context Learning16 Jun 2025
- 2025When can in-context learning generalize out of task distribution?5 Jun 2025
- 2025Relational reasoning and inductive bias in transformers and large language models4 Jun 2025
- 2025EvaLearn: Quantifying the Learning Capability and Efficiency of LLMs via Sequential Problem Solving3 Jun 2025
- 2025The emergence of sparse attention: impact of data distribution and benefits of repetition23 May 2025
- 2025Understanding Prompt Tuning and In-Context Learning via Meta-Learning22 May 2025
- 2025Beyond Induction Heads: In-Context Meta Learning Induces Multi-Phase Circuit Emergence22 May 2025
- 2025Illusion or Algorithm? Investigating Memorization, Emergence, and Symbolic Processing in In-Context Learning16 May 2025
- 2025An evolutionary perspective on modes of learning in Transformers14 May 2025
- 2025In-Context Learning can distort the relationship between sequence likelihoods and biological fitness23 Apr 2025
- 2025How do language models learn facts? Dynamics, curricula and hallucinations27 Mar 2025
- 2025Strategy Coopetition Explains the Emergence and Transience of In-Context Learning7 Mar 2025
- 2025Emergent Abilities in Large Language Models: A Survey28 Feb 2025
- 2025Towards Large-Scale In-Context Reinforcement Learning by Meta-Training in Randomized Worlds5 Feb 2025
- 2025Dynamics of Transient Structure in In-Context Linear Regression Transformers29 Jan 2025
- 2025Training Dynamics of In-Context Learning in Linear Attention27 Jan 2025
- 2025Unlocking In-Context Learning for Natural Datasets Beyond Language Modelling9 Jan 2025
- 2024REGENT: A Retrieval-Augmented Generalist Agent That Can Act In-Context in New Environments6 Dec 2024
- 2024The broader spectrum of in-context learning5 Dec 2024
50 newest of 72 All 72 (JSON)
- 2026Understanding Contextual Recall in Transformers: How Finetuning Enables In-Context Reasoning over Pretraining Knowledgecited by 2
- 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
- 2026Invariant Learning Dynamics of Transformers in Inductive Reasoning Tasks13 Jul 2026
- 2026To See the Unseen: on the Generalization Ability of Transformers in Symbolic Reasoning23 Apr 2026
- 2026Understanding Contextual Recall in Transformers: How Finetuning Enables In-Context Reasoning over Pretraining Knowledge21 Mar 2026
- 2025Relational reasoning and inductive bias in transformers and large language models4 Jun 2025
- 2024Better & Faster Large Language Models via Multi-token Predictioncited by 344
- 2023The mechanistic basis of data dependence and abrupt learning in an in-context classification taskcited by 115
- 2024Asymptotic theory of in-context learning by linear attentioncited by 54
- 2024Is In-Context Learning in Large Language Models Bayesian? A Martingale Perspectivecited by 51
- 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 44
- 2025Emergent Abilities in Large Language Models: A Surveycited by 34
- 2024The broader spectrum of in-context learningcited by 33
- 2025How do language models learn facts? Dynamics, curricula and hallucinationscited by 33
- 2025Tracing the Representation Geometry of Language Models from Pretraining to Post-trainingcited by 33
- 2024A phase transition between positional and semantic learning in a solvable model of dot-product attentioncited by 30
- 2024Weight decay induces low-rank attention layerscited by 27
- 2025The emergence of sparse attention: impact of data distribution and benefits of repetitioncited by 25
12 most cited of 63 All 63 (JSON)
- 2026Shortcut Before Circuit: Document Statistics Time In-Context Conflict Resolution25 Aug 2026
- 2026TACTICL: Task-Aware Compression of Tabular ICL Models11 Aug 2026
- 2026The Kinetics of Training: A Driven-Nucleation Rate Law for Emergence, Plasticity Loss, and Circuit Control in Language Models29 Jul 2026
- 2026Pretraining Curricula Enable Selective Fine-tuning6 Jul 2026
- 2026Sequential Correlations Change In-Context Learning: Effective Context Length and Architectural Mismatch4 Jul 2026
- 2026Natural Ungrokking: Asymmetric Control of Which Rules Survive Pretraining24 Jun 2026
- 2026Position: Don't Just "Fix it in Post": A Science of AI Must Study Training Dynamics3 Jun 2026
- 2026Structure and Scale in Simplicial Sequence Modelling31 May 2026
- 2026Why Larger Models Learn More: Effects of Capacity, Interference, and Rare-Task Retention28 May 2026
- 2026Advancing Graph Few-Shot Learning via In-Context Learning23 May 2026
- 2026Temporal Task Diversity: Inductive Biases Under Non-Stationarity in Synthetic Sequence Modelling18 May 2026
- 2026Why Multimodal In-Context Learning Lags Behind? Unveiling the Inner Mechanisms and Bottlenecks15 Apr 2026
12 newest of 63 All 63 (JSON)