Beyond Semantic Similarity: Rethinking Retrieval for Agentic Search via Direct Corpus Interaction
Zhuofeng Li, Haoxiang Zhang, Cong Wei, Pan Lu, Ping Nie, Yuyang Bai, Shangbin Feng, Hangxiao Zhu, Ming Zhong, Yuyu Zhang, Jianwen Xie, Yejin Choi, James Zou, Jiawei Han, Wenhu Chen, Jimmy Lin, Dongfu Jiang, Yu Zhang
NeurIPS page · Open on the map
Category: LLM Reasoning, Memory & RAG › Retrieval-Augmented LLM and Search Systems · Type: new method · Keywords: direct corpus interaction, agentic search, retrieval interface, terminal tools, information retrieval
Areas: AI Agents › Agent Capabilities › Agentic RAG; Evaluation & Benchmarks › Model Capability Diagnostics › Agentic Search Agents
Summary
Direct Corpus Interaction (DCI) enables agents to search raw corpora using terminal tools, outperforming conventional sparse/dense retrievers on information retrieval and agentic search benchmarks.
Explained to a 5-year-old
Agents need to find information, but regular search only shows the most similar pages. The new idea lets them look through the raw text using simple commands like grep. This helps them find exact words and piece together clues step by step. It makes searching more flexible and powerful.
Explained to a 5-year-old, longer
When you search on the internet, you usually get pages that look similar to what you asked for. This works fine for simple questions, but when you need to find many pieces of information and connect them, it can be hard. The new method lets the agent open the raw text of documents and use everyday tools like grep, file readers, and shell commands to look for exactly what it needs. This way, the agent can find specific words, check small details, and keep refining its search as it learns more. It does not need to build big indexes or use complicated embedding models. By interacting directly with the data, the agent can adapt quickly to new or changing information. This approach was tested on several search benchmarks and performed better than the usual methods. It also helped with complex questions that require multiple steps to answer. Overall, it shows that giving agents richer ways to talk to data can make them much more capable.
For a technical reader
Direct Corpus Interaction (DCI) lets agents query raw text using standard command-line tools instead of relying on embedding-based retrieval. This eliminates the need for pre-computed indexes and allows on-the-fly adaptation to changing data. The approach was evaluated on standard IR benchmarks (BRIGHT, BEIR) and an agentic search benchmark (BrowseComp-Plus), where it outperformed sparse, dense, and reranking baselines. It also improved multi-hop question answering without a conventional semantic retriever. The results highlight that richer interfaces can boost retrieval quality as agents become more capable.
Problem
Current retrieval-augmented systems rely on fixed similarity interfaces that return only top-k documents, limiting the ability of agents to perform exact lexical matching, combine weak clues, verify local context, and iteratively refine search strategies.
Method
The approach lets an agent directly query the raw corpus using generic terminal tools such as grep, file reads, shell commands, and lightweight scripts, eliminating the need for embedding models, vector indexes, or retrieval APIs.
Results
The approach substantially outperforms sparse, dense, and reranking baselines on BRIGHT, BEIR, and BrowseComp-Plus, and achieves strong accuracy on multi-hop question answering.
Contributions
It introduces direct corpus interaction as a simple alternative to embedding-based retrieval, demonstrates its effectiveness across multiple benchmarks, and highlights the importance of richer corpus interfaces for agentic search.
Practical relevance
It enables more flexible and effective agentic search by allowing direct interaction with corpora, potentially improving performance in real-world applications that rely on iterative discovery and evidence combination.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction