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

验证地平线:编码智能体奖励没有银弹

The Verification Horizon: No Silver Bullet for Coding Agent Rewards

Qwen Team(Qwen团队)

Binghai Wang, Chenlong Zhang, Dayiheng Liu, Jiajun Zhang, Jiawei Chen, Mingze Li, Mouxiang Chen, Rongyao Fang, Siyuan Zhang, Xuwu Wang, Yuheng Jing, Zeyao Ma, Zeyu Cui

AI总结:

本文指出,随着编码智能体能力增强,验证解决方案比生成更难,并沿可扩展性、忠实性和鲁棒性三个维度分析验证信号质量,通过四种奖励构建实验表明验证必须与生成器共同进化。

摘要:

一个经典直觉认为验证解决方案比生成更容易。对于当今的编码智能体,这种直觉正在被颠覆:随着基础模型发展出更强的推理能力,工程工具变得更加复杂,生成复杂的候选解决方案不再困难——而可靠地验证它们已成为更难的问题。我们能构建的每个验证器都只是人类意图的代理,而非意图本身。这使得验证面临双重困难:首先,意图本质上是未完全指定的,因此很难忠实地检查它是否被满足;其次,在模型训练过程中,优化会扩大代理与意图之间的差距——表现为奖励破解或信号饱和。为了解决这个问题,我们沿着三个维度——可扩展性、忠实性和鲁棒性——刻画验证信号的质量,并认为同时实现这三者是核心挑战。我们进一步研究了四种奖励构建:用于通用编码任务的测试验证器、用于前端任务的评分标准验证器、用于真实世界智能体任务的用户作为验证器,以及用于长周期任务的自动化智能体验证器。针对不同任务类型和策略能力水平,我们对奖励设计的核心挑战以及如何更有效地利用奖励信号进行了深入分析和实验。实验表明,针对性的验证设计可以有效抑制奖励破解,提高任务完成质量,并在多个内部和公共基准测试中取得显著提升。这些经验共同指向一个核心观察:没有固定的奖励函数能在策略能力持续增长时保持有效;验证必须与生成器共同进化。

英文摘要:

A classical intuition holds that verifying a solution is easier than producing one. For today's coding agents, this intuition is being inverted: as foundation models develop stronger reasoning capabilities and engineering harnesses grow more sophisticated, generating complex candidate solutions is no longer difficult -- reliably verifying them has become the harder problem. Every verifier we can build is only a proxy for human intent, never the intent itself. This makes verification subject to a twofold difficulty: first, intent is underspecified by nature, making it inherently hard to faithfully check whether it has been fulfilled; second, during model training, optimization widens the gap between proxy and intent -- manifesting as reward hacking or signal saturation. To address this, we characterize the quality of verification signals along three dimensions -- scalability, faithfulness, and robustness -- and argue that achieving all three simultaneously is the central challenge. We further study four reward constructions: a test verifier for general coding tasks, a rubric verifier for frontend tasks, the user as verifier for real-world agent tasks, and an automated agent verifier for long-horizon tasks. Across different task types and policy capability levels, we conduct in-depth analysis and experiments on the core challenges of reward design and how to more effectively leverage reward signals. Experiments show that targeted verification design can effectively suppress reward hacking, improve task completion quality, and achieve significant gains across multiple internal and public benchmarks. These experiences collectively point to a core observation: no fixed reward function can remain effective as policy capability continues to grow; and verification must co-evolve with the generator.

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

↑