Competition Dynamics Shape Algorithmic Phases of In-Context Learning
Not on the map. Why?
Abstract (arXiv)
In-Context Learning (ICL) has significantly expanded the general-purpose nature of large language models, allowing them to adapt to novel tasks using merely the inputted context. This has motivated a series of papers that analyze tractable synthetic domains and postulate precise mechanisms that may underlie ICL. However, the use of relatively distinct setups that often lack a sequence modeling nature to them makes it unclear how general the reported insights from such studies are. Motivated by this, we propose a synthetic sequence modeling task that involves learning to simulate a finite mixture of Markov chains. As we show, models trained on this task reproduce most well-known results on ICL, hence offering a unified setting for studying the concept. Building on this setup, we demonstrate we can explain a model's behavior by decomposing it into four broad algorithms that combine a fuzzy retrieval vs. inference approach with either unigram or bigram statistics of the context. These algorithms engage in a competition dynamics to dominate model behavior, with the precise experimental conditions dictating which algorithm ends up superseding others: e.g., we find merely varying context size or amount of training yields (at times sharp) transitions between which algorithm dictates the model behavior, revealing a mechanism that explains the transient nature of ICL. In this sense, we argue ICL is best thought of as a mixture of different algorithms, each with its own peculiarities, instead of a monolithic capability. This also implies that making general claims about ICL that hold universally across all settings may be infeasible.
Key facts. Cited by 52 papers in the map (data through 7 Oct 2026). First posted on arXiv 1 Dec 2024.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2024: 3; 2025: 32; 2026: 17.
52 papers.
Sort:
By area:
- 2024ICLR: In-Context Learning of Representationscited by 49
- 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 44
- 2024The broader spectrum of in-context learningcited by 33
- 2025How do language models learn facts? Dynamics, curricula and hallucinationscited by 33
- 2025Pixels Versus Priors: Controlling Knowledge Priors in Vision-Language Models through Visual Counterfactscited by 30
- 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
- 2025Strategy Coopetition Explains the Emergence and Transience of In-Context Learningcited by 17
- 2025Dynamics of Transient Structure in In-Context Linear Regression Transformerscited by 12
- 2024Sometimes I am a Tree: Data Drives Unstable Hierarchical Generalizationcited by 10
- 2025Beyond Induction Heads: In-Context Meta Learning Induces Multi-Phase Circuit Emergencecited by 10
- 2025Decomposing Elements of Problem Solving: What "Math" Does RL Teach?cited by 10
38 more
- 2025Do different prompting methods yield a common task representation in language models?cited by 9
- 2026Why Larger Models Learn More: Effects of Capacity, Interference, and Rare-Task Retentioncited by 8
- 2025Why Can't Transformers Learn Multiplication? Reverse-Engineering Reveals Long-Range Dependency Pitfallscited by 6
- 2026Context Structure Reshapes the Representational Geometry of Language Modelscited by 6
- 2025Distinct Computations Emerge From Compositional Curricula in In-Context Learningcited by 5
- 2025Predicting the Emergence of Induction Heads in Language Model Pretrainingcited by 5
- 2026When Is Collective Intelligence a Lottery? Multi-Agent Scaling Laws for Memetic Drift in LLMscited by 5
- 2025In-Context Occam's Razor: How Transformers Prefer Simpler Hypotheses on the Flycited by 4
- 2025In-Context Algebracited by 4
- 2025Latent Concept Disentanglement in Transformer-based Language Modelscited by 3
- 2025Beyond the Rosetta Stone: Unification Forces in Generalization Dynamicscited by 3
- 2025Asymptotic Study of In-context Learning with Random Transformers through Equivalent Modelscited by 3
- 2025Context and Diversity Matter: The Emergence of In-Context Learning in World Modelscited by 3
- 2025Facts in Stats: Impacts of Pretraining Diversity on Language Model Generalizationcited by 3
- 2026Distinct mechanisms underlying in-context learning in transformerscited by 3
- 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
- 2025An evolutionary perspective on modes of learning in Transformerscited by 1
- 2025Relational reasoning and inductive bias in transformers and large language modelscited by 1
- 2025Learning-to-Context Slope: Evaluating In-Context Learning Effectiveness Beyond Performance Illusionscited by 1
- 2025Multi-Layer Attention is the Amplifier of Demonstration Effectivenesscited by 1
- 2025A circuit for predicting hierarchical structure in-context in Large Language Modelscited by 1
- 2025Large Language Models as Model Organisms for Human Associative Learningcited by 1
- 2025How Data Mixing Shapes In-Context Learning: Asymptotic Equivalence for Transformers with MLPscited by 1
- 2025Optimal Attention Temperature Improves the Robustness of In-Context Learning under Distribution Shift in High Dimensionscited by 1
- 2026Convergent World Representations and Divergent Taskscited by 1
- 2026Incremental Learning of Sparse Attention Patterns in Transformerscited by 1
- 2026What does a Bayes-filtered transformer believe? A predictive Monte Carlo approachcited by 1
- 2025In-Context Learning can distort the relationship between sequence likelihoods and biological fitnesscited by 0
- 2025The Unified Cognitive Consciousness Theory for Language Models: Anchoring Semantics, Thresholds of Activation, and Emergent Reasoningcited by 0
- 2026When Does Context Help? Error Dynamics of Contextual Information in Large Language Modelscited by 0
- 2026Reconciling In-Context and In-Weight Learning via Dual Representation Space Encodingcited by 0
- 2026Mechanistic Foundations of Goal-Directed Controlcited by 0
- 2026Contrast Matters: Understanding Robustness of In-Context Fine-Tuning to Target-Context Relatednesscited by 0
- 2026Temporal Task Diversity: Inductive Biases Under Non-Stationarity in Synthetic Sequence Modellingcited by 0
- 2026Structure and Scale in Simplicial Sequence Modellingcited by 0
- 2026A Systematic Study of Behavioral Cloning for Scientific Data Annotationcited by 0
50 most cited of 52 All 52 (JSON)
- 2026Shortcut Before Circuit: Document Statistics Time In-Context Conflict Resolution25 Aug 2026
- 2026What does a Bayes-filtered transformer believe? A predictive Monte Carlo approach19 Jul 2026
- 2026Sequential Correlations Change In-Context Learning: Effective Context Length and Architectural Mismatch4 Jul 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
- 2026A Systematic Study of Behavioral Cloning for Scientific Data Annotation26 May 2026
- 2026Temporal Task Diversity: Inductive Biases Under Non-Stationarity in Synthetic Sequence Modelling18 May 2026
- 2026Distinct mechanisms underlying in-context learning in transformers14 Apr 2026
- 2026Contrast Matters: Understanding Robustness of In-Context Fine-Tuning to Target-Context Relatedness2 Apr 2026
- 2026When Is Collective Intelligence a Lottery? Multi-Agent Scaling Laws for Memetic Drift in LLMs25 Mar 2026
- 2026Understanding Contextual Recall in Transformers: How Finetuning Enables In-Context Reasoning over Pretraining Knowledge21 Mar 2026
- 2026Mechanistic Foundations of Goal-Directed Control16 Mar 2026
38 more
- 2026Reconciling In-Context and In-Weight Learning via Dual Representation Space Encoding13 Mar 2026
- 2026Incremental Learning of Sparse Attention Patterns in Transformers22 Feb 2026
- 2026When Does Context Help? Error Dynamics of Contextual Information in Large Language Models9 Feb 2026
- 2026Convergent World Representations and Divergent Tasks31 Jan 2026
- 2026Context Structure Reshapes the Representational Geometry of Language Models29 Jan 2026
- 2025In-Context Algebra18 Dec 2025
- 2025Predicting the Emergence of Induction Heads in Language Model Pretraining21 Nov 2025
- 2025Optimal Attention Temperature Improves the Robustness of In-Context Learning under Distribution Shift in High Dimensions3 Nov 2025
- 2025Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation Steering1 Nov 2025
- 2025How Data Mixing Shapes In-Context Learning: Asymptotic Equivalence for Transformers with MLPs29 Oct 2025
- 2025Large Language Models as Model Organisms for Human Associative Learning24 Oct 2025
- 2025Facts in Stats: Impacts of Pretraining Diversity on Language Model Generalization17 Oct 2025
- 2025Softmax ≥ Linear: Transformers may learn to classify in-context by kernel gradient descent12 Oct 2025
- 2025Why Can't Transformers Learn Multiplication? Reverse-Engineering Reveals Long-Range Dependency Pitfalls30 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
- 2025Asymptotic Study of In-context Learning with Random Transformers through Equivalent Models18 Sep 2025
- 2025Beyond the Rosetta Stone: Unification Forces in Generalization Dynamics14 Aug 2025
- 2025Multi-Layer Attention is the Amplifier of Demonstration Effectiveness1 Aug 2025
- 2025Learning-to-Context Slope: Evaluating In-Context Learning Effectiveness Beyond Performance Illusions29 Jun 2025
- 2025In-Context Occam's Razor: How Transformers Prefer Simpler Hypotheses on the Fly24 Jun 2025
- 2025Latent Concept Disentanglement in Transformer-based Language Models20 Jun 2025
- 2025Distinct Computations Emerge From Compositional Curricula in In-Context Learning16 Jun 2025
- 2025Relational reasoning and inductive bias in transformers and large language models4 Jun 2025
- 2025The Unified Cognitive Consciousness Theory for Language Models: Anchoring Semantics, Thresholds of Activation, and Emergent Reasoning2 Jun 2025
- 2025Decomposing Elements of Problem Solving: What "Math" Does RL Teach?28 May 2025
- 2025The emergence of sparse attention: impact of data distribution and benefits of repetition23 May 2025
- 2025Beyond Induction Heads: In-Context Meta Learning Induces Multi-Phase Circuit Emergence22 May 2025
- 2025Pixels Versus Priors: Controlling Knowledge Priors in Vision-Language Models through Visual Counterfacts21 May 2025
- 2025Do different prompting methods yield a common task representation in language models?17 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
- 2025Dynamics of Transient Structure in In-Context Linear Regression Transformers29 Jan 2025
- 2025Training Dynamics of In-Context Learning in Linear Attention27 Jan 2025
- 2024ICLR: In-Context Learning of Representations29 Dec 2024
50 newest of 52 All 52 (JSON)
- 2025Decomposing Elements of Problem Solving: What "Math" Does RL Teach?cited by 10
- 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
- 2025The Unified Cognitive Consciousness Theory for Language Models: Anchoring Semantics, Thresholds of Activation, and Emergent Reasoningcited by 0
- 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
- 2025The Unified Cognitive Consciousness Theory for Language Models: Anchoring Semantics, Thresholds of Activation, and Emergent Reasoning2 Jun 2025
- 2025Decomposing Elements of Problem Solving: What "Math" Does RL Teach?28 May 2025
- 2024ICLR: In-Context Learning of Representationscited by 49
- 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 44
- 2024The broader spectrum of in-context learningcited by 33
- 2025How do language models learn facts? Dynamics, curricula and hallucinationscited by 33
- 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
- 2025Strategy Coopetition Explains the Emergence and Transience of In-Context Learningcited by 17
- 2025Dynamics of Transient Structure in In-Context Linear Regression Transformerscited by 12
- 2024Sometimes I am a Tree: Data Drives Unstable Hierarchical Generalizationcited by 10
- 2025Beyond Induction Heads: In-Context Meta Learning Induces Multi-Phase Circuit Emergencecited by 10
- 2025Do different prompting methods yield a common task representation in language models?cited by 9
- 2026Why Larger Models Learn More: Effects of Capacity, Interference, and Rare-Task Retentioncited by 8
12 most cited of 44 All 44 (JSON)
- 2026Shortcut Before Circuit: Document Statistics Time In-Context Conflict Resolution25 Aug 2026
- 2026What does a Bayes-filtered transformer believe? A predictive Monte Carlo approach19 Jul 2026
- 2026Sequential Correlations Change In-Context Learning: Effective Context Length and Architectural Mismatch4 Jul 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
- 2026Temporal Task Diversity: Inductive Biases Under Non-Stationarity in Synthetic Sequence Modelling18 May 2026
- 2026Distinct mechanisms underlying in-context learning in transformers14 Apr 2026
- 2026Contrast Matters: Understanding Robustness of In-Context Fine-Tuning to Target-Context Relatedness2 Apr 2026
- 2026Mechanistic Foundations of Goal-Directed Control16 Mar 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
- 2026When Does Context Help? Error Dynamics of Contextual Information in Large Language Models9 Feb 2026
12 newest of 44 All 44 (JSON)