Schema-learning and rebinding as mechanisms of in-context learning and emergence
Not on the map. Why?
Abstract (arXiv)
In-context learning (ICL) is one of the most powerful and most unexpected capabilities to emerge in recent transformer-based large language models (LLMs). Yet the mechanisms that underlie it are poorly understood. In this paper, we demonstrate that comparable ICL capabilities can be acquired by an alternative sequence prediction learning method using clone-structured causal graphs (CSCGs). Moreover, a key property of CSCGs is that, unlike transformer-based LLMs, they are em interpretable, which considerably simplifies the task of explaining how ICL works. Specifically, we show that it uses a combination of (a) learning template (schema) circuits for pattern completion, (b) retrieving relevant templates in a context-sensitive manner, and (c) rebinding of novel tokens to appropriate slots in the templates. We go on to marshall evidence for the hypothesis that similar mechanisms underlie ICL in LLMs. For example, we find that, with CSCGs as with LLMs, different capabilities emerge at different levels of overparameterization, suggesting that overparameterization helps in learning more complex template (schema) circuits. By showing how ICL can be achieved with small models and datasets, we open up a path to novel architectures, and take a vital step towards a more general understanding of the mechanics behind this important capability.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 35 of its 60 references that are in the map. First posted on arXiv 16 Jun 2023.
Builds on
35 of 60 references.
References · 35
- 2017Attention Is All You Needcited by 59,932
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
23 more
- 2016Optimization Methods for Large-Scale Machine Learningcited by 1,140
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
- 2016An overview of gradient descent optimization algorithmscited by 1,021
- 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
- 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
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
- 2021MetaICL: Learning to Learn In Contextcited by 450
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2022Can language models learn from explanations in context?cited by 248
- 2022Emergent Analogical Reasoning in Large Language Modelscited by 239
- 2023Transformers as Algorithms: Generalization and Stability in In-context Learningcited by 220
- 2021Meta-learning via Language Model In-context Tuningcited by 163
- 2022On the Effect of Pretraining Corpora on In-context Learning by a Large-scale Language Modelcited by 78
- 2018PreCo: A Large-scale Dataset in Preschool Vocabulary for Coreference Resolutioncited by 30
- 2022Abstraction for Deep Reinforcement Learningcited by 19
- 2022Systematic Generalization and Emergent Structures in Transformers Trained on Structured Taskscited by 19
- 2019Learning higher-order sequential structure with cloned HMMscited by 10
- 2017Learning Overcomplete HMMscited by 9
- 2023Graph schemas as abstractions for transfer learning, inference, and planningcited by 7
Built on by
Citing papers per year: 2023: 2; 2024: 4; 2025: 7; 2026: 1.
14 papers.
Sort:
By area:
- 2023Challenges and Applications of Large Language Modelscited by 251
- 2023The Mystery of In-Context Learning: A Comprehensive Survey on Interpretation and Analysiscited by 34
- 2024The broader spectrum of in-context learningcited by 33
- 2024A Survey to Recent Progress Towards Understanding In-Context Learningcited by 12
- 2025How new data permeates LLM knowledge and how to dilute itcited by 8
- 2024Learning Cognitive Maps from Transformer Representations for Efficient Planning in Partially Observed Environmentscited by 6
- 2025Schema for In-Context Learningcited by 4
- 2025In-Context Algebracited by 4
- 2024From Unstructured Data to In-Context Learning: Exploring What Tasks Can Be Learned and Whencited by 3
- 2025Diverse Prompts: Illuminating the Prompt Space of Large Language Models with MAP-Elitescited by 1
- 2025Relational reasoning and inductive bias in transformers and large language modelscited by 1
- 2025Brewing Knowledge in Context: Distillation Perspectives on In-Context Learningcited by 1
- 2026Shaping Schema via Language Representation as the Next Frontier for LLM Intelligence Expanding10 May 2026
- 2025In-Context Algebra18 Dec 2025
- 2025Schema for In-Context Learning14 Oct 2025
- 2025A Neuroscience-Inspired Dual-Process Model of Compositional Generalization25 Jul 2025
- 2025Brewing Knowledge in Context: Distillation Perspectives on In-Context Learning13 Jun 2025
- 2025Relational reasoning and inductive bias in transformers and large language models4 Jun 2025
- 2025Diverse Prompts: Illuminating the Prompt Space of Large Language Models with MAP-Elites19 Apr 2025
- 2025How new data permeates LLM knowledge and how to dilute it13 Apr 2025
- 2024The broader spectrum of in-context learning5 Dec 2024
- 2024From Unstructured Data to In-Context Learning: Exploring What Tasks Can Be Learned and When31 May 2024
- 2024A Survey to Recent Progress Towards Understanding In-Context Learning3 Feb 2024
- 2024Learning Cognitive Maps from Transformer Representations for Efficient Planning in Partially Observed Environments11 Jan 2024
- 2025Schema for In-Context Learningcited by 4
- 2025Relational reasoning and inductive bias in transformers and large language modelscited by 1
- 2025Schema for In-Context Learning14 Oct 2025
- 2025Relational reasoning and inductive bias in transformers and large language models4 Jun 2025
- 2023Challenges and Applications of Large Language Modelscited by 251
- 2023The Mystery of In-Context Learning: A Comprehensive Survey on Interpretation and Analysiscited by 34
- 2024The broader spectrum of in-context learningcited by 33
- 2024A Survey to Recent Progress Towards Understanding In-Context Learningcited by 12
- 2025How new data permeates LLM knowledge and how to dilute itcited by 8
- 2025In-Context Algebracited by 4
- 2024From Unstructured Data to In-Context Learning: Exploring What Tasks Can Be Learned and Whencited by 3
- 2025Diverse Prompts: Illuminating the Prompt Space of Large Language Models with MAP-Elitescited by 1
- 2025Brewing Knowledge in Context: Distillation Perspectives on In-Context Learningcited by 1
- 2026Shaping Schema via Language Representation as the Next Frontier for LLM Intelligence Expandingcited by 1
- 2025A Neuroscience-Inspired Dual-Process Model of Compositional Generalizationcited by 0
- 2026Shaping Schema via Language Representation as the Next Frontier for LLM Intelligence Expanding10 May 2026
- 2025In-Context Algebra18 Dec 2025
- 2025A Neuroscience-Inspired Dual-Process Model of Compositional Generalization25 Jul 2025
- 2025Brewing Knowledge in Context: Distillation Perspectives on In-Context Learning13 Jun 2025
- 2025Diverse Prompts: Illuminating the Prompt Space of Large Language Models with MAP-Elites19 Apr 2025
- 2025How new data permeates LLM knowledge and how to dilute it13 Apr 2025
- 2024The broader spectrum of in-context learning5 Dec 2024
- 2024From Unstructured Data to In-Context Learning: Exploring What Tasks Can Be Learned and When31 May 2024
- 2024A Survey to Recent Progress Towards Understanding In-Context Learning3 Feb 2024
- 2023The Mystery of In-Context Learning: A Comprehensive Survey on Interpretation and Analysis1 Nov 2023
- 2023Challenges and Applications of Large Language Models19 Jul 2023