OpenSearcher: Democratizing Deep Search through a Fully Offline Pipeline with Programmatic Verification

Zheng Chu, Xiao Wang, HuiMing Fan, Qianyu Wang, Zhuoyao Wang, Xiang Cheng, Ming Liu, Bing Qin, XingYuNeurIPS 2026

TL;DR

Training AI agents to conduct complex, multi-step web research usually burns through tens of thousands of dollars in commercial search API fees and relies on flaky LLM "judges" to check if synthetic training questions actually make sense. OpenSearcher solves both headaches by unplugging from the live internet entirely: it builds a massive local search sandbox and uses the mathematical topology of knowledge graphs to deterministically guarantee that generated training questions have one unique, verifiable answer. The result is an open-source, zero-API-cost training pipeline whose models rival—and sometimes beat—agents trained on the live web.

What Problem Does This Paper Address?

Teaching an LLM to do "deep search"—breaking down gnarly questions, issuing dozens of search queries, cross-referencing sources, and synthesizing chains of evidence—requires massive amounts of multi-step training data. Currently, building this data hits three walls:

  1. The Verification Trap: You can easily prompt an LLM to invent complex multi-hop questions, or walk a graph to connect facts. But how do you know the resulting question has only one right answer? Relying on an LLM-as-a-Judge to verify complex reasoning chains is non-deterministic and breaks down as questions get harder.
  2. The API Tax: Generating search trajectories and running reinforcement learning (RL) requires millions of search queries. Using commercial APIs (like SerpAPI) costs tens of thousands of dollars for a single training run, pricing out academic labs.
  3. Closed Doors: Most frontier deep-search pipelines keep their data synthesis recipes under wraps, making the science nearly impossible to reproduce.

Methods

OpenSearcher operates completely offline from data creation to final RL training, anchored by two big ideas: programmatic verification and a local search sandbox.

Overview of the three-stage OpenSearcher offline pipeline

Here is how the machine works:

  • Distinguishing Sets & SPARQL Verification (Novel): Instead of guessing if a question is unique, OpenSearcher starts with a target entity in Wikidata (say, Albert Einstein) and finds a minimal Distinguishing Set—the smallest combination of (relation, neighbor) facts that points to only that entity across the entire database. It checks this deterministically using a fast, CPU-hosted SPARQL database query.
  • Branching DAG Expansion (Novel): Rather than building simple linear chains ($A \rightarrow B \rightarrow C$), the system recursively expands neighbors into branching Directed Acyclic Graphs (DAGs), using breadth-first search near the root for diverse clues and depth-first search deeper down for long reasoning chains.
  • Progressive Generation & Fuzzification: An LLM translates the structured graph into a natural language question while hiding intermediate entities. Crucially, it then "fuzzifies" the query—swapping exact dates for ranges and iconic facts for obscure ones (e.g., turning Switzerland into "a landlocked country in Central Europe") so the agent can't just Google a single keyword shortcut.
  • Offline Sandbox & Post-Training (Standard frameworks, novel setup): Using a local search engine containing 10M+ documents, DeepSeek-V3.2 generates ReAct-style search trajectories (averaging 48 tool calls per question!). Correct trajectories are used for Supervised Fine-Tuning (SFT) on a Qwen3-30B-A3B-Thinking base model, followed by Group Relative Policy Optimization (GRPO) reinforcement learning—all without touching an external API.

Datasets

  • Offline Corpus & Synthesis Foundation: Built entirely from public dumps: Wikidata (for graph walks and SPARQL verification), Wikipedia (entity descriptions), and FineWeb crawl dumps (millions of noisy web pages added so the local search engine isn't artificially clean).
  • Evaluation Benchmarks: At test time, the agent is unleashed onto live online search APIs and tested across six existing benchmarks: BrowseComp and BrowseComp-zh (English and Chinese multi-source synthesis), GAIA (multi-step web reasoning), HLE (Humanity's Last Exam—expert academic queries), and xBench-DeepSearch / 2510 (cross-lingual deep search).

Key Insights and Ideas

  • Uniqueness makes or breaks RL: When the authors ran RL without the SPARQL uniqueness gate, rewards fluctuated wildly and BrowseComp accuracy barely budged (+1.3%). With guaranteed unique answers, RL boosted accuracy by +6.1% (and +13.5% on BrowseComp-zh). Ambiguous ground truths poison RL signals.
  • Fuzzification kills shortcuts: Before fuzzification, a strong LLM solved 46.7% of synthetic questions with a perfect score; after fuzzification, that dropped to 15.3%, forcing genuine multi-turn exploration.
Figure 2: (a) Multi-stage filtering breakdown. (b) Accuracy distribution before and after fuzzification. Only samples with Pass@k > 0 are included in the difficulty statistics.
  • Language-agnostic search habits: Even though OpenSearcher was trained exclusively on English data, it transferred remarkably well to Chinese benchmarks, proving that decomposing problems and verifying evidence are language-independent skills.
  • Retrieval vs. Reasoning bottlenecks: Comparing tool calls on failed vs. solved questions revealed a neat dichotomy: on BrowseComp, wrong answers used twice as many searches as right ones (61 vs. 30)—the model was desperately hunting for sparse needles in haystacks. On HLE, tool counts were identical (~15), meaning the model found the text quickly and simply hit a pure reasoning wall.

Key Results

  • New Offline SOTA: OpenSearcher hits 32.3% on BrowseComp (crushing prior offline methods OffSeeker at 12.8% and OpenResearcher at 26.3%) and 72.8% on GAIA.
  • Beating Online Agents: Despite zero live-web training, this 30B model outperforms online-trained open-source heavyweights like DeepSeek-V3.1 (30.0% BrowseComp, 63.1% GAIA) and DR-Venus (29.1% BrowseComp, 64.4% GAIA).
  • Zero API Cost: Generating the 5.6 million search calls needed for SFT alone would cost $8,830 to $44,149 via commercial APIs (plus up to $150 per RL step). OpenSearcher's API bill: **$0**.
  • Inference Scaling: Sampling 8 rollouts (pass@8) on BrowseComp nearly doubles accuracy from 32.3% to 64.3%, while simply discarding trajectories that hit the max context limit (discard-all) boosts single-answer accuracy to 42.3%.

Limitations and Future Work

While the authors do not include a dedicated "Limitations" section in the main text, several boundaries are explicitly noted across their experiments:

  • Diminishing returns on graph size: Scaling synthetic DAGs from 11.2 to 33.8 nodes makes questions slightly harder, but the gains are sub-linear compared to the computational overhead of synthesizing massive graphs.
  • High rollout variance: The massive jump between pass@1 (32.3%) and pass@8 (64.3%) shows that while the agent can solve most problems, individual search trajectories remain highly stochastic—making better test-time selection a ripe area for future work.
  • Ablation scope: The authors candidly note that their uniqueness-gate experiment compares their final pipeline against an earlier internal synthesis variant rather than a strict, full-factorial ablation.
  • Ecosystem building: By open-sourcing the entire corpus builder, SPARQL verifier, and training recipe, the authors aim to hand academic labs a reproducible baseline to push offline agent research forward.

Summary updated

Abstract

Deep search capabilities have become an indispensable competency for frontier large language model (LLM) agents, yet training high-performance deep search agents remains constrained by three key challenges: as synthesized reasoning graphs grow in complexity, verifying answer correctness and uniqueness becomes increasingly difficult to scale; heavy dependence on online search APIs makes data synthesis costly and hard to scale; and the lack of fully open synthesis pipelines severely hinders reproducibility. To bridge this gap, we introduce OpenSearcher, the first deep search agent training pipeline with zero online API dependency throughout the entire data synthesis and model training process, built upon two core technical innovations: (1) \textit{Distinguishing Set-grounded QA synthesis with programmatic verification}: we compute minimal Distinguishing Sets on Wikidata to uniquely identify target entities, recursively expand them into reasoning DAGs, and transform the structured graphs into natural language questions via progressive generation and fuzzification. Answer uniqueness is deterministically verified through SPARQL conjunctive queries, complemented by lightweight LLM filtering for linguistic quality. (2) \textit{Fully offline training pipeline}, which builds an offline corpus of tens of millions of documents from publicly downloadable Wikidata, Wikipedia, and Web Crawl Dumps, and completes trajectory synthesis, SFT cold start, and reinforcement learning entirely offline. Experimental results demonstrate that OpenSearcher achieves strong performance across deep search benchmarks, establishing a new state of the art among fully offline methods, for example, achieving 32.3% on BrowseComp and 72.8% on GAIA. We fully open-source the complete data synthesis pipeline to democratize offline deep search agent research and foster a more transparent, collaborative ecosystem. Code is available at \url{https://github.com/RedSearchAgent/REDSearcher/tree/main/OpenSearcher}.
BibTeX
@inproceedings{chu2026opensearcher,
  author = {Zheng Chu and Xiao Wang and HuiMing Fan and Qianyu Wang and Zhuoyao Wang and Xiang Cheng and Ming Liu and Bing Qin and XingYu},
  title = {{OpenSearcher: Democratizing Deep Search through a Fully Offline Pipeline with Programmatic Verification}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=VKegdQ1pF8},
}
Figure