Search papers, labs, and topics across Lattice.
This paper explores the evolving challenges of verifying solutions generated by coding agents, highlighting that as these agents improve in generating complex solutions, the verification of these solutions has become increasingly difficult. The authors identify three critical dimensions of verification quality鈥攕calability, faithfulness, and robustness鈥攁nd demonstrate that achieving a balance among them is essential for effective reward design. Through empirical analysis of various reward constructions, the study reveals that targeted verification strategies can mitigate issues like reward hacking and enhance overall task performance across diverse benchmarks.
Verification of coding agent outputs is now the bottleneck, not generation, and targeted design can significantly enhance performance while curbing reward hacking.
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.