Emergent Structured Representations Support Flexible In-Context Inference in Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) exhibit emergent behaviors suggestive of human-like reasoning. While recent work has identified structured conceptual representations within these models, it remains unclear whether they functionally rely on such representations for reasoning. Here we investigate the internal processing of LLMs during in-context inference across diverse tasks. Our results reveal a conceptual subspace emerging in middle to late layers, whose representational structure persists across contexts. Using causal mediation analyses, we demonstrate that this subspace is not merely an epiphenomenon but is functionally central to model predictions, establishing its causal role in inference. We further identify a layer-wise progression where attention heads in early-to-middle layers integrate contextual cues to construct and refine the subspace, which is subsequently leveraged by later layers to generate predictions. Together, these findings provide evidence that LLMs dynamically construct and use structured latent representations in context for inference, offering insights into the computational processes underlying flexible adaptation.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 51 of its 69 references that are in the map. First posted on arXiv 8 Feb 2026.
Builds on
51 of 69 references.
References · 51
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2022In-context Learning and Induction Headscited by 930
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
38 more
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 417
- 2022Using cognitive psychology to understand GPT-3cited by 389
- 2023Language Models Represent Space and Timecited by 306
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
- 2023In-Context Learning Creates Task Vectorscited by 302
- 2025Layer by Layer: Uncovering Hidden Representations in Language Modelscited by 293
- 2023Function Vectors in Large Language Modelscited by 292
- 2013Direct and Indirect Effectscited by 276
- 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Taskscited by 243
- 2022Emergent Analogical Reasoning in Large Language Modelscited by 239
- 2023Linearity of Relation Decoding in Transformer Language Modelscited by 190
- 2023One Step of Gradient Descent is Provably the Optimal In-Context Learner with One Layer of Linear Self-Attentioncited by 168
- 2022The Debate Over Understanding in AI's Large Language Modelscited by 142
- 2022Thinking Fast and Slow in Large Language Modelscited by 136
- 2023The Learnability of In-Context Learningcited by 126
- 2021Abstraction and Analogy-Making in Artificial Intelligencecited by 103
- 2023How do Language Models Bind Entities in Context?cited by 102
- 2023A Theory of Emergent In-Context Learning as Implicit Structure Inductioncited by 86
- 2019Do Neural Language Representations Learn Physical Commonsense?cited by 62
- 2025Which Attention Heads Matter for In-Context Learning?cited by 61
- 2024ICLR: In-Context Learning of Representationscited by 49
- 2023Testing AI on language comprehension tasks reveals insensitivity to underlying meaningcited by 45
- 2024Using Counterfactual Tasks to Evaluate the Generality of Analogical Reasoning in Large Language Modelscited by 38
- 2024The broader spectrum of in-context learningcited by 33
- 2017Deep Generalized Canonical Correlation Analysiscited by 32
- 2025Emergent Symbolic Mechanisms Support Abstract Reasoning in Large Language Modelscited by 31
- 2025Toward universal steering and monitoring of AI modelscited by 29
- 2025The Dual-Route Model of Inductioncited by 22
- 2017Distinguishing Antonyms and Synonyms in a Pattern-based Neural Networkcited by 19
- 2025Priors in Time: Missing Inductive Biases for Language Model Interpretabilitycited by 18
- 2024Revisiting In-context Learning Inference Circuit in Large Language Modelscited by 16
- 2024Evidence from counterfactual tasks supports emergent analogical reasoning in large language modelscited by 14
- 2025Analogical Reasoning Inside Large Language Models: Concept Vectors and the Limits of Abstractioncited by 11
- 2025Contextualize-then-Aggregate: Circuits for In-Context Learning in Gemma-2 2Bcited by 10
- 2026Linear representations in language models can change dramatically over a conversationcited by 7
- 2024On the Tip of the Tongue: Analyzing Conceptual Representation in Large Language Models with Reverse-Dictionary Probecited by 6
- 2025Whither symbols in the era of advanced neural networks?cited by 6
50 most cited of 51 All 51 (JSON)
Built on by
Not cited yet.