Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Training Multi-Turn Search Agent via Contrastive Dynamic Branch Sampling

About

Agentic reinforcement learning has enabled large language models to perform complex multi-turn planning and tool use. However, learning in long-horizon settings remains challenging due to sparse, trajectory-level outcome rewards. While prior tree-based methods attempt to mitigate this issue, they often suffer from high variance and computational inefficiency. Through empirical analysis of search agents, We identify a common pattern: performance diverges mainly due to decisions near the tail. Motivated by this observation, we propose Branching Relative Policy Optimization (BranPO), a value-free method that provides step-level contrastive supervision without dense rewards. BranPO truncates trajectories near the tail and resamples alternative continuations to construct contrastive suffixes over shared prefixes, reducing credit ambiguity in long-horizon rollouts. To further boost efficiency and stabilize training, we introduce difficulty-aware branch sampling to adapt branching frequency across tasks, and redundant step masking to suppress uninformative actions. Extensive experiments on various question answering benchmarks demonstrate that BranPO consistently outperforms strong baselines, achieving significant accuracy gains on long-horizon tasks without increasing the overall training budget. Our code is available at \href{https://github.com/YubaoZhao/BranPO}{code}.

Yubao Zhao, Weiquan Huang, Sudong Wang, Ruochen Zhao, Chen Chen, Yao Shu, Chengwei Qin• 2026

Related benchmarks

TaskDatasetResultRank
Multi-hop Question Answering2WikiMQA
F1 Score75.6
154
Multi-hop Question AnsweringMuSiQue--
106
Single-hop Question AnsweringTriviaQA--
62
Single-hop Question AnsweringPopQA--
55
Multi-hop Question AnsweringHotpotQA
F1 Score64.5
31
Multi-hop Question AnsweringBamboogle
F157.8
25
Web Search AgentGAIA Avg@4
F1 (Lv.1)57.9
4
Showing 7 of 7 rows

Other info

Follow for update