mlsanityData to 14 Oct 2026

Breaking through the learning plateaus of in-context learning in Transformer

arXiv 2309.06054 ↗First posted 12 Sep 2023cs.LG cs.CL cs.CVcited by 8

Not on the map. Why?

Abstract (arXiv)

In-context learning, i.e., learning from context examples, is an impressive ability of Transformer. Training Transformers to possess this in-context learning skill is computationally intensive due to the occurrence of learning plateaus, which are periods within the training process where there is minimal or no enhancement in the model's in-context learning capability. To study the mechanism behind the learning plateaus, we conceptually seperate a component within the model's internal representation that is exclusively affected by the model's weights. We call this the "weights component", and the remainder is identified as the "context component". By conducting meticulous and controlled experiments on synthetic tasks, we note that the persistence of learning plateaus correlates with compromised functionality of the weights component. Recognizing the impaired performance of the weights component as a fundamental behavior drives learning plateaus, we have developed three strategies to expedite the learning of Transformers. The effectiveness of these strategies is further confirmed in natural language processing tasks. In conclusion, our research demonstrates the feasibility of cultivating a powerful in-context learning ability within AI systems in an eco-friendly manner.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 39 of its 52 references that are in the map. First posted on arXiv 12 Sep 2023.

Builds on

39 of 52 references.

References · 39

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
  4. 2022Emergent Abilities of Large Language Modelscited by 2,512
  5. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  6. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  7. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
  8. 2016Understanding intermediate layers using linear classifier probescited by 1,353
  9. 2022In-context Learning and Induction Headscited by 964
  10. 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
  11. 2022Transformers learn in-context by gradient descentcited by 732
  12. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
27 more
  1. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
  2. 2019Attention is not not Explanationcited by 636
  3. 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
  4. 2018Disentangling by Factorisingcited by 616
  5. 2021MetaICL: Learning to Learn In Contextcited by 454
  6. 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 431
  7. 2023Larger language models do in-context learning differentlycited by 394
  8. 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 309
  9. 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 298
  10. 2022Transformers Learn Shortcuts to Automatacited by 268
  11. 2023Looped Transformers as Programmable Computerscited by 237
  12. 2020Information-Theoretic Probing with Minimum Description Lengthcited by 232
  13. 2023Transformers as Algorithms: Generalization and Stability in In-context Learningcited by 222
  14. 2022Why Can GPT Learn In-Context? Language Models Implicitly Perform Gradient Descent as Meta-Optimizerscited by 204
  15. 2022Compute Trends Across Three Eras of Machine Learningcited by 163
  16. 2023Birth of a Transformer: A Memory Viewpointcited by 161
  17. 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 144
  18. 2019The Bottom-up Evolution of Representations in the Transformer: A Study with Machine Translation and Language Modeling Objectivescited by 139
  19. 2023The Quantization Model of Neural Scalingcited by 138
  20. 2019On Identifiability in Transformerscited by 116
  21. 2023Are Emergent Abilities in Large Language Models just In-Context Learning?cited by 109
  22. 2022General-Purpose In-Context Learning by Meta-Learning Transformerscited by 105
  23. 2023Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformercited by 102
  24. 2022On the Effect of Pretraining Corpora on In-context Learning by a Large-scale Language Modelcited by 81
  25. 2019Improving Transformer Models by Reordering their Sublayerscited by 52
  26. 2022Transformers generalize differently from information stored in context vs in weightscited by 49
  27. 2020Normalized Attention Without Probability Cagecited by 20

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 5.

8 papers.