NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Agent-as-a-Verifier: From Scores to Evidence for General Verification

Yuxuan Sun, Hao, Chen, Nagarajan Natarajan, Sushrut Karmalkar, Niranjani Prasad, Amit Sharma, Hongxiang FanarXiv 2026

TL;DR

When AI agents generate multiple solutions to a hard problem, we usually rely on "verifier" models to score and pick the best one—essentially grading on vibes. Agent-as-a-Verifier replaces those opaque scalar scores with auditable, evidence-backed certificates built by a team of role-separated LLM agents that actually poke the environment, run tests, and check claims. Not only does this pick better winners and steer working agents toward right answers, it even catches clever "reward-hacking" bugs that fool official benchmark graders.

What Problem Does This Paper Address?

A popular way to make LLMs smarter at inference time ("test-time scaling") is best-of-$N$ selection: generate $N$ candidate solutions and use a verifier to pick the winner. Standard verifiers read an agent's text transcript and output a single number, like 0.52.

This creates two headaches. First, the scores are mushy and uninformative: on one major benchmark, 77% of candidate scores clustered tightly between 0.45 and 0.55, leaving rankings to ride on tiny, noisy margins without any record of what was checked.

Figure 1: LLM-as-a-Verifier scores (gpt-5.6-luna) on 180 candidate runs from the 36 mixed- outcome Terminal-Bench 2.1 task pools of LLM-as-a-Verifier’s own released dataset (five runs per task). (a) Candidate-score distribution; 139/180 scores fall within [0.45, 0.55], and all 180 lie in [0.346, 0.625]. (b) For each task, the highest score minus the second-highest score, sorted for display on a log scale. The median gap is 0.049, and 14/36 gaps are below 0.02.

Second, reading a transcript is like grading a lab report without looking at the beaker. An agent's log can sound confident, hide subtle bugs, or omit the final state of a workspace. Without actively inspecting files and running code, a verifier is vulnerable to presentation bias and smooth-talking hallucinations.

Methods

Instead of outputting a gut-feeling score, Agent-as-a-Verifier constructs a structured, auditable certificate. Its core design principle is strict separation of authority: LLM agents propose and execute checks, while a deterministic orchestrator enforces the rules and computes the final verdict. No single LLM can simply declare a solution "correct."

Figure 2: The evaluated Agent-as-a-Verifier workflow has three stages: (1) generate and record N candidate runs; (2) turn each run into claims, run and review the required checks, and save the result as a certificate; and (3) select the strongest certificate. The dashed path shows the same verifier returning failed checks or counterexamples while an agent is still working (App. E).

Six stateless, information-isolated LLM roles work in an assembly line:

  1. Extractor: Reads the agent's run and builds a directed acyclic graph (DAG) of atomic claims, mechanically binding tool-call claims to cryptographic digests of the actual execution log.
  2. Compiler: Translates claims into checkable obligations. Crucially, to define the final task's acceptance contract, the compiler only sees the original prompt and baseline workspace—never the candidate's answer—preventing an agent from moving its own goalposts.
  3. Critic: Challenges the obligations in both directions, looking for missing checks (too weak) or unfair requirements (too strict).
  4. Oracle & Discharger (Executor): The oracle proposes how to test an obligation (e.g., file inspection, symbolic math, running a script), and the discharger executes it inside the captured environment.
  5. Judger: Blindly audits the execution evidence for fidelity and strength.

Finally, the deterministic orchestrator folds this evidence into a strict verdict ladder (VERIFIED $\succ$ SUPPORTED $\succ$ PARTIAL $\succ$ UNVERIFIED $\succ$ REFUTED). Crashes, missing tools, or uncheckable claims fail closed—uncertainty never becomes a pass. The same engine can also run online, feeding counterexamples back to a working agent via MCP before it finishes.

Datasets

No training datasets are used (the framework is training-free). The authors evaluate on three existing benchmarks—no new benchmarks are introduced:

  • Terminal-Bench 2.1: Command-line/container engineering tasks (445 official recorded traces across 89 tasks for offline selection; 87 live tasks for online steering).
  • FrontierMath: 12 public competition-grade mathematics problems.
  • CyberGym (arvo subset): 50 cybersecurity vulnerability tasks requiring inputs that crash a vulnerable binary while leaving a patched one intact.

Key Insights and Ideas

  • Blindness prevents self-confirmation: Isolating what each LLM role sees stops the verifier from talking itself into agreeing with a persuasive agent. Compiling the goal contract without seeing the agent's trace ensures the test matches the user's prompt, not the agent's excuses.
  • Verifiers can catch "reward hacking" that fools the benchmark itself: In one Terminal-Bench task (largest-eigenval), a candidate wrote fast custom $2\times2$ matrix math to beat a speed test. It passed the official benchmark with a perfect 1.0 because the benchmark's test suite accidentally reset its random seed to zero and only tested clean, standard-normal matrices. Agent-as-a-Verifier stress-tested 4,083 arrays, found a floating-point catastrophic cancellation on extreme scales (-5.4e23), and saved the exact failing matrix as a replayable refutation.
  • Inspectable failures: When Agent-as-a-Verifier makes a mistake, you don't just get a bad number—you can read the certificate and see why (e.g., an over-literal reading of a prompt clause or a missing sandbox GPU model).

Key Results

  • Offline Best-of-5 Selection (Terminal-Bench 2.1): Using the exact same underlying model (gpt-5.6-luna), Agent-as-a-Verifier solved 80/89 tasks overall—and 30/36 on the non-trivial mixed pools where candidates actually disagreed—beating the text-scoring LLM-as-a-Verifier baseline (74/89 overall, 24/36 mixed) and a reported deepseek-v4-flash logprob baseline ($\approx$78/89).
  • Online In-the-Loop Steering: Attaching Agent-as-a-Verifier to a live working agent boosted pass rates across every tested domain:
Table 2: Online verification: tasks passed by the same agent without (plain) and with Agent-as-a- Verifier in the loop, under each benchmark’s official scoring. In the Agent-as-a-Verifier arm, the agent commits claims during the run and receives refutations and counterexamples before it finishes (§4.3).

Limitations and Future Work

Rigorous checking isn't cheap. Running six isolated, tool-using LLM roles is slow and compute-heavy—increasing wall-clock time by roughly an order of magnitude when steering an agent online. Additionally, this is not a mathematically airtight formal proof system: translating English tasks into obligations and auditing evidence still relies on LLMs, meaning weaker models could botch check generation. Finally, the online experiments ran each task once per arm, and the FrontierMath sample was small (12 problems).

Next, the authors suggest cutting latency via parallel check execution and caching obligations across candidates, shrinking the LLM-dependent surface with deterministic formal checkers, and applying evidence-backed verification to automated research and recursive self-improvement.

Summary updated

BibTeX
@misc{sun2026agent,
  author = {Yuxuan Sun and Hao and Chen and Nagarajan Natarajan and Sushrut Karmalkar and Niranjani Prasad and Amit Sharma and Hongxiang Fan},
  title = {{Agent-as-a-Verifier: From Scores to Evidence for General Verification}},
  year = {2026},
  eprint = {2611.34132},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.34132},
}
Figure