arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.11907cs.IR
收藏

尾部感知自适应-k:面向检索增强生成的查询自适应上下文选择

Tail-Aware Adaptive-k: Query-Adaptive Context Selection for Retrieval-Augmented Generation

AI Lab, 37 Interactive Entertainment(37互动娱乐人工智能实验室);School of Computer Science, Wuhan University(武汉大学计算机学院)

Ziyu Song, Jiaming Fang, Kuangyu Li, Tuo Xia, Chuanpeng Wang

AI总结:

针对固定Top-K检索在查询依赖和重尾相似度分布下的失效问题,提出TAA-k框架,通过局部化极值理论验证策略实现高效、稳定的查询自适应截断,在三个数据集上达到接近最优的检索质量且效率大幅提升。

摘要:

自适应上下文选择对于检索增强生成(RAG)系统至关重要,因为固定的Top-K检索在查询依赖和重尾相似度分布下会失效。尽管极值理论(EVT)为自适应截断提供了原则性框架,但现有方法在整个排序列表上全局应用EVT,导致计算成本高昂且统计不稳定。我们提出尾部感知自适应-k(TAA-k),一种无需训练的框架,通过局部化验证策略实现EVT的操作化。关键洞察是,排序相似度曲线呈现出典型的陡-平-陡模式,反映了从相关主导到噪声主导的转变。TAA-k利用这种几何结构,通过拐点检测识别紧凑候选区域,然后在该窗口内应用基于EVT的拟合优度检验来验证尾部行为的起始点。这种由粗到精的设计将计算复杂度从O(N^2M)降低到O(sqrt{N log N} * M),同时保持统计严谨性。在温和的单调似然比假设下,TAA-k产生一个稳定的、查询自适应的截断点,对应于最早的噪声主导位置。在WebQuestions、2WikiMultiHopQA和MuSiQue上的实验表明,TAA-k实现了接近最优的检索质量(F1分数在最优值的2-3%以内),相比全局EVT方法效率提升数个数量级,并且在不同的嵌入模型和压缩维度下保持鲁棒性。

英文摘要:

Adaptive context selection is critical for retrieval-augmented generation (RAG) systems, as fixed Top-K retrieval fails under query-dependent and heavy-tailed similarity distributions. While Extreme Value Theory (EVT) offers a principled framework for adaptive truncation, existing approaches apply EVT globally across the entire ranked list, incurring prohibitive computational costs and statistical instability. We propose Tail-Aware Adaptive-k(TAA-k), a training-free framework that operationalizes EVT through a localized validation strategy. The key insight is that ranked similarity curves exhibit a characteristic steep--flat--steep pattern reflecting a transition from relevance-dominated to noise-dominated regimes. TAA-k exploits this geometric structure via knee detection to identify a compact candidate region, then applies EVT-based goodness-of-fit testing within this window to validate the onset of tail behavior. This coarse-to-fine design reduces computational complexity from O(N^2M) to O(sqrt{N\log N}*M) while maintaining statistical rigor. Under mild monotone likelihood ratio assumptions, TAA-k yields a stable, query-adaptive cutoff corresponding to the earliest noise-dominated position. Experiments on WebQuestions, 2WikiMultiHopQA, and MuSiQue demonstrate that TAA-k achieves near-oracle retrieval quality (F1 within 2-3% of oracle) with orders-of-magnitude efficiency gains over global EVT methods, while maintaining robustness across embedding models and compression dimensions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑