Distinct Computations Emerge From Compositional Curricula in In-Context Learning
Not on the map. Why?
Abstract (arXiv)
In-context learning (ICL) research often considers learning a function in-context through a uniform sample of input-output pairs. Here, we investigate how presenting a compositional subtask curriculum in context may alter the computations a transformer learns. We design a compositional algorithmic task based on the modular exponential-a double exponential task composed of two single exponential subtasks and train transformer models to learn the task in-context. We compare (a) models trained using an in-context curriculum consisting of single exponential subtasks and, (b) models trained directly on the double exponential task without such a curriculum. We show that models trained with a subtask curriculum can perform zero-shot inference on unseen compositional tasks and are more robust given the same context length. We study how the task and subtasks are represented across the two training regimes. We find that the models employ diverse strategies modulated by the specific curriculum design.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 45 of its 65 references that are in the map. First posted on arXiv 16 Jun 2025.
Builds on
45 of 65 references.
References · 45
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2022Emergent Abilities of Large Language Modelscited by 2,512
- 2016Matching Networks for One Shot Learningcited by 2,255
- 2020Shortcut Learning in Deep Neural Networkscited by 1,969
- 2019Invariant Risk Minimizationcited by 1,854
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
- 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
33 more
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 528
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
- 2019What do you learn from context? Probing for sentence structure in contextualized word representationscited by 438
- 2016Learning to reinforcement learncited by 377
- 2020Curriculum Learning for Reinforcement Learning Domains: A Framework and Surveycited by 373
- 2023Finding Neurons in a Haystack: Case Studies with Sparse Probingcited by 334
- 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 319
- 2023In-Context Learning Creates Task Vectorscited by 312
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 309
- 2023Function Vectors in Large Language Modelscited by 308
- 2022Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matterscited by 222
- 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 169
- 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 156
- 2023Pretraining task diversity and the emergence of non-Bayesian in-context learning for regressioncited by 146
- 2023Circuit Component Reuse Across Tasks in Transformer Language Modelscited by 108
- 2020When Do Curricula Work?cited by 106
- 2016A Deep Hierarchical Approach to Lifelong Learning in Minecraftcited by 90
- 2024What needs to go right for an induction head? A mechanistic study of in-context learning circuits and their formationcited by 89
- 2023The Transient Nature of Emergent In-Context Learning in Transformerscited by 76
- 2023On the Foundations of Shortcut Learningcited by 65
- 2022Parsel: Algorithmic Reasoning with Language Models by Composing Decompositionscited by 64
- 2025Which Attention Heads Matter for In-Context Learning?cited by 61
- 2024Competition Dynamics Shape Algorithmic Phases of In-Context Learningcited by 54
- 2024Learning to grok: Emergence of in-context learning and skill composition in modular arithmetic taskscited by 40
- 2024The broader spectrum of in-context learningcited by 35
- 2019Discovering the Compositional Structure of Vector Representations with Role Learning Networkscited by 34
- 2020Universal linguistic inductive biases via meta-learningcited by 29
- 2025Strategy Coopetition Explains the Emergence and Transience of In-Context Learningcited by 17
- 2024Why Do Animals Need Shaping? A Theory of Task Composition and Curriculum Learningcited by 16
- 2024Geometric Signatures of Compositionality Across a Language Model's Lifetimecited by 16
- 2024When can transformers compositionally generalize in-context?cited by 7
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2026What do Language Models Learn and When? The Implicit Curriculum Hypothesiscited by 10
- 2025Pretrain-Test Task Alignment Governs Generalization in In-Context Learningcited by 8
- 2026Context Structure Reshapes the Representational Geometry of Language Modelscited by 8
- 2026Sequential Correlations Change In-Context Learning: Effective Context Length and Architectural Mismatchcited by 1
- 2026Pretraining Curricula Enable Selective Fine-tuningcited by 0
- 2026Pretraining Curricula Enable Selective Fine-tuning6 Jul 2026
- 2026Sequential Correlations Change In-Context Learning: Effective Context Length and Architectural Mismatch4 Jul 2026
- 2026What do Language Models Learn and When? The Implicit Curriculum Hypothesis9 Apr 2026
- 2026Context Structure Reshapes the Representational Geometry of Language Models29 Jan 2026
- 2025Pretrain-Test Task Alignment Governs Generalization in In-Context Learning30 Sep 2025