arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.12598cs.AIcs.SE
收藏

超越二元可验证奖励:面向软件工程智能体的行为自奖励机制

Beyond Binary Verifiable Rewards: Behavioral Self-Rewarding for SWE Agents

Pennsylvania State University(宾夕法尼亚州立大学);AG2AI;Microsoft Research(微软研究院)

Yiran Wu, Andrew Zhao, Yurui Chang, Qingyun Wu, Xuan Feng

AI总结:

针对二元可验证奖励无法区分调试质量的问题,提出行为自奖励(BSR)方法,复用策略比较轨迹调试行为,在SWE-bench数据集上提升了Qwen3模型的软件工程智能体性能。

摘要:

带可验证奖励的强化学习(RLVR)通过可执行测试为软件工程智能体提供可靠监督,但二元奖励无法区分调试质量差异显著的轨迹。本文探究当前策略能否判断自身轨迹并利用这些判断提升任务性能,无需单独训练的奖励模型。为此,我们提出行为自奖励(BSR),一种奖励优化方法,复用策略比较同一任务、相同验证器结果下轨迹间可观测调试行为。BSR将成对偏好聚合成任务局部分数,转换为有界辅助奖励,在保留验证器定义的通过/失败排序的同时引入奖励对比。该方法利用已收集轨迹提供额外监督,无需新环境交互。在SWE-bench Verified和SWE-bench-Live上的实验显示,Qwen3-14B和Qwen3-32B配置均获一致提升,支持将策略自身的比较判断作为软件工程智能体训练的补充学习信号。

英文摘要:

Reinforcement learning with verifiable rewards (RLVR) provides reliable supervision for software engineering agents through executable tests, but binary rewards fail to distinguish trajectories with substantially different debugging quality. We investigate whether the current policy can judge its own trajectories and use these judgments to improve task performance without a separately trained reward model. To this end, we introduce Behavioral Self-Rewarding (BSR), a reward-refinement method that reuses the policy to compare observable debugging behavior among trajectories from the same task with the same verifier outcome. BSR aggregates pairwise preferences into task-local scores and converts them into bounded auxiliary rewards, introducing reward contrast while preserving the verifier-defined pass/fail ordering. This provides additional supervision from already-collected trajectories without requiring new environment interactions. Experiments on SWE-bench Verified and SWE-bench-Live show consistent improvements across the evaluated Qwen3-14B and Qwen3-32B configurations, supporting using the policy's own comparative judgments as a complementary learning signal for training software engineering agents.

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

↑