TL;DR
When training search agents, standard reinforcement learning uniformly rewards all steps based only on the final answer's correctness, making it hard to distinguish brilliant breakthroughs from redundant actions. This paper introduces Step Advantage Policy Optimization (SAPO) and Graph-Distance Contribution Reward (GDCR), a framework that uses training-time knowledge graphs to score intermediate steps based on how effectively they advance toward the final answer. This achieves precise, step-level credit assignment with virtually zero additional computational overhead compared to expensive tree-sampling methods.
What Problem Does This Paper Address?
LLM-based "Agentic Search" systems solve complex information-seeking tasks by iteratively interacting with search engines, reading snippets, and updating their internal thoughts. Training these agents via Reinforcement Learning (RL) typically relies on trajectory-level rewards—did the agent get the final answer right or wrong?
This creates a severe credit assignment problem: a highly effective retrieval step and a completely redundant one receive the exact same reward signal. While some recent methods use tree-sampling (exploring multiple hypothetical futures at each step) to estimate intermediate step quality, doing so for long-horizon search tasks creates a massive computational bottleneck.
The authors ask a fundamental question: Can we achieve effective step-level credit assignment without relying on expensive tree sampling?
Methods
The core insight of this paper is an answer-grounded prior: world knowledge can be modeled as a latent graph, and a successful search task is simply a process of navigating this graph toward an answer node.
To operationalize this, the authors propose two key components:
- Graph-Distance Contribution Reward (GDCR): During training, the framework constructs an explicit Entity-Relation (ER) graph for each question-answer pair. At each step $t$, GDCR identifies newly-retrieved entities (from search results) and newly-cited entities (mentioned in the agent's internal thoughts). It scores these entities based on their shortest-path distance to the ground-truth answer node using a decay factor ($k^{-d}$). Steps that uncover or utilize entities closer to the answer receive exponentially higher rewards.
- Step Advantage Policy Optimization (SAPO): Instead of discarding the final outcome, SAPO normalizes and binds these GDCR step rewards within each trajectory, combining them directly with trajectory-level outcome advantages. This ensures the agent optimizes for step-by-step efficiency while remaining anchored to final answer correctness.
Datasets
The authors evaluated their approach across four deep research and tool-use benchmarks:
- BrowseComp & BrowseComp-ZH: Challenging benchmarks evaluating web browsing capabilities in English and Chinese.
- xbench-DS: A benchmark designed to track agent productivity scaling.
- GAIA: A complex assistant benchmark (the authors utilized the text-only validation subset).
For RL training, they synthesized a dataset of 1,000 graph-augmented QA pairs (600 Chinese pairs generated via a knowledge-graph random walk on Baidu Baike; 400 English pairs generated using an agent-centric pipeline based on Asearcher).
Key Insights and Ideas
- Graph Distance Validates Progress: The authors verified their core assumption empirically: correct search trajectories consistently maintain a smaller history-best distance to the answer node than incorrect ones, proving graph proximity is a valid proxy for search progress.
- Retrieval vs. Citation: A common failure mode for search agents is hoarding information without using it. By explicitly splitting GDCR into rewards for both retrieved and cited entities, SAPO successfully incentivizes agents to actually reason over and mention critical entities in their thoughts rather than just pulling them from the search engine.
- Bypassing the Sampling Bottleneck: Instead of dynamically branching out and simulating multiple paths at training time to see "what works," SAPO uses the pre-computed training-time ER graph as an instant lookup table for step quality.
Key Results
- Substantial Performance Gains: SAPO consistently outperformed standard Group Relative Policy Optimization (GRPO) and branch-sampling methods (ARPO) across both 8B and 30B model scales. Notably, at the 30B scale on BrowseComp-ZH, SAPO achieved an accuracy of 45.7%, significantly outperforming GRPO's 33.2%.
- Extreme Training Efficiency: SAPO adds almost no computational overhead. On Qwen3-8B, SAPO took 13.26 minutes per training step (a mere 1% increase over GRPO's 13.13 minutes). Meanwhile, the sampling-based ARPO method required 16.25 minutes (1.24× overhead), and full Tree-GRPO was estimated to require a massive 160× overhead.
- Smoother Convergence to Answers: As shown in the trajectory analysis, models trained with SAPO exhibit a much steeper and steadier decline in average shortest-path distance to the target answer node as task completion progresses.
Limitations and Future Work
- Targeted at Definitive Answers: Because GDCR requires calculating a shortest-path distance to a specific ground-truth entity, it cannot be directly applied to open-ended generation, subjective analysis, or tasks without a clear, discrete endpoint.
- Graph Quality Dependency: The effectiveness of the step-level reward is bounded by the quality of the synthesized training-time ER graphs. While the authors showed SAPO is robust to moderate noise, severe graph corruption or missing critical relations noticeably degrades performance. Future work could explore dynamic or learned graph construction during training.
Summary updated