ICLR: In-Context Learning of Representations
Not on the map. Why?
Abstract (arXiv)
Recent work has demonstrated that semantics specified by pretraining data influence how representations of different concepts are organized in a large language model (LLM). However, given the open-ended nature of LLMs, e.g., their ability to in-context learn, we can ask whether models alter these pretraining semantics to adopt alternative, context-specified ones. Specifically, if we provide in-context exemplars wherein a concept plays a different role than what the pretraining data suggests, do models reorganize their representations in accordance with these novel semantics? To answer this question, we take inspiration from the theory of conceptual role semantics and define a toy "graph tracing" task wherein the nodes of the graph are referenced via concepts seen during training (e.g., apple, bird, etc.) and the connectivity of the graph is defined via some predefined structure (e.g., a square grid). Given exemplars that indicate traces of random walks on the graph, we analyze intermediate representations of the model and find that as the amount of context is scaled, there is a sudden re-organization from pretrained semantic representations to in-context representations aligned with the graph structure. Further, we find that when reference concepts have correlations in their semantics (e.g., Monday, Tuesday, etc.), the context-specified graph structure is still present in the representations, but is unable to dominate the pretrained structure. To explain these results, we analogize our task to energy minimization for a predefined graph topology, providing evidence towards an implicit optimization process to infer context-specified semantics. Overall, our findings indicate scaling context-size can flexibly re-organize model representations, possibly unlocking novel capabilities.
Key facts. Cited by 49 papers in the map (data through 7 Oct 2026). Builds on 51 of its 70 references that are in the map. First posted on arXiv 29 Dec 2024.
Builds on
51 of 70 references.
References · 51
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
- 2018World Modelscited by 1,444
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,009
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 960
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
- 2022Transformers learn in-context by gradient descentcited by 714
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
38 more
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
- 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 673
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
- 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 417
- 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 313
- 2023Language Models Represent Space and Timecited by 306
- 2023In-Context Learning Creates Task Vectorscited by 302
- 2023Function Vectors in Large Language Modelscited by 292
- 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 264
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 229
- 2022In-context Reinforcement Learning with Algorithm Distillationcited by 186
- 2021Implicit Representations of Meaning in Neural Language Modelscited by 179
- 2024A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicitycited by 179
- 2024The Geometry of Categorical and Hierarchical Concepts in Large Language Modelscited by 151
- 2023Supervised Pretraining Can Learn In-Context Reinforcement Learningcited by 137
- 2021Can Language Models Encode Perceptual Structure Without Grounding? A Case Study in Colorcited by 118
- 2023Mechanistically analyzing the effects of fine-tuning on procedurally defined taskscited by 110
- 2024Evaluating the World Model Implicit in a Generative Modelcited by 107
- 2023Why think step by step? Reasoning emerges from the locality of experiencecited by 103
- 2023Uncovering mesa-optimization algorithms in Transformerscited by 94
- 2023Physics of Language Models: Part 1, Learning Hierarchical Language Structurescited by 83
- 2024Transformers represent belief state geometry in their residual streamcited by 73
- 2022Linear Connectivity Reveals Generalization Strategiescited by 55
- 2024Competition Dynamics Shape Algorithmic Phases of In-Context Learningcited by 52
- 2022Mechanistic Mode Connectivitycited by 50
- 2024Recurrent Neural Networks Learn to Store and Generate Sequences using Non-Linear Representationscited by 45
- 2023In-Context Learning with Many Demonstration Examplescited by 39
- 2024Evidence of Learned Look-Ahead in a Chess-Playing Neural Networkcited by 33
- 2024Emergence of Hidden Capabilities: Exploring Learning Dynamics in Concept Spacecited by 33
- 2023Transformers are uninterpretable with myopic methods: a case study with bounded Dyck grammarscited by 30
- 2022Transformers from an Optimization Perspectivecited by 27
- 2024A Percolation Model of Emergence: Analyzing Transformers Trained on a Formal Languagecited by 26
- 2023Compositional Capabilities of Autoregressive Transformers: A Study on Synthetic, Interpretable Taskscited by 21
- 2024Representation Shattering in Transformers: A Synthetic Study with Knowledge Editingcited by 18
- 2023In-Context Learning Dynamics with Random Binary Sequencescited by 13
- 2024Abrupt Learning in Transformers: A Case Study on Matrix Completioncited by 11
- 2024Sometimes I am a Tree: Data Drives Unstable Hierarchical Generalizationcited by 10
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2025: 24; 2026: 25.
49 papers.
Sort:
By area:
- 2025Utility Engineering: Analyzing and Controlling Emergent Value Systems in AIscited by 63
- 2025From Flat to Hierarchical: Extracting Sparse Representations with Matching Pursuitcited by 45
- 2025Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation Steeringcited by 24
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behaviorcited by 22
- 2025Representation Engineering for Large-Language Models: Survey and Research Challengescited by 18
- 2025Theory of Scaling Laws for In-Context Regression: Depth, Width, Context and Timecited by 15
- 2025A Survey of Scaling in Large Language Model Reasoningcited by 10
- 2025Are language models aware of the road not taken? Token-level uncertainty and hidden state dynamicscited by 8
- 2026Linear representations in language models can change dramatically over a conversationcited by 7
- 2025Why Can't Transformers Learn Multiplication? Reverse-Engineering Reveals Long-Range Dependency Pitfallscited by 6
- 2026Context Structure Reshapes the Representational Geometry of Language Modelscited by 6
- 2025DETACH: Cross-domain Learning for Long-Horizon Tasks via Mixture of Disentangled Expertscited by 5
37 more
- 2025In-Context Representation Hijackingcited by 5
- 2026When Is Collective Intelligence a Lottery? Multi-Agent Scaling Laws for Memetic Drift in LLMscited by 5
- 2025Harmonic Loss Trains Interpretable AI Modelscited by 4
- 2025Rapid Word Learning Through Meta In-Context Learningcited by 4
- 2025Provable In-Context Learning of Nonlinear Regression with Transformerscited by 4
- 2025In-Context Algebracited by 4
- 2025On Entity Identification in Language Modelscited by 3
- 2025Provable Low-Frequency Bias of In-Context Learning of Representationscited by 3
- 2025Beyond External Monitors: Enhancing Transparency of Large Language Models for Easier Monitoringcited by 2
- 2025A Markov Categorical Framework for Language Modelingcited by 2
- 2025Review of Hallucination Understanding in Large Language and Vision Modelscited by 2
- 2026Bifrost: Steering Strategic Trajectories to Bridge Contextual Gaps for Self-Improving Agentscited by 2
- 2026Reasoning aligns language models to human cognitioncited by 2
- 2026Large language models reorganize representational geometry during in-context learningcited by 2
- 2025From Memories to Maps: Mechanisms of In-Context Reinforcement Learning in Transformerscited by 1
- 2025A circuit for predicting hierarchical structure in-context in Large Language Modelscited by 1
- 2025Do Prompts Reshape Representations? An Empirical Study of Prompting Effects on Embeddingscited by 1
- 2025Large Language Models as Model Organisms for Human Associative Learningcited by 1
- 2026Uncovering and Shaping the Latent Representation of 3D Scene Topology in Vision-Language Modelscited by 1
- 2026Polar probe linearly decodes semantic structures from LLMscited by 1
- 2025The Unified Cognitive Consciousness Theory for Language Models: Anchoring Semantics, Thresholds of Activation, and Emergent Reasoningcited by 0
- 2026Explaining the Explainer: Understanding the Inner Workings of Transformer-based Symbolic Regression Modelscited by 0
- 2026Fluid Reasoning Representationscited by 0
- 2026Emergent Structured Representations Support Flexible In-Context Inference in Large Language Modelscited by 0
- 2026Bayesian Preference Learning for Test-Time Steerable Reward Modelscited by 0
- 2026Predictive Statistics Shape Emergent World Representations of Grid Walkerscited by 0
- 2026Representational Curvature Modulates Behavioral Uncertainty in Large Language Modelscited by 0
- 2026Tensor Product Representation Probes Reveal Shared Structure Across Linear Directionscited by 0
- 2026Mechanisms of Misgeneralization in Physical Sequence Modelingcited by 0
- 2026Riemannian-Manifold Steering: Geometry-Aware Generative Autoencoders for Label-Free Steeringcited by 0
- 2026When Does Depth Matter For In-Context Learning? Adaptive Inference in Deep Transformerscited by 0
- 2026Temporal Context Reinstatement Drives Episodic-Like Order Memory in Long-Context Language Modelscited by 0
- 2026Geo-Spatial Concept Probing of Large Language Models: Abstraction, Compositionality, and Groundingcited by 0
- 2026Few-Shot Demonstrations Elicit the Use of In-Context World Representations in LLMscited by 0
- 2026Counting on Thinking: Tracing Evidence Integration in Language Modelscited by 0
- 2026MetaSteer: Context-Conditioned, nonlinear Steering via Attention-Projection Adaptationcited by 0
- 2026The Geometry of Contextual Relations: Language Models Address Facts by Order of Mentioncited by 0
- 2026The Geometry of Contextual Relations: Language Models Address Facts by Order of Mention1 Oct 2026
- 2026MetaSteer: Context-Conditioned, nonlinear Steering via Attention-Projection Adaptation30 Sep 2026
- 2026Counting on Thinking: Tracing Evidence Integration in Language Models26 Sep 2026
- 2026Few-Shot Demonstrations Elicit the Use of In-Context World Representations in LLMs21 Sep 2026
- 2026Geo-Spatial Concept Probing of Large Language Models: Abstraction, Compositionality, and Grounding7 Aug 2026
- 2026When Does Depth Matter For In-Context Learning? Adaptive Inference in Deep Transformers15 Jun 2026
- 2026Temporal Context Reinstatement Drives Episodic-Like Order Memory in Long-Context Language Models5 Jun 2026
- 2026Riemannian-Manifold Steering: Geometry-Aware Generative Autoencoders for Label-Free Steering24 May 2026
- 2026Mechanisms of Misgeneralization in Physical Sequence Modeling19 May 2026
- 2026Large language models reorganize representational geometry during in-context learning16 May 2026
- 2026Polar probe linearly decodes semantic structures from LLMs13 May 2026
- 2026Tensor Product Representation Probes Reveal Shared Structure Across Linear Directions11 May 2026
37 more
- 2026Uncovering and Shaping the Latent Representation of 3D Scene Topology in Vision-Language Models8 May 2026
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behavior6 May 2026
- 2026Representational Curvature Modulates Behavioral Uncertainty in Large Language Models27 Apr 2026
- 2026When Is Collective Intelligence a Lottery? Multi-Agent Scaling Laws for Memetic Drift in LLMs25 Mar 2026
- 2026Predictive Statistics Shape Emergent World Representations of Grid Walkers17 Mar 2026
- 2026Bayesian Preference Learning for Test-Time Steerable Reward Models9 Feb 2026
- 2026Reasoning aligns language models to human cognition9 Feb 2026
- 2026Emergent Structured Representations Support Flexible In-Context Inference in Large Language Models8 Feb 2026
- 2026Bifrost: Steering Strategic Trajectories to Bridge Contextual Gaps for Self-Improving Agents5 Feb 2026
- 2026Fluid Reasoning Representations4 Feb 2026
- 2026Explaining the Explainer: Understanding the Inner Workings of Transformer-based Symbolic Regression Models3 Feb 2026
- 2026Context Structure Reshapes the Representational Geometry of Language Models29 Jan 2026
- 2026Linear representations in language models can change dramatically over a conversation28 Jan 2026
- 2025In-Context Algebra18 Dec 2025
- 2025In-Context Representation Hijacking3 Dec 2025
- 2025Are language models aware of the road not taken? Token-level uncertainty and hidden state dynamics6 Nov 2025
- 2025Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation Steering1 Nov 2025
- 2025Large Language Models as Model Organisms for Human Associative Learning24 Oct 2025
- 2025Do Prompts Reshape Representations? An Empirical Study of Prompting Effects on Embeddings22 Oct 2025
- 2025Theory of Scaling Laws for In-Context Regression: Depth, Width, Context and Time1 Oct 2025
- 2025Why Can't Transformers Learn Multiplication? Reverse-Engineering Reveals Long-Range Dependency Pitfalls30 Sep 2025
- 2025Review of Hallucination Understanding in Large Language and Vision Models26 Sep 2025
- 2025A circuit for predicting hierarchical structure in-context in Large Language Models25 Sep 2025
- 2025DETACH: Cross-domain Learning for Long-Horizon Tasks via Mixture of Disentangled Experts11 Aug 2025
- 2025Provable In-Context Learning of Nonlinear Regression with Transformers28 Jul 2025
- 2025A Markov Categorical Framework for Language Modeling25 Jul 2025
- 2025Provable Low-Frequency Bias of In-Context Learning of Representations17 Jul 2025
- 2025From Memories to Maps: Mechanisms of In-Context Reinforcement Learning in Transformers24 Jun 2025
- 2025From Flat to Hierarchical: Extracting Sparse Representations with Matching Pursuit3 Jun 2025
- 2025On Entity Identification in Language Models3 Jun 2025
- 2025The Unified Cognitive Consciousness Theory for Language Models: Anchoring Semantics, Thresholds of Activation, and Emergent Reasoning2 Jun 2025
- 2025A Survey of Scaling in Large Language Model Reasoning2 Apr 2025
- 2025Representation Engineering for Large-Language Models: Survey and Research Challenges24 Feb 2025
- 2025Rapid Word Learning Through Meta In-Context Learning20 Feb 2025
- 2025Utility Engineering: Analyzing and Controlling Emergent Value Systems in AIs12 Feb 2025
- 2025Beyond External Monitors: Enhancing Transparency of Large Language Models for Easier Monitoring7 Feb 2025
- 2025Harmonic Loss Trains Interpretable AI Models3 Feb 2025
- 2025A Survey of Scaling in Large Language Model Reasoningcited by 10
- 2025Are language models aware of the road not taken? Token-level uncertainty and hidden state dynamicscited by 8
- 2026Reasoning aligns language models to human cognitioncited by 2
- 2025The Unified Cognitive Consciousness Theory for Language Models: Anchoring Semantics, Thresholds of Activation, and Emergent Reasoningcited by 0
- 2026Fluid Reasoning Representationscited by 0
- 2026Counting on Thinking: Tracing Evidence Integration in Language Modelscited by 0
- 2026Counting on Thinking: Tracing Evidence Integration in Language Models26 Sep 2026
- 2026Reasoning aligns language models to human cognition9 Feb 2026
- 2026Fluid Reasoning Representations4 Feb 2026
- 2025Are language models aware of the road not taken? Token-level uncertainty and hidden state dynamics6 Nov 2025
- 2025The Unified Cognitive Consciousness Theory for Language Models: Anchoring Semantics, Thresholds of Activation, and Emergent Reasoning2 Jun 2025
- 2025A Survey of Scaling in Large Language Model Reasoning2 Apr 2025
- 2025In-Context Representation Hijackingcited by 5
- 2025In-Context Representation Hijacking3 Dec 2025
- 2025From Flat to Hierarchical: Extracting Sparse Representations with Matching Pursuitcited by 45
- 2025Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation Steeringcited by 24
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behaviorcited by 22
- 2025Representation Engineering for Large-Language Models: Survey and Research Challengescited by 18
- 2025Theory of Scaling Laws for In-Context Regression: Depth, Width, Context and Timecited by 15
- 2026Linear representations in language models can change dramatically over a conversationcited by 7
- 2025Why Can't Transformers Learn Multiplication? Reverse-Engineering Reveals Long-Range Dependency Pitfallscited by 6
- 2026Context Structure Reshapes the Representational Geometry of Language Modelscited by 6
- 2025DETACH: Cross-domain Learning for Long-Horizon Tasks via Mixture of Disentangled Expertscited by 5
- 2025Harmonic Loss Trains Interpretable AI Modelscited by 4
- 2025Rapid Word Learning Through Meta In-Context Learningcited by 4
- 2025Provable In-Context Learning of Nonlinear Regression with Transformerscited by 4
12 most cited of 36 All 36 (JSON)
- 2026The Geometry of Contextual Relations: Language Models Address Facts by Order of Mention1 Oct 2026
- 2026MetaSteer: Context-Conditioned, nonlinear Steering via Attention-Projection Adaptation30 Sep 2026
- 2026Few-Shot Demonstrations Elicit the Use of In-Context World Representations in LLMs21 Sep 2026
- 2026Geo-Spatial Concept Probing of Large Language Models: Abstraction, Compositionality, and Grounding7 Aug 2026
- 2026When Does Depth Matter For In-Context Learning? Adaptive Inference in Deep Transformers15 Jun 2026
- 2026Temporal Context Reinstatement Drives Episodic-Like Order Memory in Long-Context Language Models5 Jun 2026
- 2026Riemannian-Manifold Steering: Geometry-Aware Generative Autoencoders for Label-Free Steering24 May 2026
- 2026Mechanisms of Misgeneralization in Physical Sequence Modeling19 May 2026
- 2026Large language models reorganize representational geometry during in-context learning16 May 2026
- 2026Polar probe linearly decodes semantic structures from LLMs13 May 2026
- 2026Tensor Product Representation Probes Reveal Shared Structure Across Linear Directions11 May 2026
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behavior6 May 2026
12 newest of 36 All 36 (JSON)