mlsanityData to 7 Oct 2026

Schema-learning and rebinding as mechanisms of in-context learning and emergence

arXiv 2307.01201 ↗First posted 16 Jun 2023cs.CL cs.AIcited by 14

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  5. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  6. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  7. 2022Emergent Abilities of Large Language Modelscited by 2,483
  8. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
  9. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  10. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  11. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  12. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
23 more
  1. 2016Optimization Methods for Large-Scale Machine Learningcited by 1,140
  2. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  3. 2016An overview of gradient descent optimization algorithmscited by 1,021
  4. 2022In-context Learning and Induction Headscited by 930
  5. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
  6. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
  7. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  8. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
  9. 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
  10. 2021MetaICL: Learning to Learn In Contextcited by 450
  11. 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
  12. 2022Transformers Learn Shortcuts to Automatacited by 260
  13. 2022Can language models learn from explanations in context?cited by 248
  14. 2022Emergent Analogical Reasoning in Large Language Modelscited by 239
  15. 2023Transformers as Algorithms: Generalization and Stability in In-context Learningcited by 220
  16. 2021Meta-learning via Language Model In-context Tuningcited by 163
  17. 2022On the Effect of Pretraining Corpora on In-context Learning by a Large-scale Language Modelcited by 78
  18. 2018PreCo: A Large-scale Dataset in Preschool Vocabulary for Coreference Resolutioncited by 30
  19. 2022Abstraction for Deep Reinforcement Learningcited by 19
  20. 2022Systematic Generalization and Emergent Structures in Transformers Trained on Structured Taskscited by 19
  21. 2019Learning higher-order sequential structure with cloned HMMscited by 10
  22. 2017Learning Overcomplete HMMscited by 9
  23. 2023Graph schemas as abstractions for transfer learning, inference, and planningcited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 4; 2025: 7; 2026: 1.

14 papers.

Sort:

By area: