Search papers, labs, and topics across Lattice.
This paper introduces a scalable, automated weak-to-strong verifier hardening technique for LLM agent environments to prevent reward hacking by future, stronger models. The approach employs an isolated verifier sandbox and an iterative hacker-fixer loop to discover and patch vulnerabilities, significantly reducing attack success rates on benchmark environments like Terminal Bench and KernelBench. This iterative process demonstrably improves defense strength with increased budget, outperforming static baselines.
Future LLM agents can be prevented from reward hacking by using today's models to automatically harden their evaluation environments.
Agent environments are essential for large language model (LLM) development. They use programmatic verifiers to turn complex outcomes into rewards. Verifiers can be attacked into awarding full credit to cheating agents without completing the intended task, causing inaccurate evaluation and misalignment in training. As agent environments scale in numbers and difficulty, so must the repairing of exploitable verifiers. To this end, we ask whether today's model with scaled compute can automatically harden agent environments to prevent potentially stronger future models from reward hacking. We introduce a scalable, fully automatic approach to weak-to-strong verifier hardening. It first sets up an isolated verifier sandbox that agents cannot directly modify, then uses a hacker-fixer loop to find and repair remaining verifier vulnerabilities. We apply this loop to Terminal Bench, KernelBench, and SETA, substantially reducing attack success across these agent environments. The iterative design scales with the hardening budget, producing progressively stronger defenses as the number of loop iterations increases and outperforming the static, non-iterative baseline. An earlier version of our hacker-fixer loop has been adopted by the official Terminal Bench repository as a way to audit exploits in its environments. Project page: https://verifier-hardening.github.io/.