BranPO:面向长程智能体强化学习的可扩展对比分支采样
BranPO: Scalable Contrastive Branch Sampling for Long-Horizon Agentic Reinforcement Learning
AI总结:
针对长程智能体强化学习中轨迹级奖励稀疏且信用分配困难的问题,提出一种无值函数方法BranPO,通过截断轨迹并重采样延续构建对比分支,实现局部对比监督,无需密集奖励。
摘要:
智能体强化学习使大型语言模型能够执行多轮规划和使用工具,但在稀疏轨迹级奖励下,长程训练仍然具有挑战性,其中单一结果被统一分配给所有决策。先前的方法通过基于树的探索或过程级评估引入更细粒度的监督,但往往成本高昂或产生噪声信用信号。在智能体轨迹中,早期错误可能被后续动作纠正,而看似有希望的中间状态可能因后续决策不佳而失败。我们将此属性称为非单调正确性,这使得结果奖励或状态值不足以指导从每个状态应采取什么动作。为了解决这个问题,我们提出了分支相对策略优化(BranPO),一种无值函数方法,无需密集奖励即可构建局部对比监督。BranPO在中间前缀处截断轨迹,并重采样延续以形成对比分支,这些分支共享相同的前缀但在最终结果上不同,从而隔离导致成功或失败的决策。我们进一步引入了难度感知分支采样和冗余步骤掩码,以提高采样效率并抑制冗余更新。实验表明,BranPO在多个多跳问答基准测试中一致优于各种基线类别,且无需额外训练成本,并泛化到更广泛的长程智能体任务中,实现持续改进。我们的代码可在https://github.com/YubaoZhao/BranPO获取。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。