Building training data for search agents
TL;DR. For search agents, the training questions largely decide what the agent learns. NQ and HotpotQA teach one or two clean queries. Agents that do well on BrowseComp-style tasks are trained on synthetic questions that are deliberately hard to search: several indirect clues, blurred dates and names, and a short answer that can be checked automatically. This page compares how twelve recent pipelines build such data. The main design choices are where the facts come from, how difficulty is added, and how the answer is verified.
Why it matters now. Most agent papers change the data and the training recipe at the same time, so it is hard to tell which helped. The few controlled comparisons (WebShaper’s Table 2, ORBIT’s InfoSeeker-4B baseline, InfoSeek’s Table 5) all find that the data matters at fixed recipe. For an IR researcher, the problem also looks familiar: a good training question is a query whose relevant set has exactly one element, and which no single query can retrieve.
A model of what makes a question hard
Section titled “A model of what makes a question hard”Think of each clue as a filter that keeps a fraction of a universe of candidates. If clues are roughly independent, the expected number of wrong candidates that satisfy all of them is about .
- With wrong matches expected, the chance that the answer is unique is roughly . A product near gives and only about 37% uniqueness, so a reliable question needs .
- A small product over all clues suggests joint uniqueness, not a shortcut. The question is overdetermined when a single clue or a small subset of clues already isolates the answer, so a single good query solves it; InfoSeek (§2.4) names this failure explicitly. Diagnose it by checking small subsets, not the full product. Good questions can have a very small full product while every small subset remains ambiguous: ten independent clues that each keep 20% of 100,000 candidates leave about 0.01 wrong matches jointly, but about 4,000 for any pair.
- If the product is well above , the question is underdetermined: several entities fit, and the gold answer is one arbitrary choice. WebSailor reports this for some SailorFog-QA items.
- Search difficulty comes from clues that are each weak (large , hard to query directly) but jointly selective. Blurring a clue (“2017” → “the late 2010s”) raises its ; to keep the answer unique, the pipeline must add clues or keep others tight.
The answer should also not be in the model’s memory, otherwise RL rewards answering without searching. And it should be short and canonical (a name, a number, a date), so that exact match or an LLM judge can score it reliably.
The pipelines compared
Section titled “The pipelines compared”Sizes are as reported in each paper; “released” means public at the time of writing.
| Dataset (paper) | Source of facts | How difficulty is added | How answers are checked | Size | Cost / API dependence | Answer type |
|---|---|---|---|---|---|---|
| ORBIT (2604.01195) | Wikipedia category pages as seeds, then the open web | DeepSeek-V3.1 chat with search writes an inverted question with 4–5 clues | DeepSeek self-check with search; then a different model answers from the scraped cited pages (Qwen3-4B, then gpt-oss-120b) | 20K (44.1K generated) | No paid API; free chat interfaces driven by Selenium; 2–3 months | Short entity, number or date; exact match |
| SailorFog-QA (WebSailor, 2507.02592) | Rare Wikidata entity, expanded by web search | Random-walk graph with cycles, subgraph sampling, then blurred dates, names and numbers | Answer satisfies the clues by construction; uniqueness not guaranteed | Not stated (v1) | Google search, Jina, large LLMs | Entity; LLM judge |
| WebDancer crawlQA / e2hQA (2505.22648) | Crawled pages of official sites; existing QA | crawlQA: GPT-4o writes count, multi-hop and intersection questions; e2hQA: replace an entity by a sub-question, repeatedly | Rejection sampling of agent trajectories | 60K + 40K QA | GPT-4o, QwQ, web tools | Entity or count; LLM judge |
| WebShaper (2507.15061) | Offline Wikipedia random walks as seeds | Formal set operations (knowledge projections); an agent expands leaf constants layer by layer | Validate tool: type check and reject if QwQ answers without search; 5 rollouts, judge filter | 5K trajectories; 500 QA released | Search and summarize tools; QwQ, larger LLMs | Entity; LLM judge |
| InfoSeek (2509.00375) | Wikipedia pages and hyperlinks | Tree of constraints (HCSP); blur a node with several constraints; deepen through links | Drop items Qwen2.5-32B answers directly; Gemini 2.5 Flash must solve from gold pages plus distractors, with a unique answer | 52,138 QA | About 572 dollars total | Entity |
| InForage (2505.09316) | About 80K web pages (Jan–Mar 2025) and 172K extracted claims | Chain at least 3 non-redundant claims via Google results | 500 human-built and verified; then GPT-4o as annotator; gold URLs kept for the coverage reward | 20K (19.5K train) | Google search, GPT-4o; not released per InfoSeek’s table | Short answer; EM |
| SimpleDeepSearcher (2505.16834) | Existing open-domain QA sets, sampled for diversity | Live-web trajectories with commercial search APIs; select hard, efficient ones | Correct answer plus format, reasoning-path and search-efficiency filters | 871 SFT trajectories | Commercial search APIs, QwQ | From source datasets |
| TaskCraft (2506.10055) | Web pages, PDFs, images | Atomic tasks from tool outputs, extended in depth (chain) and width (merge) | Agent check for atomic tasks; LLM checks for superset relation and information leakage | About 36K tasks | LLM-based, multimodal tools | Short tool-derived answer |
| ASearcher (2508.07976) | Seed QA plus facts found by search | Agent alternates “injection” (add facts) and “fuzz” (blur details) | Quality check against supporting facts; QwQ-32B answers without tools to measure difficulty; check alternative answers for uniqueness | 134K generated (25.6K need tools); 35K sets released | LLM synthesis agent with search | Entity |
| WebExplorer-QA (2509.06501) | Wikipedia seed entities explored by an LLM with search | Model-based exploration, then 5 rounds of long-to-short evolution (remove salient clues, blur) | Difficulty measured by Claude-4-Sonnet (86.6% → 67.1% accuracy); no separate answer audit found | About 40K | Frontier LLM with search | Entity; LLM judge |
| DeepDive (2509.10446) | KILT and AMiner knowledge graphs | Random walk with out-degree limits; Gemini-2.5-Pro blurs entity attributes | Drop items GPT-4o with search solves in any of 4 tries | 3,250 QA | Gemini, GPT-4o; Serper and Jina | Entity |
| MiroVerse (MiroThinker, 2511.11793) | Hyperlinked Wikipedia, Common Crawl and other web pages; plus open QA sets | Hyperlink-walk subgraph, fact extraction, blur time and place, LLM-written question; trajectories from several LLMs | Not described in detail in the paper | v0.1: 100K–1M (Hugging Face tag); v1.0 not stated | Several LLMs (GPT-OSS, DeepSeek-V3.1); gated, CC BY-NC 4.0 | Mixed; trajectories |
Three groups stand out:
- Graph-first (SailorFog-QA, WebShaper, InfoSeek, DeepDive, MiroVerse): build an explicit graph of entities or pages, sample a structure, then write a question. Easy to control the number of hops and to check uniqueness against the graph, but the result inherits the graph’s coverage (mostly Wikipedia).
- LLM-first (ORBIT, WebExplorer, ASearcher, crawlQA): a strong model with search writes the question directly, then other steps make it harder or check it. Less machinery and broader topics, but verification has to be added explicitly, and the writer’s knowledge biases what gets asked.
- Trajectory-first (SimpleDeepSearcher, TaskCraft, MiroVerse’s open-QA part): reuse existing questions and spend the effort on collecting and filtering good agent trajectories for SFT.
Worked example: one ORBIT item through the pipeline
Section titled “Worked example: one ORBIT item through the pipeline”Take ORBIT’s example from TV & movies (Table 2 of the paper).
- Seed. A film page from a Wikipedia category in the TV & movies domain.
- Generation. DeepSeek-V3.1 with search writes: the exact runtime of a 2017 animated film set inside a phone’s messaging app, directed by someone known for children’s-franchise sequels, whose hero’s expressions malfunction, voiced partly by a sitcom lead, from a studio that later won an Oscar for a Spider-Man film. Answer: 86 minutes.
- Self-verification. DeepSeek searches again and confirms each clue with a URL: The Emoji Movie (2017) is set in a messaging app; Tony Leondis directed Lilo & Stitch 2; Gene’s expressions malfunction; T.J. Miller starred in Silicon Valley; Sony Pictures Animation won the Oscar for Spider-Verse.
- External verification. The cited pages are scraped; Qwen3-4B, reading only those pages, must answer “86 minutes” and judge it a match.
In the candidate-set model: “2017 animated feature” keeps perhaps a few dozen films out of all films; “set inside a messaging app” alone almost identifies it. So this item is close to overdetermined: one query like 2017 animated film inside smartphone messaging app likely returns the film, and a second query finds the runtime. The other clues add confirmation more than difficulty. A SailorFog-style pipeline would blur the setting clue (“a film set in a consumer device”) and keep the rest; InfoSeek calls this pattern overdetermination and selects clues to reduce it (it requires that no clue’s candidate set contains another’s). This is a choice, not an error: the ORBIT authors target a 4B model with at most 5 search turns, and their own ablation finds that a heavier share of hard data hurts at that scale.
Lessons
Section titled “Lessons”- Verify against evidence, not against the writer. The strongest checks reach the gold answer from retrieved pages with a different model (ORBIT Stage 4, InfoSeek’s Gemini check). Self-checks by the generating model are weaker.
- Check uniqueness explicitly. Only InfoSeek and ASearcher do this directly; graph-based pipelines could do it cheaply by querying the graph.
- Filter both ends. Drop items answerable without search, and track how many items no rollout solves, because those give no RL signal.
- Report size, cost and licence. Several papers give no item count or release only a small sample, which makes data-scale comparisons impossible.
Connections
Section titled “Connections”- WebSailor, WebDancer and WebShaper, ORBIT and InForage and InfoSeek have their own pages.
- DeepResearcher is the contrast case: it trains on existing open-domain QA and relies on the live web for difficulty.
- BrowseComp and BrowseComp-Plus are what most of these datasets imitate; contamination matters because several pipelines seed from Wikipedia, which models have memorised.
- LLM-as-judge covers the judges used both for verification and for reward.
- ASearcher and DR Tulu describe the training systems that consume some of this data.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
Use the candidate-set model from this page. The universe is 100,000 films; a question has five independent clues that keep fractions 0.01, 0.05, 0.1, 0.2 and 0.3 of the candidates. Compute the expected number of wrong films that satisfy every clue and the chance the answer is unique. Then obfuscate the first clue so it keeps 0.1 instead of 0.01 and recompute. What does this say about blurring clues?
What a strong answer covers
- Product of fractions: 0.01 × 0.05 × 0.1 × 0.2 × 0.3 = 3 × 10^-6; expected wrong matches = 99,999 × 3 × 10^-6 ≈ 0.3.
- With a Poisson approximation, P(no other match) ≈ e^-0.3 ≈ 0.74, so about one question in four would have another valid answer.
- After blurring clue 1 to 0.1: product 3 × 10^-5, expected wrong matches ≈ 3, P(unique) ≈ e^-3 ≈ 0.05: the question is now underdetermined.
- Blurring raises search difficulty only if other clues are added or tightened so that the expected number of wrong matches stays well below 1 (a product near 1/N gives only about e^-1 ≈ 37% uniqueness); this is why InfoSeek and ASearcher add an explicit uniqueness check and why WebSailor reports non-unique answers.
- Mechanism
Several pipelines (WebShaper, InfoSeek, ASearcher, DeepDive) throw away questions that a strong model can answer without tools, or that a model with search solves easily. Explain what each filter removes and why each matters for RL with a group-normalised, outcome-only reward. What does each filter fail to catch?
What a strong answer covers
- The no-tool filter removes items whose answer is in the model's memory; on those, the policy earns reward without searching, so RL would reinforce answering from memory.
- The with-search filter (DeepDive drops items GPT-4o with search solves in any of 4 tries) removes items solvable by one obvious query, which give little signal for multi-step search.
- Both shift the training set toward items where reward depends on search behaviour; but items no rollout can solve give all-zero groups and no gradient, so too hard is also wasted.
- Neither filter checks the answer is correct or unique; a wrong gold answer passes both because no model reproduces it. A separate grounding check (InfoSeek's solve-from-gold-pages, ORBIT's scraped-page check) is needed for that.
- Critique
WebExplorer and WebSailor compare datasets by the accuracy and number of tool calls of one strong model (Claude-4-Sonnet, o4-mini) on samples from each. What does a lower accuracy on dataset A than on dataset B actually establish, and what would you add to make the comparison mean "A is harder and better for training"?
What a strong answer covers
- Low accuracy can mean hard-but-correct items, or items with wrong or non-unique gold answers; the measurement cannot tell them apart.
- Accuracy also depends on the judge, the search tool and its date, so numbers are comparable only within one setup.
- Add a manual or grounded audit of a sample: is the gold answer supported, and is it unique?
- The usefulness claim needs a training experiment: same base model, recipe and number of items, swap only the dataset, evaluate on held-out benchmarks (as WebShaper's Table 2 does for SFT).
- Design
You want to train a 4B search agent with RL against a fixed corpus (a BrowseComp-Plus-style index of about 100K web pages), on a budget of a few hundred dollars of API calls. Choose a data pipeline from this page, adapt it to the fixed corpus, and say how you would check that each item is answerable from the corpus and has a unique answer.
What a strong answer covers
- Generate inside the corpus: walk hyperlinks or entity links among indexed pages (as MiroVerse or InfoSeek do) so every clue's evidence is in the index by construction.
- Use a cheap open model for writing and obfuscation; spend API budget only on a final grounded check, as InfoSeek does for about 570 dollars total.
- Answerability: an oracle reader given the gold pages must reach the answer; the gold pages must be retrievable by some sub-clue query with BM25 or a dense retriever.
- Uniqueness: run each clue as a retrieval query, intersect candidate sets, and reject items where a second entity satisfies all clues; also reject items a no-tool model answers.
- Mix with easy NQ/HotpotQA-style items so early GRPO groups have non-zero variance, as ORBIT's mixing ablation suggests.