跳到正文
arXiv (AI + Vision + Imaging)· Cen-Jhih Li, Siddhant Chaudhary, Aditya Bhaskara·· 8 天前AI 评分22

重新审视优质上下文子集的选择:稀疏潜在基视角下的少样本示例选择

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

AI 导读

研究在少样本示例选择中检验"示例应共同提供目标查询所需任务相关信息"的假设,提出匹配追踪式诊断方法 Residual Explanation Search(RES),将选择建模为稀疏重建。

正文 · 原文

arXiv:2611.19220v1 Announce Type: new 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.

来源:arXiv (AI + Vision + Imaging) · arxiv.org