ChatPaper.aiChatPaper

相關性的新角色:在代理性搜尋中引導語料庫互動

A New Role for Relevance: Guiding Corpus Interaction in Agentic Search

July 27, 2026
作者: Jiangnan Li, Yuqing Li, Mo Yu, Jinchao Zhang, Jie Zhou
cs.AI

摘要

相关性是一种依赖于查询的估计方式,用于判断文档或摘要是否包含有用证据。现有检索代理利用相关性选择top‑k内容,但仅凭文档相关性无法对复杂问题所需的证据进行定位、组合或验证。直接语料交互(DCI)通过grep式的探索实现此类细粒度操作,然而其与相关性无关的搜索方式可能延迟暴露有用线索,从而拖慢收敛速度。最新研究利用相关性将语料库收窄为交互工作空间。一旦交互开始,相关性仍无法直接指导grep优先搜索哪些文档,也无法从大量匹配项中区分出信息丰富的摘要,使大语言模型优先看到它们。我们提出相关性感知的RipGrep搜索代理(RARG),它将相关性转化为语料库交互的执行先验。RARG提供由粗到细的相关性引导:它对文档进行排序以实现顺序式ripgrep遍历,从而更早暴露全局相关的线索;用与查询相关的段落初始化有前景的入口点;并对grep匹配结果进行重排序,以呈现文档级排名可能掩盖的信息丰富摘要。在具有挑战性的浏览式问答和推理密集型检索任务中,RARG在准确率‑效率前沿上超越了基于检索的代理和直接交互代理。这些结果表明,相关性感知的交互能够实现更快、更可靠的搜索收敛。
English
Relevance is a query-dependent estimate of whether a document or excerpt contains useful evidence. Existing retrieval agents use relevance to select top-k content, but document relevance alone cannot localize, compose, or verify the evidence required by complex questions. Direct Corpus Interaction (DCI) enables such fine-grained operations through grep-style exploration, but its relevance-agnostic search can expose useful clues late and delay convergence. Recent advances use relevance to narrow the corpus into a working space for interaction. Once interaction begins, however, relevance still does not directly guide which documents grep searches first or distinguish informative excerpts from a broad set of matches to let LLMs see them first. We introduce the Relevance-Aware RipGrep Search Agent (RARG), which turns relevance into an execution prior for corpus interaction. RARG provides coarse-to-fine relevance guidance: it orders documents for sequential 'ripgrep' traversal to expose globally relevant clues earlier, initializes promising entry points with query-relevant paragraphs, and reranks grep matches to surface informative excerpts that document-level ranking may otherwise obscure. Across challenging browse question answering and reasoning-intensive retrieval, RARG improves the accuracy--efficiency frontier over retrieval-based and direct-interaction agents. These results demonstrate that relevance-aware interaction enables faster and more reliable search convergence.