Is In-Context Learning Learning?
Not on the map. Why?
Abstract (arXiv)
In-context learning (ICL) allows some autoregressive models to solve tasks via next-token prediction and without needing further training. This has led to claims about these model's ability to solve (learn) unseen tasks with only a few shots (exemplars) in the prompt. However, deduction does not always imply learning, as ICL does not explicitly encode a given observation. Instead, the models rely on their prior knowledge and the exemplars given, if any. We argue that, mathematically, ICL fits the definition of learning; however, its full characterisation requires empirical work. We then carry out a large-scale analysis of ICL ablating out or accounting for memorisation, pretraining, distributional shifts, and prompting style and phrasing. We find that, empirically, ICL is limited in its ability to learn and generalise to unseen tasks. Namely, in the limit where exemplars become more numerous, accuracy is insensitive to exemplar distribution, model, prompt style, and the input's linguistic features. Instead, it deduces patterns from regularities in the prompt, which leads to distributional sensitivity, especially in prompting styles such as chain-of-thought. Given the varied accuracies and on formally similar tasks, we conclude that autoregression's ad-hoc encoding is not a robust mechanism for learning, and suggests limited all-purpose generalisability.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 66 of its 91 references that are in the map. First posted on arXiv 12 Sep 2025.
Builds on
66 of 91 references.
References · 66
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
- 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 817
- 2022Quantifying Memorization Across Neural Language Modelscited by 763
- 2023The Internal State of an LLM Knows When It's Lyingcited by 659
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
- 2022Towards Reasoning in Large Language Models: A Surveycited by 596
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 550
38 more
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 523
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
- 2022Language Models Are Greedy Reasoners: A Systematic Formal Analysis of Chain-of-Thoughtcited by 337
- 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 326
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 309
- 2023Function Vectors in Large Language Modelscited by 308
- 2022Transformers Learn Shortcuts to Automatacited by 268
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 260
- 2022Reasoning with Language Model Prompting: A Surveycited by 252
- 2022Neural Networks and the Chomsky Hierarchycited by 217
- 2022Exploring Length Generalization in Large Language Modelscited by 206
- 2024Many-Shot In-Context Learningcited by 206
- 2023Large Language Models Are Latent Variable Models: Explaining and Finding Good Demonstrations for In-Context Learningcited by 149
- 2024ProSA: Assessing and Understanding the Prompt Sensitivity of LLMscited by 149
- 2017Generalization in Deep Learningcited by 146
- 2023The Learnability of In-Context Learningcited by 127
- 2023What Formal Languages Can Transformers Express? A Surveycited by 124
- 2024The Evolution of Statistical Induction Heads: In-Context Learning Markov Chainscited by 118
- 2024Tokenization counts: the impact of tokenization on arithmetic in frontier LLMscited by 115
- 2023Are Emergent Abilities in Large Language Models just In-Context Learning?cited by 109
- 2021Statistically Meaningful Approximation: a Case Study on Approximating Turing Machines with Transformerscited by 102
- 2022Formal Language Recognition by Hard Attention Transformers: Perspectives from Circuit Complexitycited by 93
- 2022On the Paradox of Learning to Reason from Datacited by 93
- 2024What Did I Do Wrong? Quantifying LLMs' Sensitivity and Consistency to Prompt Engineeringcited by 90
- 2020On the Computational Power of Transformers and its Implications in Sequence Modelingcited by 85
- 2024Why are Sensitive Functions Hard for Transformers?cited by 74
- 2022Do Language Models Plagiarize?cited by 73
- 2021Making Transformers Solve Compositional Taskscited by 72
- 2014On the Computational Efficiency of Training Neural Networkscited by 71
- 2024How Large Language Models Encode Context Knowledge? A Layer-Wise Probing Studycited by 64
- 2025Which Attention Heads Matter for In-Context Learning?cited by 61
- 2022Can Large Language Models Truly Understand Prompts? A Case Study with Negated Promptscited by 59
- 2024Language Generation in the Limitcited by 40
- 2025Between Circuits and Chomsky: Pre-pretraining on Formal Languages Imparts Linguistic Biasescited by 37
- 2023The Mystery of In-Context Learning: A Comprehensive Survey on Interpretation and Analysiscited by 34
- 2023Average-Hard Attention Transformers are Constant-Depth Uniform Threshold Circuitscited by 26
- 2024Language Models Need Inductive Biases to Count Inductivelycited by 25
- 2024Training Neural Networks as Recognizers of Formal Languagescited by 24
50 most cited of 66 All 66 (JSON)
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Demonstrations, CoT, and Prompting: A Theoretical Analysis of ICL
- 2025Brewing Knowledge in Context: Distillation Perspectives on In-Context Learning
- 2025On the Relationship Between the Choice of Representation and In-Context Learning
- 2025Illusion or Algorithm? Investigating Memorization, Emergence, and Symbolic Processing in In-Context Learning
- 2024Investigating the Pre-Training Dynamics of In-Context Learning: Task Recognition vs. Task Learning
- 2023Is attention required for ICL? Exploring the Relationship Between Model Architecture and In-Context Learning Ability
- 2026The Alchemy of Thought: Understanding In-Context Learning Through Supervised Classification
- 2026Beyond the Prompt in Large Language Models: Comprehension, In-Context Learning, and Chain-of-Thought