mlsanityData to 7 Oct 2026

Competition Dynamics Shape Algorithmic Phases of In-Context Learning

arXiv 2412.01003 ↗First posted 1 Dec 2024cs.LG cs.CLcited by 52

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

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 32; 2026: 17.

52 papers.

Sort:

By area:

  1. 2024ICLR: In-Context Learning of Representationscited by 49
  2. 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 44
  3. 2024The broader spectrum of in-context learningcited by 33
  4. 2025How do language models learn facts? Dynamics, curricula and hallucinationscited by 33
  5. 2025Pixels Versus Priors: Controlling Knowledge Priors in Vision-Language Models through Visual Counterfactscited by 30
  6. 2025The emergence of sparse attention: impact of data distribution and benefits of repetitioncited by 25
  7. 2025Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation Steeringcited by 24
  8. 2025Strategy Coopetition Explains the Emergence and Transience of In-Context Learningcited by 17
  9. 2025Dynamics of Transient Structure in In-Context Linear Regression Transformerscited by 12
  10. 2024Sometimes I am a Tree: Data Drives Unstable Hierarchical Generalizationcited by 10
  11. 2025Beyond Induction Heads: In-Context Meta Learning Induces Multi-Phase Circuit Emergencecited by 10
  12. 2025Decomposing Elements of Problem Solving: What "Math" Does RL Teach?cited by 10
38 more
  1. 2025Do different prompting methods yield a common task representation in language models?cited by 9
  2. 2026Why Larger Models Learn More: Effects of Capacity, Interference, and Rare-Task Retentioncited by 8
  3. 2025Why Can't Transformers Learn Multiplication? Reverse-Engineering Reveals Long-Range Dependency Pitfallscited by 6
  4. 2026Context Structure Reshapes the Representational Geometry of Language Modelscited by 6
  5. 2025Distinct Computations Emerge From Compositional Curricula in In-Context Learningcited by 5
  6. 2025Predicting the Emergence of Induction Heads in Language Model Pretrainingcited by 5
  7. 2026When Is Collective Intelligence a Lottery? Multi-Agent Scaling Laws for Memetic Drift in LLMscited by 5
  8. 2025In-Context Occam's Razor: How Transformers Prefer Simpler Hypotheses on the Flycited by 4
  9. 2025In-Context Algebracited by 4
  10. 2025Latent Concept Disentanglement in Transformer-based Language Modelscited by 3
  11. 2025Beyond the Rosetta Stone: Unification Forces in Generalization Dynamicscited by 3
  12. 2025Asymptotic Study of In-context Learning with Random Transformers through Equivalent Modelscited by 3
  13. 2025Context and Diversity Matter: The Emergence of In-Context Learning in World Modelscited by 3
  14. 2025Facts in Stats: Impacts of Pretraining Diversity on Language Model Generalizationcited by 3
  15. 2026Distinct mechanisms underlying in-context learning in transformerscited by 3
  16. 2025Illusion or Algorithm? Investigating Memorization, Emergence, and Symbolic Processing in In-Context Learningcited by 2
  17. 2025Softmax ≥ Linear: Transformers may learn to classify in-context by kernel gradient descentcited by 2
  18. 2026Understanding Contextual Recall in Transformers: How Finetuning Enables In-Context Reasoning over Pretraining Knowledgecited by 2
  19. 2025An evolutionary perspective on modes of learning in Transformerscited by 1
  20. 2025Relational reasoning and inductive bias in transformers and large language modelscited by 1
  21. 2025Learning-to-Context Slope: Evaluating In-Context Learning Effectiveness Beyond Performance Illusionscited by 1
  22. 2025Multi-Layer Attention is the Amplifier of Demonstration Effectivenesscited by 1
  23. 2025A circuit for predicting hierarchical structure in-context in Large Language Modelscited by 1
  24. 2025Large Language Models as Model Organisms for Human Associative Learningcited by 1
  25. 2025How Data Mixing Shapes In-Context Learning: Asymptotic Equivalence for Transformers with MLPscited by 1
  26. 2025Optimal Attention Temperature Improves the Robustness of In-Context Learning under Distribution Shift in High Dimensionscited by 1
  27. 2026Convergent World Representations and Divergent Taskscited by 1
  28. 2026Incremental Learning of Sparse Attention Patterns in Transformerscited by 1
  29. 2026What does a Bayes-filtered transformer believe? A predictive Monte Carlo approachcited by 1
  30. 2025In-Context Learning can distort the relationship between sequence likelihoods and biological fitnesscited by 0
  31. 2025The Unified Cognitive Consciousness Theory for Language Models: Anchoring Semantics, Thresholds of Activation, and Emergent Reasoningcited by 0
  32. 2026When Does Context Help? Error Dynamics of Contextual Information in Large Language Modelscited by 0
  33. 2026Reconciling In-Context and In-Weight Learning via Dual Representation Space Encodingcited by 0
  34. 2026Mechanistic Foundations of Goal-Directed Controlcited by 0
  35. 2026Contrast Matters: Understanding Robustness of In-Context Fine-Tuning to Target-Context Relatednesscited by 0
  36. 2026Temporal Task Diversity: Inductive Biases Under Non-Stationarity in Synthetic Sequence Modellingcited by 0
  37. 2026Structure and Scale in Simplicial Sequence Modellingcited by 0
  38. 2026A Systematic Study of Behavioral Cloning for Scientific Data Annotationcited by 0

50 most cited of 52 All 52 (JSON)