mlsanityData to 7 Oct 2026

On the Relationship Between the Choice of Representation and In-Context Learning

arXiv 2510.08372 ↗First posted 9 Oct 2025cs.CL cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

In-context learning (ICL) is the ability of a large language model (LLM) to learn a new task from a few demonstrations presented as part of the context. Past studies have attributed a large portion of the success of ICL to the way these in-context demonstrations are represented, particularly to how labels are represented in classification tasks. On the other hand, observations of the learning capacity of ICL (i.e., the extent to which more in-context demonstrations can lead to higher performance) have been mixed, and ICL is often thought to occur only under specific conditions. The interaction between these two aspects in ICL, representation and learning, has not been studied in depth until now. We hypothesize that they are largely independent of one another, such that the representation of demonstrations determines the baseline accuracy of ICL, while learning from additional demonstrations improves only on top of this baseline. We validate this hypothesis by developing an optimization algorithm that can enumerate a spectrum of possible label sets (representations) varying in semantic relevance. We then perform ICL with varying numbers of in-context demonstrations for each of these label sets. We observed that learning happens regardless of the quality of the label set itself, although its efficiency, measured by the slope of improvement over in-context demonstrations, is conditioned on both the label set quality and the parameter count of the underlying language model. Despite the emergence of learning, the relative quality (accuracy) of the choice of a label set (representation) is largely maintained throughout learning, confirming our hypothesis and implying their orthogonality. Our work reveals a previously underexplored aspect of ICL: the independent effects of learning from demonstrations and their representations on ICL performance.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 29 of its 38 references that are in the map. First posted on arXiv 9 Oct 2025.

Builds on

29 of 38 references.

References · 29

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2018DARTS: Differentiable Architecture Searchcited by 1,782
  3. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  4. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  5. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  6. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
  7. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
  8. 2023Large Language Models as Optimizerscited by 830
  9. 2022Transformers learn in-context by gradient descentcited by 714
  10. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  11. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
  12. 2021True Few-Shot Learning with Language Modelscited by 343
17 more
  1. 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
  2. 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 291
  3. 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
  4. 2023Transformers as Algorithms: Generalization and Stability in In-context Learningcited by 220
  5. 2023What In-Context Learning "Learns" In-Context: Disentangling Task Recognition and Task Learningcited by 149
  6. 2023Pretraining task diversity and the emergence of non-Bayesian in-context learning for regressioncited by 138
  7. 2023The Learnability of In-Context Learningcited by 126
  8. 2024In-Context Learning with Long-Context Models: An In-Depth Explorationcited by 126
  9. 2023A Theory of Emergent In-Context Learning as Implicit Structure Inductioncited by 86
  10. 2023In-Context Learning through the Bayesian Prismcited by 78
  11. 2023How Many Demonstrations Do You Need for In-context Learning?cited by 52
  12. 2024Let's Learn Step by Step: Enhancing In-Context Learning Ability with Curriculum Learningcited by 47
  13. 2024Disentangling Memory and Reasoning Ability in Large Language Modelscited by 43
  14. 2023A Latent Space Theory for Emergent Abilities in Large Language Modelscited by 42
  15. 2025Frontier LLMs Still Struggle with Simple Reasoning Taskscited by 20
  16. 2024Bayesian scaling laws for in-context learningcited by 18
  17. 2025The Geometry of Prompting: Unveiling Distinct Mechanisms of Task Adaptation in Language Modelscited by 14

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning
  2. 2026The Alchemy of Thought: Understanding In-Context Learning Through Supervised Classification
  3. 2024From Introspection to Best Practices: Principled Analysis of Demonstrations in Multimodal In-Context Learning
  4. 2023Dr.ICL: Demonstration-Retrieved In-context Learning
  5. 2025From Compression to Expression: A Layerwise Analysis of In-Context Learning
  6. 2024Investigating the Pre-Training Dynamics of In-Context Learning: Task Recognition vs. Task Learning
  7. 2025What do vision-language models see in the context? Investigating multimodal in-context learning
  8. 2023Towards Understanding In-Context Learning with Contrastive Demonstrations and Saliency Maps