StackMap
Subscribe
Explore / DeepDive
THUDM

DeepDive

THUDM recipe for deep-search agents: synthesize hard multi-hop QA from knowledge-graph random walks, then multi-turn GRPO RL — DeepDive-32B hits 14.8% BrowseComp; data feeds GLM-4.5/4.6.

333 35 Pythonupdated 29 days ago
Curator's take

Read it for the data trick: random-walk paths through KILT/AMiner knowledge graphs, entity obfuscation into 'blurry entities', then difficulty-filtering that keeps only questions GPT-4o fails four times out of four. Strict binary rewards (format AND answer, else zero) resist reward hacking, and the test-time finding is counterintuitive gold — among 8 parallel trajectories, the answer reached with the FEWEST tool calls wins (24.8% vs 12.0% single-shot). Use it to train or study open-model search agents; NOT a runnable product — model checkpoints are still 'coming soon', and you bring Serper/Jina API keys plus slime training infra. The 4,108-entry dataset is open on HF and already went into GLM-4.5/4.6.

Mapped by ShipWithAI editors · links verified
README.md

DeepDive: Advancing Deep Search Agents with Knowledge Graphs and Multi-Turn RL

GitHub arXiv Dataset Model

Multi-Turn RL Training

🔥 News

  • [2026/06/17] Released the training code with the DeepDive slime rollout setup.
  • [2025/10/02] Released the complete data construction pipeline — now fully available in the repository.
  • [2025/09/17] QA pairs and SFT trajectories have been fully open-sourced, totaling 4,108 entries. Check them out on Hugging Face Dataset DeepDive.
  • Model checkpoints are currently under development – coming soon!

Overview

DeepDive presents an automated approach for training deep search agents that can navigate complex, multi-step information-seeking tasks. Our method combines automated data synthesis from knowledge graphs with end-to-end multi-turn reinforcement learning to create agents capable of sophisticated long-horizon reasoning and web browsing.

Key Features

  • Automated Deep Search Data Synthesis: Generate challenging QA pairs from knowledge graphs through controlled random walks
  • Multi-Turn RL Training for Browsing: End-to-end reinforcement learning for deep search capabilities
  • Test-Time Scaling: Supports scaling via tool calls and parallel sampling

Method Overview

Stage 1: Automated Data Synthesis from Knowledge Graphs

Data Synthesis Pipeline

We propose an automated method to synthesize complex, difficult, and hard-to-find questions from open knowledge graphs. The process involves three key steps:

Knowledge Graph Random Walks: Starting from an initial node $v_0$, we navigate through the graph for $k$ steps to form a path $P=[v_0, v_1, \ldots, v_k]$, where each step $(v_i, v_{i+1})$ is a valid edge in the graph. We choose longer path lengths ($k > 5$) to increase reasoning complexity.

Entity Obfuscation: We combine each node $v_i$ in the path with its corresponding attributes to form an attribute-rich path:

$$P_A = [(v_0, [a_0^0, a_0^1, \ldots]), (v_1, [a_1^0, a_1^1, \ldots]), \ldots, (v_k, [a_k^0, a_k^1, \ldots])]$$

An LLM then obfuscates information along the entire path, generalizing specific details and creating "blurry entities" that require deep search to resolve.

Difficulty Filtering: We use a frontier model (GPT-4o) with basic search to attempt each question four times. Only questions that the frontier model fails in all attempts are retained, ensuring high difficulty.

Stage 2: End-to-End Multi-Turn Reinforcement Learning

Multi-Turn RL Training

We apply end-to-end multi-turn RL to enhance the agent's long-horizon reasoning and browsing capabilities. The training process follows an iterative cycle where at step $t$, the agent generates chain-of-thought $c_t$, executes browsing action $a_t$, and observes web content $o_t$.

Multi-Turn GRPO Training: We employ Group Relative Policy Optimization with normalized advantages:

$$ A_i = \frac{r_i - \text{mean}({r_k}{k=1}^G)}{\text{std}({r_k}{k=1}^G)} $$

Strict Binary Rewards: A trajectory receives reward +1 if and only if both format correctness and answer accuracy are satisfied:

$$ r(\mathcal{T}) = \begin{cases} 1, & (\foral

Continue your stack

What teams reach for next — and why each earns a place beside DeepDive. Ranked by curator confidence.