arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.05112cs.LG
收藏

回滚通过率控制:引导二元奖励强化学习进入其最信息丰富的区域

Rollout Pass-Rate Control: Steering Binary-Reward RL Toward Its Most Informative Regime

Baidu(百度)

Tianshu Zhu, Wenyu Zhang, Xiaoying Zuo, Lun Tian, Haotian Zhao, Yucheng Zeng, Jingnan Gu, Daxiang Dong, Jianmin Wu, Dawei Yin, Dou Shen

AI总结:

本文提出Prefix Sampling方法,通过回放自生成轨迹前缀引导二元奖励强化学习进入最信息丰富的区域,提升模型效率和性能。

摘要:

针对软件工程中的强化学习,其大量计算用于状态轨迹,其二元奖励高度偏斜且对比度弱。本文将其视为通过率控制问题,证明在四准则下,二元奖励信号最强于约50%的回滚通过率。提出Prefix Sampling方法,通过回放自生成轨迹前缀引导偏斜组进入此区域:成功前缀给多数失败组先机,失败前缀抑制多数通过组。回放状态通过现有回滚路径重建,回放token从损失中屏蔽,仅优化当前策略延续。在SWE-bench Verified上,PS在评估变异性内达到基线高分区域,同时在Qwen3-14B和Qwen3-32B上分别实现2.01倍和1.55倍的端到端时间加速;14B峰值从0.274提升至0.295。AIME 2025实验在4B和8B上显示相同通过率控制模式,4B消融实验表明收益归因于回放、双向覆盖和自适应控制。

英文摘要:

Agentic reinforcement learning (RL) for software engineering spends much of its compute on stateful trajectories whose grouped binary rewards are highly skewed and weakly contrastive. We frame this as pass-rate control and show that the binary reward-side signal is strongest near a 50% rollout pass rate under four criteria: reward entropy, group-filtering survival, leave-one-out (RLOO) advantage energy under Group Relative Policy Optimization (GRPO), and success-failure pair count. We propose Prefix Sampling (PS), which replays self-generated trajectory prefixes to steer skewed groups toward this regime: successful prefixes give mostly failing groups a head start, while failing prefixes handicap mostly passing groups. Replayed states are reconstructed through the existing rollout path, and replayed tokens are masked from the loss so optimization applies only to current-policy continuations. On SWE-bench Verified, PS reaches the baseline high-score regime within evaluation variability while delivering 2.01x and 1.55x end-to-end wall-clock speedups on Qwen3-14B and Qwen3-32B; the 14B peak improves from 0.274 to 0.295. AIME 2025 experiments on 4B and 8B show the same pass-rate-control pattern, and 4B ablations attribute gains to replay, bidirectional coverage, and adaptive control.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑