arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.00972

VeriHarness: Scaling Agentic Verification for Long-Horizon Tasks

Caiqi Zhang, Rujun Han, Zifeng Wang, Zoey CuiZhu, Nigel Collier, Tomas Pfister, Chen-Yu Lee

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Caiqi Zhang 1∗^{1*}, Rujun Han 2^{2}, Zifeng Wang 2^{2}, Zoey CuiZhu 2^{2}, Nigel Collier 1^{1}, Tomas Pfister 2^{2} and Chen-Yu Lee 2^{2}

1^{1}University of Cambridge, 2^{2}Google Cloud AI Research

As LLM agents undertake increasingly complex, long-horizon tasks, verifying their outputs becomes increasingly challenging. We study how verification capability can be strengthened with a fixed base model, without access to reference answers or grading rubrics at test time. Repeated sampling yields multiple rollouts that can contain complementary correct claims, but we need a reliable verification mechanism to determine which claims to trust. We first find that disagreement often exposes correct alternatives, while consensus can conceal errors. These observations motivate VERIHARNESS, which turns the underlying LLM a generator uses into an agentic verifier by giving it a workspace, evidence tools, and reusable verification skills. A disagreement resolver checks competing claims against environmental evidence, while a consensus challenger tests shared claims and searches for omitted requirements. Their findings guide the selection and revision of the final artifact. Across five long-horizon workspace benchmarks and two frontier models, VERIHARNESS achieves the highest selection scores among the evaluated baselines. Evidence-backed revision further improves average performance, bringing gains over a single rollout to 6.2 points with Gemini 3.5 Flash and 6.4 points with Claude Opus 4.8. We further show that verification skills can self-improve from failure feedback, demonstrating VERIHARNESS as a novel and critical approach for scaling long-horizon agentic verification. We release the full pool of approximately 26,000 rollouts across all five benchmarks and both models, produced at a cost of over $100,000, to support future research on agentic verification.

Code

Dataset

veriharness.com

Figure

Figure

Figure 1 | VERIHARNESS and its results. Left: the verifier is the generator's own model inside a harness. A disagreement resolver tests the claims on which the N rollouts differ, and a consensus challenger seeks evidence against the claims they share. Adjudication combines their findings to guide artifact selection and revision. Right: with Gemini 3.5 Flash as both generator and verifier, VERIHARNESS with revision improves over the single-rollout baseline on all five benchmarks, including gains of 6.7 points on APEX-Agents and 8.9 points on Workspace-Bench Lite (WSB).

1. Introduction

Long-horizon agents increasingly produce reports, spreadsheets, and other artifacts whose correctness requires substantial work to assess (Tang et al., 2026; Vidgen et al., 2026; WorkBuddy Team et al.,

  • This work was done while Caiqi interned at Google Cloud AI Research. Corresponding author(s): cz391@cam.ac.uk, {rujunh, chenyulee}@google.com

2026). Recent workspace benchmarks show that even frontier models struggle to produce reliable artifacts (Li et al., 2026b; Zhu et al., 2026). Verifying these artifacts is harder still. In coding and mathematics, unit tests, executable checks, or formal proof checkers give direct feedback on correctness even when no reference answer exists (Ehrlich et al., 2025; Li et al., 2025). General complex tasks rarely offer an equally straightforward way to assess the entire output. For example, checking a report may require tracing claims to sources, recomputing quantities, and interpreting requirements across several files. As agents take on more of this work, verification becomes a central challenge and must develop alongside generation (You et al., 2026).

We study test-time verification without a stronger judge: the generator and verifier share the same model and tools, and the verifier checks the output artifacts without access to reference answers or grading rubrics. This setting reflects practice at the frontier, where the generator is already the strongest available model and no stronger judge exists to oversee it (Bowman et al., 2022; Burns et al., 2024). Holding the base model fixed also ensures that no knowledge from a stronger model enters the verifier: any gain comes from the model's own rollouts and environment (Huang et al., 2023). In this setting, the verifier draws on two unique sources of information: 1) the candidate rollouts and 2) the task environment. Repeated sampling yields several rollouts of the same task (Brown et al., 2024; Zhu et al., 2025), and comparing them reveals competing claims and shared conclusions. The task environment provides source files, data, and constraints against which those claims can be checked.

Existing test-time verification methods mostly use only the rollouts. Majority voting and self-consistency (Chen et al., 2023; Wang et al., 2023) treat the most common answer as correct, and LLM-as-a-judge approaches (Kwok et al., 2026; Zheng et al., 2023) score rollouts by reading them. Both rely on what the model already believes rather than on evidence the environment could provide. To address this shortcoming, we first propose to bring verification into the environment: individual claims are tested against the workspace's source data and constraints. Second, we find that consensus does not guarantee correctness, while disagreement between rollouts can expose correct alternatives. A case study in Figure 2 shows that roughly a third of the agreed values are judged incorrect, so errors cannot be corrected by voting or selection alone. Also, disputed claims often include a correct candidate, although the most frequent answer may be wrong (Section 2). Checking these alternatives against evidence can help identify the correct value. Therefore, a verifier has to test competing answers and challenge the consensus that all candidates share.

We introduce VERIHARNESS (Figure 1), a general-purpose, plug-and-play harness for the verifier, which uses the same underlying model as the generator. The harness encompasses a workspace, evidence tools, and reusable verification skills to support these two checking tasks. A disagreement resolver tests competing claims against source files, data, and task constraints. A consensus challenger searches for evidence that could refute consensus values or reveal omitted requirements. Their findings guide the selection and revision of the final artifact, accompanied by a record of the supporting evidence. The verifier decides what to check, how to interpret the evidence, and which changes to make. We further ask whether the harness can grow its verification skills with experience. Building on reusable skill and experience libraries (Ouyang et al., 2026; Wang et al., 2024), we let the harness accumulate skills from failure feedback on development tasks, starting from either an

Consensus claims (H=0,n=917)(H = 0, n = 917)

Agreed answer

66% correct

34% wrong

Disputed claims (H>0,n=775)(H > 0, n = 775)

Correct candidate available

74%

Most frequent answer correct

47%

Figure 2 | Consensus can preserve errors; disagreement can contain correct alternatives that voting discards. APEX-Agents claims from ten-rollout pools of Claude Opus 4.8; percentages are within each group, correctness uses the benchmark's rubric grades, and H is the claim entropy of Section 2.

empty library or a human-authored one.

We evaluate on five demanding workspace benchmarks with two frontier models, Gemini 3.5 Flash and Claude Opus 4.8, each serving as both generator and verifier. VERIHARNESS achieves the highest selection score among the evaluated baselines on every benchmark with both models. Evidence-backed revision further improves average performance, yielding gains over a single rollout of 6.2 points with Flash and 6.4 with Opus (Table 2). On held-out tasks, skills evolved from an empty library outperform the human-authored library, and evolving from the human-authored library adds 6.8 points on APEX-Agents and 3.7 on SpreadsheetBench 2 over that library (Section 5).

Our contributions are threefold:

• Verification principle. We identify two complementary checking tasks in same-model verification: resolving disputed claims and challenging consensus claims against evidence from the environment.

• General-purpose harness. We build VERIHARNESS, the first agentic verification harness for long-horizon tasks, which is training-free and plug-and-play across benchmarks and models, and evaluate its ability to select and revise agent outputs.

• Evolving verification skills. We show that a fixed model can accumulate useful verification skills from failure feedback, with human expertise providing an effective starting point for evolution.

References (52)