mlsanityData to 24 Nov 2026

Revisiting What Makes a Good Context Subset: A Sparse Latent Basis Perspective

arXiv 2611.19220 ↗Submitted 14 Nov 2026cs.CL cs.AI cs.IRcited by 0

Not on the map. Why?

Abstract (arXiv)

Selecting context subsets is increasingly important in modern LLM inference, yet what makes a subset effective remains unclear. We study this question in the controlled setting of few-shot demonstration selection. We examine a hypothesis that demonstrations should collectively provide task-relevant information needed by a target query. Assuming that the query representation provides a useful proxy for these requirements, we formulate selection as sparse reconstruction and instantiate it with Residual Explanation Search (RES), a Matching-Pursuit-style diagnostic procedure. Across seven benchmarks and eight open-weight LLMs, no retrieval objective is universally best. RES outperforms MMR in 34 of 56 model--dataset pairs, with its clearest advantage on sentiment tasks, suggesting that query-conditioned collective reconstruction may capture useful complementarity that pairwise dissimilarity misses. Relevance-based retrieval remains strong on template-heavy reasoning benchmarks, while all retrieval methods underperform zero-shot prediction on average on StrategyQA, where a solution-reconstruction analysis is consistent with the query not exposing the required external knowledge. Target-model hidden states further show that retrieval objectives interact differently with representation spaces: middle-layer representations generally favor similarity retrieval, whereas last-layer representations are often stronger for residual- and diversity-based selection. These findings support a conditional, representation-dependent account of context subset quality rather than a universally superior selector.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 22 of its 72 references that are in the map. Submitted 14 Nov 2026.

Builds on

22 of 72 references.

References · 22

  1. 2020Language Models are Few-Shot Learnerscited by 33,113
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,559
  3. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 5,035
  4. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,241
  5. 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 764
  6. 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 685
  7. 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 673
  8. 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 370
  9. 2025Layer by Layer: Uncovering Hidden Representations in Language Modelscited by 334
  10. 2023Compositional Exemplars for In-context Learningcited by 152
  11. 2022Complementary Explanations for Effective In-Context Learningcited by 73
  12. 2023Coverage-based Example Selection for In-Context Learningcited by 66
10 more
  1. 2023OpenICL: An Open-Source Framework for In-context Learningcited by 53
  2. 2024Prompt Optimization with EASE? Efficient Ordering-aware Automated Selection of Exemplarscited by 40
  3. 2025Where to show Demos in Your Prompt: A Positional Bias of In-Context Learningcited by 19
  4. 2025Sample Efficient Demonstration Selection for In-Context Learningcited by 15
  5. 2025Linear-Time Demonstration Selection for In-Context Learning via Gradient Estimationcited by 12
  6. 2024EXPLORA: Efficient Exemplar Subset Selection for Complex Reasoningcited by 6
  7. 2025Order Matters: Rethinking Prompt Construction in In-Context Learningcited by 5
  8. 2025Topic Coverage-based Demonstration Retrieval for In-Context Learningcited by 4
  9. 2026Many-Shot CoT-ICL: Making In-Context Learning Truly Learncited by 4
  10. 2026UCS: Estimating Unseen Coverage for Improved In-Context Learningcited by 1

Built on by

Not cited yet.