DeepResearcher: Scaling Deep Research via Reinforcement Learning in Real-world Environments
Read first: DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
TL;DR. DeepResearcher trains a Qwen2.5-7B-Instruct search agent with GRPO while it talks to the real web: a search API returns top-10 title/URL/snippet results and a separate browsing agent reads chosen pages. The training questions are ordinary open-domain QA (NQ, TriviaQA, HotpotQA, 2Wiki), filtered so the model cannot answer them from memory. The paper’s main contribution is the engineering needed to make live-web RL run at scale.
Why it matters now. Most early RL search agents (Search-R1, R1-Searcher, ReSearch) were trained against a fixed Wikipedia index with a dense retriever. That is a clean IR setup, but the agent never meets ranking noise, dead links, long pages or rate limits. DeepResearcher asks what changes when the retrieval environment is the open web. The paper calls this “deep research”, but its tasks are short-answer QA scored by F1 and an LLM judge, not long reports. Keep that distinction in mind when comparing it with report-writing systems such as DR Tulu or STORM.
Key idea
Section titled “Key idea”The agent alternates <think> blocks with tool calls. Two tools exist:
- web_search returns the top-10 results (title, URL, snippet) from a search API.
- web_browse hands a URL to a separate browsing agent. That agent reads the page segment by segment, keeps a short-term memory of what is relevant to the question, and decides after each segment whether to keep reading. Only its extract goes back to the policy.
Training is GRPO with the standard group baseline. For a question, rollouts are sampled, each gets a scalar reward, and every generated token of rollout gets the advantage
Tool outputs (snippets and browse extracts) are masked from the loss, so only tokens the policy wrote receive gradient. The F1 reward is word-level, so partially right answers get partial credit.
Data. The authors start from NQ, TriviaQA, HotpotQA and 2Wiki. Low-quality questions are removed with DeepSeek-R1, and a contamination filter drops a question if any of 10 samples from the base model without search contains the answer. The final set has 80K questions in a 1:1:3:3 ratio, so 75% are multi-hop.
Engineering for the live web. Each rollout step can trigger about 4,096 concurrent requests. These are spread over a 50-node CPU cluster, with retries for failed fetches and a 7-day cache of search results to stay under API rate limits. Training used verl with 256 prompts × 16 rollouts per step and at most 10 tool calls per episode.
Key results
Section titled “Key results”Evaluation uses 512 sampled development examples per dataset (all 125 for Bamboogle), scored by F1 and by MBE, an LLM-judge accuracy with GPT-4o-mini. All numbers below are paper-reported.
- In-domain (Table 1, F1/MBE). DeepResearcher: NQ 39.6/61.9, TQ 78.4/85.0, HotpotQA 52.8/64.3, 2Wiki 59.7/66.6. Search-r1-base: 45.4/60.0, 71.9/76.2, 55.9/63.0, 44.6/47.9. So Search-r1-base still has higher F1 on NQ and HotpotQA, while DeepResearcher has the higher MBE on all four. The paper notes that Search-r1-base was trained and tested on a local Wikipedia index, the same source the answers come from.
- Out-of-domain (Table 2, F1/MBE). MuSiQue 27.1/29.3, Bamboogle 71.0/72.8, PopQA 48.5/52.7, against Search-r1-base at 26.7/27.5, 56.5/57.6 and 43.2/47.0, and R1-Searcher at 22.8/25.6, 64.8/65.6 and 42.7/43.4.
- The abstract summarises the gains as up to 28.9 points over prompt-engineered baselines and up to 7.2 points over RAG-based RL agents.
- Training dynamics. Training F1 rises from about 0.375 to about 0.55. The number of tool calls and the response length grow during training.
- Behaviours. Planning, cross-checking across sources, reflection and saying when an answer cannot be found are shown in case studies only; the paper gives no rate for them.
Limitations & open questions
Section titled “Limitations & open questions”- Environment is confounded with everything else. The base model, data mix, reward, turn budget and browsing agent all differ from the baselines. There is no run with the same recipe on a local index, so the paper does not isolate the effect of the live web.
- Reproducibility. Results depend on a commercial search API and on pages that change. Re-running the evaluation later will give different numbers; see live-web reproducibility.
- Reward is lexical. F1 rewards token overlap, so near-miss entities can earn credit. The F1 and MBE columns disagree in places, which shows how much the metric matters.
- Short answers only. Report quality, citation accuracy and coverage, the things DeepResearch Bench measures, are not tested.
- Cost. A 50-node crawler cluster is out of reach for most academic labs. Simulated or frozen environments (ZeroSearch; BrowseComp-Plus) are the cheaper alternatives.
Connections
Section titled “Connections”- GRPO (DeepSeekMath) is the optimizer; PPO supplies the clipped surrogate.
- Search-R1 is the local-index baseline it argues against; the comparison hub puts the two side by side.
- Fixed vs live search explains why environment choice changes what an evaluation measures.
- WebSailor and ORBIT keep the live-web idea but change the data: harder synthetic questions instead of NQ/HotpotQA. See training-data synthesis.
- Long-horizon tool agents covers the credit-assignment and budget problems that appear as turn limits grow past 10.
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
DeepResearcher's reward is −1 for a format error and word-level F1 otherwise. One GRPO group of 4 rollouts for the gold answer "Barack Obama" ends with: (1) a malformed tool call, (2) answer "Michelle Obama", (3) answer "Obama", (4) answer "Barack Obama". Compute each reward, the group-normalised advantages (population std), and say which rollout drives most of the negative signal.
What a strong answer covers
- F1 over word tokens: (2) "Michelle Obama" shares 1 of 2 tokens, P = 0.5, R = 0.5, F1 = 0.5. (3) "Obama": P = 1, R = 0.5, F1 = 0.667. (4) exact, F1 = 1. (1) gets −1.
- Mean = (−1 + 0.5 + 0.667 + 1)/4 ≈ 0.292. Deviations ≈ −1.292, 0.208, 0.375, 0.708; population std ≈ 0.77.
- Advantages ≈ −1.68, +0.27, +0.49, +0.92. The format failure takes almost all of the negative mass; the wrong-person answer "Michelle Obama" is actually reinforced because it beats the group mean.
- Lesson: with partial-credit F1, a group that contains a format failure can push up wrong answers. The −1 penalty is useful early (format learning) but distorts the correctness signal once some rollouts in the group are malformed.
- Derive / compute
DeepResearcher drops a training question if any of 10 no-search samples from the base model contains the gold answer. If the base model answers a question correctly with independent probability p per sample, what fraction of such questions survive the filter for p = 0.02, 0.1 and 0.3? What does this imply about which questions remain?
What a strong answer covers
- Survival probability = (1 − p)^10. p = 0.02 gives ≈ 0.82; p = 0.1 gives ≈ 0.35; p = 0.3 gives ≈ 0.03.
- Questions the model knows even weakly are mostly removed, so the surviving set leans toward questions the model cannot answer from parametric memory, which forces search use during RL.
- Side effect: "contains the answer" is a substring test, so short or common answers (years, yes/no, common names) are removed more often than their true difficulty warrants.
- The filter is tied to one base model; a different or larger policy would need its own pass to keep the same guarantee.
- Mechanism
In DeepResearcher, retrieved web text enters the policy's context but is masked from the GRPO loss. Explain what gradient the policy would receive on observation tokens without the mask, and why that signal is harmful for a live-web environment in particular.
What a strong answer covers
- Without the mask, the clipped surrogate would raise or lower the log-probability of the snippet and page text in proportion to the trajectory's advantage, as if the policy had written it.
- That teaches the model to predict (memorise) web text tied to rewarded trajectories, not to choose better queries or URLs: the policy does not control those tokens.
- On the live web, the same query returns different text over time, so the observation tokens are a moving, noisy target that would add variance without useful credit assignment.
- With the mask, gradients flow only through the thought, query, URL choice and answer tokens, the actions the policy actually takes.
- Critique
DeepResearcher reports higher MBE than Search-r1-base on TQ and 2Wiki and attributes the gains to training in the real web environment. Name the confounds in this comparison and design the smallest experiment that would isolate the effect of the environment.
What a strong answer covers
- Confounds: different base model and size (Qwen2.5-7B-Instruct), different training data mix and size (80K, 1:1:3:3, contamination-filtered), different reward (F1 with format penalty), more tool calls (≤ 10) and a browsing sub-agent that reads full pages.
- Search-r1-base used a local Wikipedia index for both training and testing; DeepResearcher uses the open web at test time, so the test-time tool also differs.
- Minimal experiment: same base model, data, reward and turn budget; train once with a local Wikipedia index and once with the live web; evaluate both with both tools (a 2×2 grid).
- Report variance across seeds and across evaluation days, since live-web results drift.
- Design
You have one 8×H100 node and no budget for a paid search API, and you want to replicate the DeepResearcher result that live-web training helps. Which parts of its environment would you keep, cache or replace, and what would you measure to know the replica is faithful?
What a strong answer covers
- The paper's setup assumed about 4096 concurrent requests per rollout step, a 50-node CPU cluster for crawling and a 7-day search cache; a single node cannot match that, so batch size and rollout count must shrink.
- Options: a free metasearch library (as ORBIT does with DDGS), a frozen web snapshot or crawl (as in BrowseComp-Plus), or an aggressive query-result cache shared across rollouts.
- A cache lowers cost and variance but makes the environment partly static, which weakens the "real web" claim; state how many calls hit the cache.
- Measure: training reward curves against the paper, tool calls per episode, fraction of failed fetches, and test accuracy on the same 512-example subsets with both F1 and an LLM judge.
- Research idea
DeepResearcher reports planning, cross-validation, reflection and "honesty" as emergent behaviours, but only through case studies. Propose a measurement study that tests whether these behaviours increase with RL steps and whether they cause accuracy gains.
What a strong answer covers
- Operationalise each behaviour: e.g. cross-validation = the final answer is supported by two or more distinct domains; honesty = answering "cannot find" when no page contains the answer.
- Tag behaviours automatically (LLM tagger validated against a hand-labelled sample) on checkpoints across training.
- Causal test: intervene at inference (force or forbid a second confirming search) and measure the change in F1/MBE, rather than relying on correlation.
- Falsifier: behaviour rates rise but forcing them gives no accuracy gain, or the rates track response length rather than RL step.