BranPO: Scalable Contrastive Branch Sampling for Long-Horizon Agentic Reinforcement Learning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhao, Yubao, Huang, Weiquan, Wang, Sudong, Zhao, Ruochen, Chen, Chen, Shu, Yao, Qin, Chengwei
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913178525368320
author Zhao, Yubao
Huang, Weiquan
Wang, Sudong
Zhao, Ruochen
Chen, Chen
Shu, Yao
Qin, Chengwei
author_facet Zhao, Yubao
Huang, Weiquan
Wang, Sudong
Zhao, Ruochen
Chen, Chen
Shu, Yao
Qin, Chengwei
contents Agentic reinforcement learning enables large language models to perform multi-turn planning and tool use, but long-horizon training remains challenging under sparse trajectory-level rewards, where a single outcome is uniformly assigned to all decisions. Prior methods introduce finer-grained supervision via tree-based exploration or process-level evaluation, but often incur high cost or produce noisy credit signals. In agentic trajectories, early mistakes may still be corrected by later actions, while seemingly promising intermediate states can fail due to poor subsequent decisions. We call this property non-monotonic correctness, which makes outcome rewards or state values insufficient for guiding what actions should be taken from each state. To address this, we propose Branching Relative Policy Optimization (\textbf{BranPO}), a value-free method that constructs localized contrastive supervision without dense rewards. BranPO truncates trajectories at intermediate prefixes and resamples continuations to form contrastive branches that share the same prefix but diverge in final outcomes, thereby isolating decisions that drive success or failure. We further introduce difficulty-aware branch sampling and Redundant Step Masking to improve sampling efficiency and suppress redundant updates. Experiments show that BranPO consistently outperforms diverse baseline categories across multiple multi-hop QA benchmarks without additional training cost, and generalizes to broader long-horizon agentic tasks with consistent improvements. Our code is available at https://github.com/YubaoZhao/BranPO.
format Preprint
id arxiv_https___arxiv_org_abs_2602_03719
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle BranPO: Scalable Contrastive Branch Sampling for Long-Horizon Agentic Reinforcement Learning
Zhao, Yubao
Huang, Weiquan
Wang, Sudong
Zhao, Ruochen
Chen, Chen
Shu, Yao
Qin, Chengwei
Computation and Language
Agentic reinforcement learning enables large language models to perform multi-turn planning and tool use, but long-horizon training remains challenging under sparse trajectory-level rewards, where a single outcome is uniformly assigned to all decisions. Prior methods introduce finer-grained supervision via tree-based exploration or process-level evaluation, but often incur high cost or produce noisy credit signals. In agentic trajectories, early mistakes may still be corrected by later actions, while seemingly promising intermediate states can fail due to poor subsequent decisions. We call this property non-monotonic correctness, which makes outcome rewards or state values insufficient for guiding what actions should be taken from each state. To address this, we propose Branching Relative Policy Optimization (\textbf{BranPO}), a value-free method that constructs localized contrastive supervision without dense rewards. BranPO truncates trajectories at intermediate prefixes and resamples continuations to form contrastive branches that share the same prefix but diverge in final outcomes, thereby isolating decisions that drive success or failure. We further introduce difficulty-aware branch sampling and Redundant Step Masking to improve sampling efficiency and suppress redundant updates. Experiments show that BranPO consistently outperforms diverse baseline categories across multiple multi-hop QA benchmarks without additional training cost, and generalizes to broader long-horizon agentic tasks with consistent improvements. Our code is available at https://github.com/YubaoZhao/BranPO.
title BranPO: Scalable Contrastive Branch Sampling for Long-Horizon Agentic Reinforcement Learning
topic Computation and Language
url https://arxiv.org/abs/2602.03719