arXiv:2508.04057cs.CL2025-08被引 5

让大模型自己判断是否需要查资料,省资源还更准。

PAIRS: Parametric-Verified Adaptive Information Retrieval and Selection for Efficient RAG

  • 用自生成上下文测试答案一致性,一致就不查资料
  • 仅75%查询触发检索,节省25%成本,准确率提升1.1% EM
  • 无需训练,适配所有现有RAG系统

检索增强生成(RAG)已成为提升大语言模型外部知识能力的核心技术。但当前RAG系统存在两大缺陷:一是对简单问题仍盲目检索,浪费计算资源;二是当查询信息稀疏时易召回无关文档。为此,我们提出无需训练的参数化验证自适应信息检索与选择框架(PAIRS),通过双路径生成机制实现动态决策。首先,模型基于自生成伪上下文生成两个答案,若二者收敛,则跳过外部检索,大幅提高效率;若不收敛,则启动双路径检索(DPR),结合原始查询与自生成上下文信号,并通过自适应信息选择(AIS)模块,按加权相似度筛选文档。在六个问答基准上实验表明,PAIRS将检索触发率降至75%,降低约25%检索开销,同时平均提升1.1% EM和1.0% F1得分。

原文摘要 · Abstract (English)

Retrieval-Augmented Generation (RAG) has become a cornerstone technique for enhancing large language models (LLMs) with external knowledge. However, current RAG systems face two critical limitations: (1) they inefficiently retrieve information for every query, including simple questions that could be resolved using the LLM's parametric knowledge alone, and (2) they risk retrieving irrelevant documents when queries contain sparse information signals. To address these gaps, we introduce Parametric-verified Adaptive Information Retrieval and Selection (PAIRS), a training-free framework that integrates parametric and retrieved knowledge to adaptively determine whether to retrieve and how to select external information. Specifically, PAIRS employs a dual-path generation mechanism: First, the LLM produces both a direct answer and a context-augmented answer using self-generated pseudo-context. When these outputs converge, PAIRS bypasses external retrieval entirely, dramatically improving the RAG system's efficiency. For divergent cases, PAIRS activates a dual-path retrieval (DPR) process guided by both the original query and self-generated contextual signals, followed by an Adaptive Information Selection (AIS) module that filters documents through weighted similarity to both sources. This simple yet effective approach can not only enhance efficiency by eliminating unnecessary retrievals but also improve accuracy through contextually guided retrieval and adaptive information selection. Experimental results on six question-answering (QA) benchmarks show that PAIRS reduces retrieval costs by around 25% (triggering for only 75% of queries) while still improving accuracy-achieving +1.1% EM and +1.0% F1 over prior baselines on average.

RAG优化检索效率自适应推理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。