GUI-HARVEST: Self-Improving GUI Agents through Evidence-Driven Harness Evolution
GUI-HARVEST automatically improves the executable runtime harness around a frozen GUI agent without retraining the model. It grounds diagnosis in before-and-after screenshots from repeated task executions, clusters failures into cross-task behavior modes, and validates candidate code edits against both aggregate score gains and predicted behavioral changes. Experiments on OSWorld-Verified show held-out gains across six diverse backbones, with the largest improvement reaching +12.33 percentage points for Qwen3-VL-32B-Instruct. The work is significant because it demonstrates that GUI-specific multimodal evidence yields more generalizable harness edits than generic text-trace optimizers.
The paper presents a strong, well-motivated method for GUI harness optimization with solid empirical gains, but it leans heavily on a powerful external optimizer and leaves open questions about cost, generalizability to already-specialized runtimes, and whether the behavioral validation gate is strict enough to prevent overfitting. The comparisons to generic optimizers are convincingly controlled, while the broader benchmark figures mix unequal configurations.
The ablation evidence is compelling: removing visual evidence causes the largest quality drop, reinforcing the central premise that text traces are insufficient for GUI diagnosis. The repeated-execution design is well justified, as 11.8–20.4% of tasks flip between zero and positive scores across three runs, so single trajectories are noisy accounts of agent capability. Checking predicted behavioral effects against screenshots rather than raw scores alone is a methodologically sound innovation.
First, the optimization loop is enormously expensive and optimizer-dependent. All four roles use Claude Sonnet 5, and the protocol consumes up to $B=10$ rounds with $P=5$ attempts per round and $K=3$ rollouts per task, meaning thousands of GUI executions. The impressive gains may partly reflect the strength of this external model rather than a generally scalable recipe. Second, the behavioral soft gate is relatively permissive: a candidate passes if each prediction has at least one determinate verdict and more supporting than contradicting verdicts, which is a weak majority rule rather than stringent behavioral proof. Third, gains are uneven across backbones: OpenCUA improves by only 1.49–4.68 percentage points, versus 6.05–12.33 for Qwen and frontier models, suggesting the method adds limited value when the native runtime is already tightly coupled to its backbone. Fourth, Appendix D notes that residual errors involve successfully executed actions targeting the wrong object, route, or evaluator-relevant state, which harness-only changes cannot easily detect because these actions may appear valid in screenshots and execution logs despite failing the task.
The direct comparison to Self-Harness and Meta-Harness is fair and well controlled: the authors use the same initial Agent S3 harness, the same Claude Sonnet 5 optimizer, and the same ten-round budget, yet GUI-HARVEST gains 10.16 Test points versus 2.00 and 4.38 respectively. This supports the claim that GUI-specific visual diagnosis outperforms generic text-trace optimization, which the cited papers indeed evaluate on classification, math, and terminal coding rather than GUI tasks. The LFF comparison is properly caveated: the authors acknowledge they could only evaluate released patches, not the full search procedure. The broader benchmark comparisons in Figure 1 and Tables 5–7, however, are not controlled experiments; they juxtapose different frameworks, step budgets, and aggregation protocols, so the highest score in every comparison statement reflects reported leaderboard positions rather than paired causal evidence.
The authors provide code, but independent reproduction would face major barriers. The core algorithm depends on extensive, unstated prompts for four Claude Sonnet 5 roles, a capability manifest defining editable harness files, and the GAFT toolkit for aligning screenshots with actions. Crucial implementation details are relegated to appendices, and the exact system prompts and ledger schemas visible to the optimizer are not reproduced in the main text. Without these, a third party cannot replicate the optimizer's behavior even with the released codebase.
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.
Pick a starting point or write your own. Challenges run in the background, so you can keep reading while the AI investigates.
No challenges yet. Disagree with the review? Ask the AI to revisit a specific claim.