GUI-HARVEST:通过证据驱动的工具链进化实现自我改进的GUI智能体
研究论文 · 2026/10/07
GUI 模型周围的可执行 harness 决定了观察如何组装、动作如何执行,以及验证、恢复和终止如何控制。与面向非 GUI 智能体的 harness 优化相比,自动优化该 harness 面临三个相互耦合的挑战:协调模型意图与观察到的视觉效果、在可变执行结果下诊断失败、识别跨任务的重复失败模式并将其转化为可复用的运行时变更。我们提出 GUI-HARVEST,一种自动 harness 优化器,使骨干模型冻结的 GUI 智能体能够自我改进。首先,为使诊断基于观察到的动作效果,它将模型输出和执行动作与前后截图对齐,把发现与特定界面转换关联。其次,为考虑执行可变性,它将同一任务的重复运行视为联合证据单元,利用任务内比较定位与结果相关的行为差异。第三,它将跨任务验证过的发现整合为重复失败模式,映射为有界源代码编辑,并在评估前记录预测,通过重复执行检查预测的行为效果与任务性能。在 OSWorld-Verified 上的实验显示,在六个通用开源、GUI 专用开源和专有骨干模型上均取得一致的留出集增益;Qwen3-VL-32B-Instruct 在全套件上提升 12.33 分。冻结 harness 迁移在 50 步下使 GPT-5 在 WindowsAgentArena 上提升 13.87 个百分点,且无需进一步优化。在相同骨干和初始 harness 下,GUI-HARVEST 优于 Self-Harness 和 Meta-Harness,表明 GUI 特定的诊断与验证有助于 harness 改进泛化到未见任务。代码见 https://github.com/GaryYang12345/GUI-HARVEST。
该工作针对 GUI 智能体 harness 自动优化这一关键问题,提出可复用的诊断与验证机制,并在多个骨干模型和基准上验证了性能提升与迁移能力,对构建自我改进的 GUI 智能体具有直接参考价值。
The executable harness surrounding a GUI model determines how observations are assembled, actions are executed, and verification, recovery, and termination are controlled. Compared with harness optimization for non-GUI agents, automatically optimizing this harness poses three coupled challenges: reconciling model intent with observed visual effects, diagnosing failures under variable execution outcomes, and identifying recurrent failure patterns across tasks and translating them into reusable runtime changes. We introduce GUI-HARVEST, an automatic harness optimizer that enables self-improving GUI agents with frozen backbone models. First, to ground diagnosis in observed action effects, it aligns model outputs and executed actions with before-and-after screenshots, tying findings to specific interface transitions. Second, to account for execution variability, it treats repeated runs of the same task as a joint evidence unit, using within-task comparisons to locate outcome-relevant behavioral differences. Third, it consolidates verified findings across tasks into recurring failure patterns, maps them to bounded source-code edits with predictions recorded before evaluation, and checks the predicted behavioral effects alongside task performance through repeated execution. Experiments on OSWorld-Verified show consistent held-out gains across six general-purpose open, GUI-specialized open, and proprietary backbone models; Qwen3-VL-32B-Instruct gains 12.33 points on the full suite. Frozen-harness transfer improves GPT-5 by 13.87 percentage points on WindowsAgentArena at 50 steps without further optimization. With the same backbone and initial harness, GUI-HARVEST outperforms Self-Harness and Meta-Harness, suggesting that GUI-specific diagnosis and validation help harness improvements generalize to unseen tasks. The code is available at https://github.com/GaryYang12345/GUI-HARVEST.