mlsanityData to 7 Oct 2026

ICLR: In-Context Learning of Representations

arXiv 2501.00070 ↗First posted 29 Dec 2024cs.CL cs.AI cs.LGcited by 49

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  3. 2022Emergent Abilities of Large Language Modelscited by 2,483
  4. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
  5. 2018World Modelscited by 1,444
  6. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
  7. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  8. 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,009
  9. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 960
  10. 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
  11. 2022Transformers learn in-context by gradient descentcited by 714
  12. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
38 more
  1. 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
  2. 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 673
  3. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
  4. 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 417
  5. 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 313
  6. 2023Language Models Represent Space and Timecited by 306
  7. 2023In-Context Learning Creates Task Vectorscited by 302
  8. 2023Function Vectors in Large Language Modelscited by 292
  9. 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 264
  10. 2022Transformers Learn Shortcuts to Automatacited by 260
  11. 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 229
  12. 2022In-context Reinforcement Learning with Algorithm Distillationcited by 186
  13. 2021Implicit Representations of Meaning in Neural Language Modelscited by 179
  14. 2024A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicitycited by 179
  15. 2024The Geometry of Categorical and Hierarchical Concepts in Large Language Modelscited by 151
  16. 2023Supervised Pretraining Can Learn In-Context Reinforcement Learningcited by 137
  17. 2021Can Language Models Encode Perceptual Structure Without Grounding? A Case Study in Colorcited by 118
  18. 2023Mechanistically analyzing the effects of fine-tuning on procedurally defined taskscited by 110
  19. 2024Evaluating the World Model Implicit in a Generative Modelcited by 107
  20. 2023Why think step by step? Reasoning emerges from the locality of experiencecited by 103
  21. 2023Uncovering mesa-optimization algorithms in Transformerscited by 94
  22. 2023Physics of Language Models: Part 1, Learning Hierarchical Language Structurescited by 83
  23. 2024Transformers represent belief state geometry in their residual streamcited by 73
  24. 2022Linear Connectivity Reveals Generalization Strategiescited by 55
  25. 2024Competition Dynamics Shape Algorithmic Phases of In-Context Learningcited by 52
  26. 2022Mechanistic Mode Connectivitycited by 50
  27. 2024Recurrent Neural Networks Learn to Store and Generate Sequences using Non-Linear Representationscited by 45
  28. 2023In-Context Learning with Many Demonstration Examplescited by 39
  29. 2024Evidence of Learned Look-Ahead in a Chess-Playing Neural Networkcited by 33
  30. 2024Emergence of Hidden Capabilities: Exploring Learning Dynamics in Concept Spacecited by 33
  31. 2023Transformers are uninterpretable with myopic methods: a case study with bounded Dyck grammarscited by 30
  32. 2022Transformers from an Optimization Perspectivecited by 27
  33. 2024A Percolation Model of Emergence: Analyzing Transformers Trained on a Formal Languagecited by 26
  34. 2023Compositional Capabilities of Autoregressive Transformers: A Study on Synthetic, Interpretable Taskscited by 21
  35. 2024Representation Shattering in Transformers: A Synthetic Study with Knowledge Editingcited by 18
  36. 2023In-Context Learning Dynamics with Random Binary Sequencescited by 13
  37. 2024Abrupt Learning in Transformers: A Case Study on Matrix Completioncited by 11
  38. 2024Sometimes I am a Tree: Data Drives Unstable Hierarchical Generalizationcited by 10

50 most cited of 51 All 51 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 24; 2026: 25.

49 papers.

Sort:

By area:

  1. 2025Utility Engineering: Analyzing and Controlling Emergent Value Systems in AIscited by 63
  2. 2025From Flat to Hierarchical: Extracting Sparse Representations with Matching Pursuitcited by 45
  3. 2025Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation Steeringcited by 24
  4. 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behaviorcited by 22
  5. 2025Representation Engineering for Large-Language Models: Survey and Research Challengescited by 18
  6. 2025Theory of Scaling Laws for In-Context Regression: Depth, Width, Context and Timecited by 15
  7. 2025A Survey of Scaling in Large Language Model Reasoningcited by 10
  8. 2025Are language models aware of the road not taken? Token-level uncertainty and hidden state dynamicscited by 8
  9. 2026Linear representations in language models can change dramatically over a conversationcited by 7
  10. 2025Why Can't Transformers Learn Multiplication? Reverse-Engineering Reveals Long-Range Dependency Pitfallscited by 6
  11. 2026Context Structure Reshapes the Representational Geometry of Language Modelscited by 6
  12. 2025DETACH: Cross-domain Learning for Long-Horizon Tasks via Mixture of Disentangled Expertscited by 5
37 more
  1. 2025In-Context Representation Hijackingcited by 5
  2. 2026When Is Collective Intelligence a Lottery? Multi-Agent Scaling Laws for Memetic Drift in LLMscited by 5
  3. 2025Harmonic Loss Trains Interpretable AI Modelscited by 4
  4. 2025Rapid Word Learning Through Meta In-Context Learningcited by 4
  5. 2025Provable In-Context Learning of Nonlinear Regression with Transformerscited by 4
  6. 2025In-Context Algebracited by 4
  7. 2025On Entity Identification in Language Modelscited by 3
  8. 2025Provable Low-Frequency Bias of In-Context Learning of Representationscited by 3
  9. 2025Beyond External Monitors: Enhancing Transparency of Large Language Models for Easier Monitoringcited by 2
  10. 2025A Markov Categorical Framework for Language Modelingcited by 2
  11. 2025Review of Hallucination Understanding in Large Language and Vision Modelscited by 2
  12. 2026Bifrost: Steering Strategic Trajectories to Bridge Contextual Gaps for Self-Improving Agentscited by 2
  13. 2026Reasoning aligns language models to human cognitioncited by 2
  14. 2026Large language models reorganize representational geometry during in-context learningcited by 2
  15. 2025From Memories to Maps: Mechanisms of In-Context Reinforcement Learning in Transformerscited by 1
  16. 2025A circuit for predicting hierarchical structure in-context in Large Language Modelscited by 1
  17. 2025Do Prompts Reshape Representations? An Empirical Study of Prompting Effects on Embeddingscited by 1
  18. 2025Large Language Models as Model Organisms for Human Associative Learningcited by 1
  19. 2026Uncovering and Shaping the Latent Representation of 3D Scene Topology in Vision-Language Modelscited by 1
  20. 2026Polar probe linearly decodes semantic structures from LLMscited by 1
  21. 2025The Unified Cognitive Consciousness Theory for Language Models: Anchoring Semantics, Thresholds of Activation, and Emergent Reasoningcited by 0
  22. 2026Explaining the Explainer: Understanding the Inner Workings of Transformer-based Symbolic Regression Modelscited by 0
  23. 2026Fluid Reasoning Representationscited by 0
  24. 2026Emergent Structured Representations Support Flexible In-Context Inference in Large Language Modelscited by 0
  25. 2026Bayesian Preference Learning for Test-Time Steerable Reward Modelscited by 0
  26. 2026Predictive Statistics Shape Emergent World Representations of Grid Walkerscited by 0
  27. 2026Representational Curvature Modulates Behavioral Uncertainty in Large Language Modelscited by 0
  28. 2026Tensor Product Representation Probes Reveal Shared Structure Across Linear Directionscited by 0
  29. 2026Mechanisms of Misgeneralization in Physical Sequence Modelingcited by 0
  30. 2026Riemannian-Manifold Steering: Geometry-Aware Generative Autoencoders for Label-Free Steeringcited by 0
  31. 2026When Does Depth Matter For In-Context Learning? Adaptive Inference in Deep Transformerscited by 0
  32. 2026Temporal Context Reinstatement Drives Episodic-Like Order Memory in Long-Context Language Modelscited by 0
  33. 2026Geo-Spatial Concept Probing of Large Language Models: Abstraction, Compositionality, and Groundingcited by 0
  34. 2026Few-Shot Demonstrations Elicit the Use of In-Context World Representations in LLMscited by 0
  35. 2026Counting on Thinking: Tracing Evidence Integration in Language Modelscited by 0
  36. 2026MetaSteer: Context-Conditioned, nonlinear Steering via Attention-Projection Adaptationcited by 0
  37. 2026The Geometry of Contextual Relations: Language Models Address Facts by Order of Mentioncited by 0