Revisiting What Makes a Good Context Subset: A Sparse Latent Basis Perspective
Cen-Jhih Li, Siddhant Chaudhary, Aditya Bhaskara
Key points
From the paper's conclusion- These findings support a conditional, representation-dependent account of context subset quality rather than a universally superior selector.
Abstract
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Context Selection as a Partial Order: A Blackwell Framework and Verified LLM EvidenceMachine Learning and Knowledge Extraction · 2026
- From Search to Decision: How Post-Training Shapes Information-Seeking Capabilities in Large Language ModelsarXiv · 2026
- Query-based Submodular Data Selection for Efficient Instruction TuningarXiv · 2026
- QRAE: Query-Relevant Attention Entropy for Context Compression in DeepSearch AgentsarXiv · 2026
- RE-PRESENT: Evidence Triangulation across Alternative Candidate-Space Views for Efficient LLM Ensemble InferencearXiv · 2026
- DataSense-Bench: The First Step Toward an AI ScientistarXiv · 2026