VerifierBench: Benchmarking the Generation of Executable Verifiers for LLM Agents
Jianing Yin, Ziyi Chen, Hao Wang, Yiyou Sun, Zijian Jin, Dawn Song, Daoan Zhang
Abstract
Agents need reliable ways to validate their outputs, both when completing tasks and when filtering synthetic training data. We study verifier generation: from the instruction and environment available for solving a task, an agent writes an executable verifier that must accept every valid solution and reject invalid ones. We introduce VerifierBench, a benchmark of 222 tasks from six agent benchmarks spanning tool-call, state-based, and code verification, with 4,993 hidden test cases that include alternative valid solutions and attacks; Verifier4Verifier (V4V), a six-check audit, screens its source verifiers and test suites. Across 19 models in a common agent harness, normalized balanced accuracy ranges from 10.6 to 62.1, with generated verifiers consistently rejecting invalid solutions more reliably than they accept valid ones. This apparent strength can mask overly restrictive verification: most false rejections in the analyzed records come from verifiers that accept no tested solution to a task. Case studies reveal unsupported assumptions about solution formats, tool use, and code changes that exclude valid solutions. These errors survive self-testing because agents test solutions that share the verifier's mistaken assumptions, or submit verifiers without confirming that any correct solution passes. These findings suggest testing both whether a verifier accepts a correct solution and whether it accepts other solutions permitted by the task. The project page and dataset are publicly available.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI
Related papers
Zero-Trust Formal Methods: AI Agents Build Verified Checkers for Untrusted Solvers
Shared title terminologycs.SETobias Philipp
SWE-Recreation: Benchmarking Coding Agents for Software Recreation
Shared title terminologycs.SEZhiyao Xu, Zhanjie Ding, Hongyao Yu et al.
DVBench: End-to-End Benchmark for Real-World UVM Design Verification Agents
Shared title terminologycs.SEJiaru Qian, Jiawei Li, Xiaolong Hu et al.
SWE-CoWork: Benchmarking Coding Agents as Digital Employees in Organizations
Shared title terminologycs.SEXinping Lei, Minghao Liu, Ruijie Zhu et al.
Beyond Benchmarks: Evaluating Large Language Models and Agentic Patterns for Static Code Analysis Warning Classification
Shared title terminologycs.SELakmal Deshapriya, Sherlock A. Licorish, Brendon J. Woodford et al.
ArchGuard-APR: Architecture-Constraint-Aware Multi-Agent Program Repair Using Repository Graphs and Execution Feedback
Shared title terminologycs.SEMajid Feiz Deilami