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

Jiangnan Li1,* · Yuqing Li2,* · Mo Yu1,† · Jinchao Zhang1 · Jie Zhou1,†
1Tencent  ·  2IIE-CAS  ·  * Equal contribution  ·  † Corresponding authors
arXiv GitHub
Accuracy and interaction cost comparisons on BrowseComp-Plus and BRIGHT
Figure 1. Accuracy/nDCG@10 versus interaction cost on BrowseComp-Plus and BRIGHT. RARG advances the accuracy–efficiency frontier over retrieval-based and direct-interaction agents.

Relevance should guide interaction.

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 enables fine-grained exploration, yet relevance-agnostic search can expose useful clues late and delay convergence.

We introduce the Relevance-Aware RipGrep Search Agent (RARG), which turns relevance into an execution prior for corpus interaction. It orders document traversal, initializes promising entry points, and reranks local matches so useful evidence reaches the model earlier.

Relevance no longer only decides what enters the context. It guides where interaction begins, which documents are searched first, and which local excerpts remain visible.

Coarse-to-fine relevance guidance.

RARG preserves the fine-grained, compositional interface of direct corpus interaction while using retrieval scores as guidance rather than a hard evidence bottleneck.

RARG framework with document-level and match-level relevance guidance
Figure 2. Document-level relevance determines where rg searches first; match-level relevance determines which excerpts reach the model.
RARG Ranks the corpus into a scope file and makes rg scan documents sequentially in relevance order.
RARG+ Adds query-relevant paragraphs as an entry point, helping the agent formulate its first precise search.
RARG++ Reranks a broader pool of local matches so informative excerpts from lower-ranked documents remain visible.

Higher accuracy with fewer interactions.

Following RISE, we evaluate on 100-query BC+ and 4 BRIGHT subsets (biology, earth science, economics, robotics). Across these settings, relevance-aware interaction improves both search quality and convergence efficiency.

84% Accuracy on BC+ 100K with GPT-5.4-mini.
23.9 Average tool calls for RARG++, compared with 99.1 for DCI.
53.36 Average nDCG@10 on BRIGHT with RARG+.

BrowseComp-Plus · 100K corpus

Main results on BC+ with a 100K-document corpus. Turns and Tools are average agent turns and tool calls; Search / Bash / Read break down tool usage. For RARG, Search denotes embed_recall.

Model Method Acc ↑ Turns Tools Search Bash Read
GPT-5.4 mini
(medium)
RISE 7824.328.713.19.26.4
RISE-BM25 7723.029.614.89.65.2
RISE-Q3-Emb-4B 6928.935.922.19.14.7
Retrieval-Agent 6829.238.937.01.9
DCI 7848.899.190.38.8
RARG 8018.229.81.227.21.4
RARG+ 8120.229.61.626.61.3
RARG++ 8417.623.91.521.11.3
RARG++ (generative) 7515.817.81.215.41.3
GPT-5.4-nano
(high)
RISE 6823.428.710.48.44.6
RISE-BM25 6422.029.610.28.13.7
DCI 7145.7126.5119.47.1
RARG 7339.941.49.129.52.8
RARG+ 7440.239.814.522.42.9
RARG++ 7936.036.19.623.43.1
GPT-5.4
(medium)
RISE 8232.2034.3011.0016.207.10
RARG++ 9113.5925.431.5819.464.39

Table 1. Main results on BC+ with a 100K-document corpus. RARG++ reaches the best accuracy on every backbone while sharply reducing tool cost relative to DCI.

BrowseComp-Plus · scaling to 1M

After expanding the corpus with 900K long FineWeb-Edu documents, RARG++ retains a clear margin over RISE-BM25 with only a small increase in tool calls.

Model Method Acc ↑ Turns ↓ Tools ↓ Search Bash Read
GPT-5.4 mini
(medium)
RISE-BM25 6925.432.1 (+2.5)20.3 (+5.5)8.3 (−1.3)3.5 (−1.7)
RARG 7819.331.8 (+2.0)1.5 (+0.3)28.7 (+1.5)1.7 (+0.3)
RARG+ 7821.930.4 (+0.8)1.5 (−0.1)27.5 (+0.9)1.4 (+0.1)
RARG++ 7917.824.7 (+0.8)1.4 (−0.1)22.0 (+0.9)1.4 (+0.1)

Table 2. Results after scaling BrowseComp-Plus from 100K to 1M documents. Deltas are relative to each method’s 100K setting.

BrowseComp-Plus scaling comparison from 100K to 1M documents
Figure 3. Accuracy and tool-cost comparison when scaling BrowseComp-Plus from 100K to 1M documents.

BRIGHT · reasoning-intensive retrieval

On BRIGHT, the objective favors broad candidate recall rather than fast QA convergence. RARG+ still attains the best average nDCG@10, ahead of the retrieval-specialized NeMo agent.

Method Avg. ↑ Bio. Earth Eco. Rob. Tools Search Bash Read
DCI 48.4362.0554.9437.1339.59 40.0414.7325.31
RISE-BM25 41.6050.2747.8033.6534.67 31.827.552.1522.12
NeMo Agent 52.8965.1561.8539.0545.49 7.686.36
RARG 51.7563.8760.5438.5044.07 28.731.1011.2516.38
RARG+ 53.3666.7062.1637.2347.34 27.551.239.8716.45
RARG++ 50.5561.6561.3236.1443.10 27.281.148.4017.74

Table 3. Retrieval effectiveness on BRIGHT (nDCG@10) with GPT-5.4-mini. Tool counts reflect different interfaces and are not directly comparable across agent families.

How relevance shapes tool use.

Document-level relevance keeps evidence discovery front-loaded; match-level reranking recovers useful excerpts from lower-ranked documents; scoped rg dominates Bash usage when the backbone follows instructions.

Relevant-document hits over scope ranks on BrowseComp-Plus
Figure 4. Relevant-document hits over scope ranks on BrowseComp-Plus. Embedding hits are top-concentrated but few; DCI is flat and relevance-agnostic; RARG stays front-loaded while match-level reranking recovers evidence from lower-ranked documents.
Scope quality and Bash usage under RARG on BrowseComp-Plus
Figure 5. Scope quality and Bash usage under RARG. (a) Scope recall and RG coverage for GPT-5.4-nano / mini at 100K, and mini at 1M. (b) Composition of Bash calls: scoped rg versus non-scoped Bash, with residual command types.

Citation.

If you find this work useful, please cite:

@misc{li2026newrolerelevanceguiding,
  title         = {A New Role for Relevance: Guiding Corpus Interaction in Agentic Search},
  author        = {Jiangnan Li and Yuqing Li and Mo Yu and Jinchao Zhang and Jie Zhou},
  year          = {2026},
  eprint        = {2607.24223},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CL},
  url           = {https://arxiv.org/abs/2607.24223}
}