On this page
DeepDive is work I co-authored on training models to answer questions through web search. A useful search agent needs to find sources, read pages, follow new clues, and decide when it has enough evidence to answer.
We work on two parts of this problem: building questions that require several searches, and training models to carry out those searches. During reinforcement learning, we also penalize similar queries within the same attempt to discourage repeated searches.
Training questions
A knowledge graph connects facts about entities such as people, works, and awards. DeepDive selects a path through these connections, rewrites some names and dates as indirect descriptions, and turns the path into a question. The answer comes from known information at the end of the path.
For example, a question can describe a work indirectly, use that work to identify a person, and then ask for a fact about that person. A model must resolve each clue before it can look up the next one. When constructing paths, we filter candidate entities by their connectivity and use a model to judge whether the next step fits the clues already selected.
We then let a search-capable model attempt each question four times and retain questions it fails on all four attempts. This selects questions that remain difficult for that model.
The experimental setup in Section 3.1 reports 3,250 questions from KILT and AMiner: 1,016 for preparing supervised fine-tuning data and 2,234 for reinforcement learning. Sampling and filtering solutions to the supervised split produces 858 demonstration trajectories. Here, a trajectory is a record of the model's searches, page reads, and answer.
Multi-turn RL
The model can search for keywords, click a search result, and open a URL. It reads the returned information and decides what to do next.
Training starts with supervised fine-tuning on demonstration trajectories so that the model learns how to use these tools. Multi-turn GRPO then samples several attempts at the same question, compares their rewards, and uses that feedback to update the model. Correctness rewards require valid tool use and an accepted final answer.
We also compare the words in the queries made during an attempt. For each pair of queries, Jaccard similarity measures the overlap between their word sets. We average these pairwise similarities and subtract a corresponding penalty from the reward. More similar queries receive a larger penalty. This encourages the model to change its searches as it follows new evidence.
BrowseComp results
BrowseComp contains 1,266 questions designed to require substantial web research. The following numbers come from Table 1 of arXiv v2:
| Model | BrowseComp accuracy |
|---|---|
| DeepDive-32B after supervised fine-tuning | 9.5% |
| DeepDive-32B after multi-turn reinforcement learning | 15.3% |
The increase is 5.8 percentage points. These results use all 1,266 questions, allow up to 128 interaction turns, and average two evaluation runs.
The paper also studies larger tool-call budgets and multiple independent attempts at a question. Some training curves, ablations, and parallel-sampling experiments use BrowseComp-266, a 266-question subset. Those results should be read with their particular evaluation settings.
Section 4 describes an additional data-construction approach in which people and models help create questions and check answers. Both kinds of data are used in GLM-4.5 post-training.
Code and data
- DeepDive repository: question construction and model training. Start with the training guide for the training workflow.
- DeepDive dataset: training questions and demonstrations of searching, reading pages, and answering.
- Full paper, arXiv v2: algorithm details, evaluation settings, and additional experiments.
This is the English version of my Chinese research note. I am Rui Lu (鲁睿), a Ph.D. student at Tsinghua University's KEG Lab working on LLM post-training and search agents. More of my work is on my research page.