Paper: 2610.40578
Authors: Qiushi Sun, Da Yu, Alexander Knop, Amer Sinha, Lingpeng Kong, Ben Kao, Ravi Kumar, Pritish Kamath (Google, The University of Hong Kong)
Categories: cs.AI, cs.CL

The Gap

The emergence of Computer-Using Agents (CUAs)—agents capable of controlling operating systems, web browsers, and mobile devices through mouse clicks, keystrokes, and API calls (e.g., OSWorld, AndroidWorld, WebArena)—has exposed a glaring bottleneck in the AI lifecycle: how do we reliably verify whether an agent has actually completed its task?

Accurate verification is not merely an academic benchmarking metric; it is the fundamental ground truth required for trajectory filtering in synthetic data pipelines, safe human-in-the-loop deployment, and reward modeling in reinforcement learning (RL).

Existing verification paradigms suffer from severe structural failures:

  1. Passive Vision-Language Model (VLM) Judges:

    • Single-pass VLM evaluators inspect captured screenshots or video trajectories.
    • However, digital environments are partially observable. Crucial task outcomes (e.g., whether a file was saved in SQLite, whether a background daemon terminated, or whether an off-screen document was corrupted) are completely invisible in screen frames.
    • Consequently, VLM judges frequently hallucinate task completion based purely on superficial UI cues, yielding high false positive rates (up to 28% on OSWorld).
  2. Handcrafted Programmatic Evaluators:

    • Traditional benchmarks rely on hardcoded Python/Bash scripts that query specific application states or databases.
    • However, writing custom evaluators for thousands of open-ended software tasks requires enormous engineering effort and breaks as soon as application UI layouts or internal storage schemas change.
    • Furthermore, programmatic scripts cannot evaluate offline recorded human trajectories or legacy execution logs where direct runtime machine access is unavailable.
                  THE CUA VERIFICATION DILEMMA

  Passive VLM Judge                      Programmatic Evaluators
  (Screenshots only)                     (Hardcoded scripts)
        │                                        │
        ▼                                        ▼
  - Sees only surface UI                 - Extremely brittle
  - Cannot query file systems/DBs        - Requires manual code per task
  - Blind to off-screen mutations        - Incompatible with offline traces
  - Up to 28% False Positive Rate        - Fails when schemas slightly shift
        │                                        │
        └──────────────┬─────────────────────────┘
                       │
                       ▼
          NEED: A Platform-Agnostic,
          Autonomous Verification Agent

The Increment

One sentence: VeriCUA formalizes verification as an autonomous agentic exploration process that synthesizes environment-grounded rubrics, probes both GUI and system code interfaces to gather decisive evidence, and adjudicates task success under rigorous evidence rules.

                              VERICUA WORKFLOW

  [Task Instruction g + Context c]
               │
               ▼
      [Rubric Synthesis] ──> Extracts Hard (Must-Have) & Soft (Negative) Requirements
               │
               ▼
     ┌─────────────────────────────────────────────────────────┐
     │           Active Agentic Exploration Loop               │
     │                                                         │
     │   Hypothesis Selection: Pick unresolved requirement r_i │
     │                           │                             │
     │       Action Space A(S): Hybrid GUI & Code Tools        │
     │       ├── GUI: zoom, crop, OCR, read_a11y, screenshot   │
     │       └── Code: find, read_file, sqlite_query, CLI      │
     │                           │                             │
     │       Observation: Extract Attested vs Asserted Evidence│
     └───────────────────────────┬─────────────────────────────┘
                                 │
                                 ▼
                     [Rule-Based Arbitration]
              ┌──────────────────┴──────────────────┐
              ▼                                     ▼
      All Requirements Met?               Corroborating Refutation?
      ──> [SUCCESS]                        ──> [FAIL]
              │
              └── Unsettled / Insufficient Evidence ──> [ABSTAIN]

The Anatomy

1. Verification as Active Evidence Gathering

Given a user task instruction gg, an agent executes trajectory τ=[o0,a0,…,oT]\tau = [o_0, a_0, \dots, o_T] and leaves the environment in post-execution state sTs_T. VeriCUA evaluates whether gg was fulfilled using available sources S={S1,…,Sm}\mathcal{S} = \{S_1, \dots, S_m\}, outputting a ternary decision: y∈{success,fail,abstain}y \in \{\text{success}, \text{fail}, \text{abstain}\}

The verification proceeds through four distinct stages:

  1. Context Inspection: Probes the operating system environment or recording metadata to construct initial context cc (e.g., active window, directory structures, platform type).
  2. Rubric Synthesis: Uses gg and cc to synthesize an explicit set of requirements R={r1,r2,…,rn}R = \{r_1, r_2, \dots, r_n\}, distinguishing hard requirements (necessary task completions) from soft constraints (side-effect prohibitions, e.g., “no unrelated files modified”).
  3. Active Exploration: At step kk, the verifier policy πV\pi_V selects an inspection action αk=(vk,xk)∈A(S)\alpha_k = (v_k, x_k) \in \mathcal{A}(\mathcal{S}) pairing a tool vkv_k with arguments xkx_k: αk∼πV(⋅∣g,c,R,Ek−1)\alpha_k \sim \pi_V(\cdot \mid g, c, R, \mathcal{E}_{k-1}) Execute(αk,S)⟶(o~k,tk)\text{Execute}(\alpha_k, \mathcal{S}) \longrightarrow (\tilde{o}_k, t_k) where o~k\tilde{o}_k is the returned tool output and tkt_k represents the evidence type and source metadata tracked by the harness.
  4. Rule-Based Arbitration: Aggregates the findings record EL\mathcal{E}_L to adjudicate requirement satisfaction without trusting unaudited model intuitions.

2. Hybrid Action Space: GUI + Code State

Unlike prior methods that strictly silo GUI inspection from code inspection, VeriCUA provides a unified action space A(S)\mathcal{A}(\mathcal{S}):

  • Code Probes (Online Settings):
    • find(path, pattern): Scans filesystem hierarchies for generated output files.
    • read_file(path, offset, length): Directly inspects configuration files, scripts, or persistent documents.
    • sqlite_query(db_path, query): Validates database records (e.g., contacts, calendar events, settings tables).
    • cli_command(command): Executes sandboxed commands to inspect running processes or network ports.
  • GUI Probes (Online & Offline Settings):
    • screenshot(), get_frame(t): Captures live desktop screens or temporal video frames.
    • zoom(box), crop(box): Zooms in on high-density UI elements (e.g., small checkboxes or fine text).
    • ocr(box): Extracts localized optical character recognition tokens.
    • read_a11y(): Dumps structured accessibility trees to parse exact UI widget states.

3. Strict Evidence Discipline: Attested vs Asserted Evidence

A primary driver of VLM judge error is conflating an agent’s intent with actual environment state. VeriCUA introduces an explicit evidence typology:

  • Asserted Evidence: The agent’s natural language thoughts, pre-action planned tool calls, or completion claims (“I have successfully changed the brightness”). Asserted evidence can propose hypotheses for exploration but can never alone satisfy a hard requirement.
  • Attested Evidence: Verified physical facts verified via independent sensors—a filesystem byte match, an SQL record timestamp, or a post-execution cropped UI element.

To mark a requirement rir_i as met, VeriCUA requires attested support. Conversely, marking a requirement unmet requires corroborating refutations across multiple probes to avoid false negatives due to minor tool syntax variations.


Quantitative Evaluation

The authors evaluate VeriCUA across three live online interactive environments (AndroidWorld, OSWorld, ScienceBoard) and two offline trajectory datasets (WebArena, OSReward).

1. Online Benchmark Performance

EnvironmentJudgePrecision (%)Recall (%)F1 ScoreAccuracy (%)False Positive Rate (FPR) ↓Decided Acc (%)
AndroidWorldVLM Judge79.369.774.278.415.4%78.4%
Auto-Generated Script77.884.881.282.416.9%82.4%
VeriCUA (Ours)90.687.989.290.57.7%95.1%
OSWorldVLM Judge68.275.071.473.427.9%73.4%
Auto-Generated Script70.678.174.275.925.9%75.9%
VeriCUA (Ours)80.371.375.579.513.9%88.7%
ScienceBoardVLM Judge42.960.050.071.624.8%71.6%
Auto-Generated Script50.972.559.876.921.7%76.9%
VeriCUA (Ours)77.460.067.686.45.4%91.6%

Key Result: VeriCUA cuts the False Positive Rate on OSWorld from 27.9% to 13.9% (a 50.2% reduction) and on ScienceBoard from 24.8% to 5.4% (a 78.2% reduction). When VeriCUA is confident enough to decide, its accuracy exceeds 95% on AndroidWorld and 91.6% on ScienceBoard.

2. Offline Benchmark Performance (OSReward & WebArena)

JudgeOSReward-Hard Acc (%)OSReward Full Acc (%)WebArena Acc (%)AndroidWorld Offline (%)OSWorld Offline (%)
TRM (Single-pass VLM)57.482.279.688.380.3
CUAJudge (Checklist)63.483.781.391.283.4
OS-Themis (Milestone)65.780.275.489.482.1
VeriCUA (Ours)70.487.282.794.386.3

Key Result: On the OSReward-Hard subset, VeriCUA outperforms the strongest structured baseline (OS-Themis) by +4.7 percentage points and single-pass VLM by +13.0 percentage points, demonstrating that complex multi-step failures cannot be diagnosed without iterative exploration.


Key Takeaways

  1. Verification is an Active Investigation, Not a Forward Pass: Passing an entire trajectory or final screenshot into a single LLM prompt fails because digital environments conceal state changes beneath superficial pixels. Active exploration is essential.
  2. Hybrid Probing is Essential: Combining code-based filesystem checks with visual OCR/a11y checks resolves ambiguities that neither modality can solve alone. GUI checks confirm visual intent; code checks confirm data persistence.
  3. The Value of Abstention: In automated RL fine-tuning and synthetic dataset curation, admitting ignorance (abstain) is far superior to asserting a false positive. By withholding judgment when evidence is ambiguous, VeriCUA delivers curated datasets with clean reward signals.

论文: 2610.40578
作者: Qiushi Sun, Da Yu, Alexander Knop, Amer Sinha, Lingpeng Kong, Ben Kao, Ravi Kumar, Pritish Kamath(Google,香港大学)
分类: cs.AI, cs.CL

核心痛点与背景

随着计算机操作智能体(Computer-Using Agents, CUAs)在桌面(OSWorld)、移动端(AndroidWorld)以及网页端(WebArena)的快速发展,智能体已具备通过键鼠模拟和系统调用完成复杂长程任务的能力。然而,AI 社区面临着一个致命的底层瓶颈:我们如何可靠、自动化地验证智能体是否真正完成了任务?

任务完成度验证不仅是基准评测的核心,更是合成训练数据清洗、强化学习(RL)自动化奖励标注、以及安全部署保障的生命线。

现有的评测范式存在根本性的结构缺陷:

  1. 被动式多模态大模型(VLM)裁判的“局部观测幻觉”:

    • 现存方案通常将执行过程的视频截图或最终屏幕画面喂给 VLM 进行单次打分判断。
    • 然而,真实的操作系统环境具有极强的部分可观测性(Partial Observability)。例如:文件是否按正确编码写入了 SQLite、后台守护进程是否已安全退出、屏幕未展示区域的数据是否被意外破坏等,在静态截图中均完全不可见。
    • 这导致 VLM 裁判极易被表面的 UI 视觉假象所欺骗,在 OSWorld 等真实系统任务中产生高达 27.9% 的严重假阳性率(False Positive Rate)。
  2. 硬编码测试脚本(Programmatic Evaluators)的“脆弱性困境”:

    • 传统基准测试依赖人工编写 Python/Bash 脚本探测数据库或系统状态。
    • 为成千上万个开放式真实任务编写独立评测脚本成本极其高昂,且一旦应用软件升级、UI 布局微调或存储路径改变,硬编码脚本便大面积失效。
    • 此外,测试脚本无法应用于离线记录的人类或智能体轨迹(Recorded Trajectories),适用场景受限。
                  计算机操作智能体(CUA)评测的现实困境

     被动式 VLM 裁判                      硬编码测试脚本
    (仅看表面静态截图)                  (人工编写系统断言)
            │                                    │
            ▼                                    ▼
    - 仅能捕获屏幕表象                   - 极度脆弱,维护成本极高
    - 无法探查深层文件与数据库           - 依赖专有 API,跨软件即崩溃
    - 对屏幕外副作用完全致盲             - 无法复用于离线历史轨迹
    - 假阳性率高达 28%                   - 稍微改动 UI 属性即判失败
            │                                    │
            └─────────────────┬──────────────────┘
                              │
                              ▼
                 迫切需求:平台无关、主动探索的
                    通用智能体评测系统

核心贡献与创新

一句话总结:Google 与香港大学联合团队提出 VeriCUA 框架,将任务评测从“被动打分”重塑为“主动环境探索”过程;系统自动合成结构化验收规约,调度混合 GUI 与系统代码工具链动态采集确凿证据,并依托严谨的证据仲裁机制判定胜负。

                              VERICUA 工作流架构

  [任务指令 g + 初始环境上下文 c]
               │
               ▼
      [规约动态合成] ──> 提取强必要条件(Hard)与负面约束(Soft)
               │
               ▼
     ┌─────────────────────────────────────────────────────────┐
     │                主动智能体环境探索循环                    │
     │                                                         │
     │   假设与目标选取:锁定未解决的验收条件 r_i              │
     │                           │                             │
     │       混合动作空间 A(S):GUI 与系统代码双通道           │
     │       ├── GUI 通道:zoom、crop、OCR、read_a11y、截屏     │
     │       └── 系统代码通道:find、read_file、sqlite_query   │
     │                           │                             │
     │       观测与证据提炼:严格区分【断言证据】与【确证证据】 │
     └───────────────────────────┬─────────────────────────────┘
                                 │
                                 ▼
                         [基于规则的最终仲裁]
              ┌──────────────────┴──────────────────┐
              ▼                                     ▼
        全部规约满足?                        出现反例证据?
        ──> [成功 SUCCESS]                    ──> [失败 FAIL]
              │
              └── 证据不足或存在冲突 ──> [弃权 ABSTAIN]

核心技术实现

1. 探索式证据搜集模型

对于给定的自然语言任务 gg,智能体执行轨迹 τ=[o0,a0,…,oT]\tau = [o_0, a_0, \dots, o_T] 并将操作系统留在最终状态 sTs_T。VeriCUA 在任务结束时刻启动,根据可用数据源 S\mathcal{S} 输出三元判定: y∈{success,fail,abstain}y \in \{\text{success}, \text{fail}, \text{abstain}\} 引入“弃权(abstain)”机制对于构建高纯度的强化学习训练集至关重要,避免在证据模糊时产生误导性奖励。

VeriCUA 包含四大执行阶段:

  1. 上下文嗅探(Context Inspection):先期探测机器环境元数据(当前活动窗口、桌面架构、已安装软件、文件目录树等),构建上下文 cc。
  2. 规约合成(Rubric Synthesis):将任务 gg 转化为机器可逐项验证的规约集合 R={r1,…,rn}R = \{r_1, \dots, r_n\}。严格区分硬性完成条件(Hard Requirements)与软性约束条件(Soft Constraints,如不得破坏无关用户数据)。
  3. 主动探索探测(Active Exploration):在第 kk 步,验证策略网络 πV\pi_V 调度工具动作 αk=(vk,xk)∈A(S)\alpha_k = (v_k, x_k) \in \mathcal{A}(\mathcal{S}): αk∼πV(⋅∣g,c,R,Ek−1)\alpha_k \sim \pi_V(\cdot \mid g, c, R, \mathcal{E}_{k-1}) Execute(αk,S)⟶(o~k,tk)\text{Execute}(\alpha_k, \mathcal{S}) \longrightarrow (\tilde{o}_k, t_k) 底层测试沙箱(Harness)执行探测并标记数据源属性与时间戳元数据。
  4. 规则化仲裁(Rule-Based Arbitration):摒弃端到端黑盒评分,根据收集到的确凿事实链按照严格的布尔规则实施仲裁。

2. 混合动作空间(Hybrid Action Space)

VeriCUA 彻底打破了“视觉流”与“代码流”的割裂:

  • 系统代码工具(用于在线环境):
    • find(path, pattern):在文件系统层级递归定位生成目标。
    • read_file(path, offset, length):读取配置与文本内容,杜绝 UI 渲染截断带来的误判。
    • sqlite_query(db_path, query):核验本地结构化数据库(如备忘录、通讯录、系统偏好设置)。
    • cli_command(command):以受控权限执行诊断命令。
  • GUI 交互工具(同时支持在线实机与离线轨迹):
    • screenshot() / get_frame(t):捕获实时屏幕或历史帧。
    • zoom(box) / crop(box):对密集界面关键区域(如极小状态指示灯或提示语)局部放大。
    • ocr(box):提取局部光学文字。
    • read_a11y():解析无障碍服务辅助树(Accessibility Tree),直接读取控件精确语义。

3. 严格的证据法则:断言证据 vs 确证证据

模型裁判误判的关键根源在于将智能体的“自称或计划”当作了“执行结果”。VeriCUA 在工程上严格划分了证据等级:

  • 断言证据(Asserted Evidence):智能体在轨迹中输出的自然语言思考、计划调用、或者结束时的自我汇报(“我已经把文件保存好了”)。断言证据仅能用于启发探索方向,绝对不可作为条件判定的通过依据。
  • 确证证据(Attested Evidence):由外部测试工具独立测得的不可篡改事实——如磁盘文件字节比对成功、数据库写入时间戳匹配、或动作执行后独立捕获的高清切片。

只有当某条规约获得充分的确证证据支持时才会被标记为 met;而标记为 unmet 则需要多个独立探测互相印证,以防由于智能体微小的非预期行为产生误杀。


实验结果与深度分析

研究团队在三个在线动态环境(AndroidWorld、OSWorld、ScienceBoard)与两个离线评测集(WebArena、OSReward)上进行了全面评估。

1. 在线环境评测表现

评测环境裁判方法精确率 Prec (%)召回率 Rec (%)F1 值准确率 Acc (%)假阳性率 (FPR) ↓明确判定准确率
AndroidWorld基础 VLM 裁判79.369.774.278.415.4%78.4%
自动化生成脚本77.884.881.282.416.9%82.4%
VeriCUA(本文)90.687.989.290.57.7%95.1%
OSWorld基础 VLM 裁判68.275.071.473.427.9%73.4%
自动化生成脚本70.678.174.275.925.9%75.9%
VeriCUA(本文)80.371.375.579.513.9%88.7%
ScienceBoard基础 VLM 裁判42.960.050.071.624.8%71.6%
自动化生成脚本50.972.559.876.921.7%76.9%
VeriCUA(本文)77.460.067.686.45.4%91.6%

关键发现:VeriCUA 在 OSWorld 上的假阳性率由 27.9% 骤降至 13.9%(降低超 50%),在极其严苛的科学计算桌面基准 ScienceBoard 上假阳性率由 24.8% 直降至 5.4%(降低 78.2%)。在 VeriCUA 做出明确判定的子集上,其判定准确率在 AndroidWorld 上达到 95.1%,在 ScienceBoard 上达到 91.6%。

2. 离线多平台轨迹评测表现(OSReward & WebArena)

裁判方法OSReward-Hard 困难集 Acc (%)OSReward 全集 Acc (%)WebArena Acc (%)AndroidWorld 离线 Acc (%)OSWorld 离线 Acc (%)
TRM (单次 VLM)57.482.279.688.380.3
CUAJudge (清单打分)63.483.781.391.283.4
OS-Themis (里程碑审查)65.780.275.489.482.1
VeriCUA(本文)70.487.282.794.386.3

关键发现:在最严苛的 OSReward-Hard 困难轨迹集上,VeriCUA 较最强结构化基线提升了 +4.7 个百分点,较传统单步 VLM 裁判更是大幅跃升 +13.0 个百分点。这强力证明:对于充满长程多步试错与界面反复切换的复杂任务,缺乏主动证据检索的静态打分绝无法探知真相。


启示与实践意义

  1. 评测本身即是智能体任务:过去的评测把大模型当作静态函数使用,面对具有深层状态的复杂操作系统,必须给予评测器动态交互的工具与自由度,让其像一名“侦探”一样主动求证。
  2. GUI 与系统代码的跨模态互补:视觉观察能快速验证用户体验与控件焦点,而系统底层代码与数据库检查能确证持久化状态。两者结合是杜绝幻觉的唯一正解。
  3. “理性弃权”在 RL 闭环中的巨大价值:在智能体自动化强化学习飞轮中,错误的高奖励(假阳性)会迅速导致策略退化(Reward Hacking)。VeriCUA 宁可弃权也不给假阳性打高分,为智能体进化提供了极高信噪比的监督信号。