arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.09803cs.CL
收藏

检索作为决策:无需训练的自适应检索门控以实现高效的RAG

Retrieval as a Decision: Training-Free Adaptive Gating for Efficient RAG

Department of Computer Science(计算机科学系);Stony Brook University(石溪大学);Department of Artificial Intelligence(人工智能系);Westlake University(西湖大学)

Yufeng Wang, Lu wei, Haibin Ling

AI总结:

本文提出TARG,一种无需训练的自适应检索门控方法,通过短稿前缀logits计算不确定性评分,仅在评分超过阈值时触发检索,提升RAG的效率与准确性。

摘要:

检索增强生成(RAG)提升了事实性,但每次查询都检索往往损害质量并增加token和延迟。我们提出无需训练的自适应检索门控(TARG),一种单次决策策略,仅使用基础模型生成的短稿决定何时检索。从稿的前缀logits计算轻量级不确定性评分,包括均token熵、通过单调链接从top-1/top-2 logit间隙导出的边距信号,或少量N的方差,仅在评分超过阈值时触发检索。该门控模型无关,仅增加数十到数百个draft token,且无需额外训练或辅助头。在五个涵盖短答案(NQ-Open,TriviaQA,PopQA)、多跳(MuSiQue)和长形式(ASQA)任务的QA基准上,TARG一致推动了准确性-效率前沿:与Alway-RAG相比,TARG在减少70-90%检索的同时提高EM/F1,且降低端到端延迟,且与Never-RAG在开销上保持接近。一个核心经验发现是,在现代指令调优LLM下,边距信号是稳健的默认选择(熵压缩作为backbones变尖),小-N方差提供保守的、预算优先的替代方案。我们提供了门控类型和前缀长度的消融实验,并使用Δ-延迟视图使预算权衡显式化。

英文摘要:

Retrieval-Augmented Generation (RAG) improves factuality but retrieving for every query often hurts quality while inflating tokens and latency. We propose Training-free Adaptive Retrieval Gating (TARG), a single-shot policy that decides when to retrieve using only a short, no-context draft from the base model. From the draft's prefix logits, TARG computes lightweight uncertainty scores-mean token entropy, a margin signal derived from the top-1/top-2 logit gap via a monotone link, or small-N variance across a handful of stochastic prefixes-and triggers retrieval only when the score exceeds a threshold. The gate is model-agnostic, adds only tens to hundreds of draft tokens, and requires no additional training or auxiliary heads. On five QA benchmarks spanning short-answer (NQ-Open, TriviaQA, PopQA), multi-hop (MuSiQue), and long-form (ASQA) tasks, TARG consistently pushes the accuracy-efficiency frontier: compared with Alway-RAG, TARG matches or improves EM/F1 while reducing retrieval by 70-90% and cutting end-to-end latency, and it remains close to Never-RAG in overhead. A central empirical finding is that under modern instruction-tuned LLMs the margin signal is a robust default (entropy compresses as backbones sharpen), with small-N variance offering a conservative, budget-first alternative. We provide ablations over gate type and prefix length and use a $Δ$-latency view to make budget trade-offs explicit.

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

↑