In-Context Learning Operates as Concept Subspace Learning
Not on the map. Why?
Abstract (arXiv)
Regression and Bayesian accounts of in-context learning (ICL) explain how demonstrations can induce predictors, while mechanistic analyses often identify compact activation directions that steer prompted behavior. However, it remains unclear whether structured demonstrations induce low-dimensional concept inference. We study this question through a concept-subspace view of ICL, in which tasks vary only along intrinsic concept coordinates, although inputs are observed in a high-dimensional ambient space. For ridge and least-squares ICL proxies, prediction decomposes exactly into concept-coordinate regression and off-subspace leakage. Under block-diagonal or near-block-diagonal covariance assumptions, the leading estimation and nuisance-sensitivity terms scale with the dimension of the concept subspace, while residual effects are controlled by cross-subspace coupling. This separation gives a mechanistic prediction: recoverable task information should concentrate in a low-dimensional, task-aligned activation subspace. On CounterFact-derived multi-relation prompts with Llama-3-8B, a 68--73-dimensional subspace of the 4096-dimensional residual stream restores 78.8% of the clean--corrupted accuracy gap, whereas patching the complementary subspace restores 0%. Concept swaps redirect predictions toward injected relations, while random and cross-task matched-rank controls are largely ineffective. Additional experiments on Qwen2.5-7B and a controlled cross-lingual rule task show the same qualitative pattern. These results support concept subspaces as compact, task-aligned mediators of recoverable ICL behavior in structured task families, without implying full-circuit recovery.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 44 of its 56 references that are in the map. First posted on arXiv 12 May 2026.
Builds on
44 of 56 references.
References · 44
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
- 2017Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV)cited by 1,319
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
- 2020Concept Bottleneck Modelscited by 1,032
- 2018Challenging Common Assumptions in the Unsupervised Learning of Disentangled Representationscited by 941
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
- 2022Transformers learn in-context by gradient descentcited by 732
32 more
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 724
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
- 2019Variational Autoencoders and Nonlinear ICA: A Unifying Frameworkcited by 503
- 2017Word Translation Without Parallel Datacited by 487
- 2021Causal Abstractions of Neural Networkscited by 422
- 2023Larger language models do in-context learning differentlycited by 394
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 359
- 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
- 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 298
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 279
- 2023In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steeringcited by 245
- 2020Concept Whitening for Interpretable Image Recognitioncited by 225
- 2023What In-Context Learning "Learns" In-Context: Disentangling Task Recognition and Task Learningcited by 152
- 2023Pretraining task diversity and the emergence of non-Bayesian in-context learning for regressioncited by 146
- 2023The Learnability of In-Context Learningcited by 127
- 2022General-Purpose In-Context Learning by Meta-Learning Transformerscited by 105
- 2023Language Models Implement Simple Word2Vec-style Vector Arithmeticcited by 98
- 2023Is This the Subspace You Are Looking for? An Interpretability Illusion for Subspace Activation Patchingcited by 80
- 2023How Do Transformers Learn In-Context Beyond Simple Functions? A Case Study on Learning with Representationscited by 75
- 2024Separating Tongue from Thought: Activation Patching Reveals Language-Agnostic Concept Representations in Transformerscited by 44
- 2024Editable Concept Bottleneck Modelscited by 23
- 2024Semi-supervised Concept Bottleneck Modelscited by 21
- 2025Task Vectors in In-Context Learning: Emergence, Formation, and Benefitcited by 20
- 2025Understanding Task Vectors in In-Context Learning: Emergence, Functionality, and Limitationscited by 9
- 2019Independent Subspace Analysis for Unsupervised Learning of Disentangled Representationscited by 8
- 2025There Was Never a Bottleneck in Concept Bottleneck Modelscited by 8
- 2025Provable In-Context Vector Arithmetic via Retrieving Task Conceptscited by 8
- 2025In-Context Linear Regression Demystified: Training Dynamics and Mechanistic Interpretability of Multi-Head Softmax Attentioncited by 7
- 2025Latent Concept Disentanglement in Transformer-based Language Modelscited by 3
Built on by
Citing papers per year: 2026: 3.
3 papers.