Computer-Use Agents as Judges for Automatic GUI Design

Kevin Qinghong Lin, Siyuan Hu, Linjie Li, Zhengyuan Yang, Lijuan Wang, Philip Torr, Mike Zheng Shou · Submission to ICLR 2026 · Withdrawn

TL;DR

Instead of forcing AI agents to awkwardly navigate digital environments built for human eyes, this paper explores what happens when agents design their own software. The authors introduce AUI-Gym and a collaborative Coder–CUA framework, where a coding language model acts as the UI designer and a Computer-Use Agent (CUA) acts as the judge—iteratively refining web interfaces to be agent-native, functionally complete, and easy for AI to operate.

What Problem Does This Paper Address?

Graphical user interfaces (GUIs) are built for human sensory preferences: colorful palettes, smooth animations, nested dropdowns, and fluid gestures like dragging sliders. Modern Computer-Use Agents (CUAs) struggle on these interfaces because they are forced to imitate human visual and motor behavior, adding failure points that have little to do with the actual computational task.

While code-generation models can easily generate HTML/CSS/JS applications, they still blindly copy human-facing UI conventions. This paper tackles a central question: Can we treat the interface as a tunable environment and use CUAs as judges to guide code models in generating agent-native interfaces?

Methods

The authors model the interaction as a Markov Design Process between two agent roles:

  • Coder as Designer ($\pi_{\text{Coder}}$): Generates an initial application ($E_0$) in vanilla HTML/CSS/JavaScript and iteratively updates the codebase ($E_{t+1}$) based on structured feedback.
  • CUA as Judge ($\pi_{\text{CUA}}$): Evaluates the interface by attempting predefined tasks and returning diagnostic signals along two dimensions:
  • Task Solvability Feedback ($R_{\text{task}}$): A pre-flight programmatic check verifies whether required DOM elements and functionalities exist. Missing capabilities are summarized as language feedback to fix absent features.
  • CUA Navigation Feedback ($R_{\text{nav}}$): The agent attempts the task using atomic coordinate actions (click, type, scroll).
  • CUA Dashboard: Feeding raw multi-step screenshot trajectories to a model is prohibitively token-heavy. The authors design a single-image $1920 \times 1080$ storyboard that crops and tiles only the key interactive regions touched by the agent, dynamically scaling them by step order. This cuts visual token consumption by an average of 76.2% while highlighting exactly where an agent got stuck.
  • Agent-Centric Design Principles: Redesigns prioritize high contrast (e.g., black text on white backgrounds), single-screen layouts (1280×720 viewport without scrolling), discrete step buttons instead of pointer-dragged sliders, and direct, synchronous DOM state updates.
+---------------+   Initial HTML / Patches   +-------------------+
| Coder Model   | -------------------------> | Tunable Web UI    |
|  (Designer)   | <------------------------- |   Environment     |
+---------------+   Dashboard & Diagnostics  +-------------------+
                           ^                           |
                           | Trajectory Feedback       | Action Rollouts
                           +-------- [ CUA Judge ] <---+

Datasets

The authors introduce AUI-Gym, an automated GUI development and testing benchmark:

  • Scope: 52 single-page web applications spanning six domains: Apps (e.g., meal trackers), Landing Pages, Games, Interactive Demos, Tools, and Utilities (e.g., Pomodoro timers).
  • Tasks: 1,560 tasks (30 per app) synthesized by GPT-5 to represent practical user workflows, subsequently validated and filtered by human annotators.
  • Ground-Truth Rule Verifiers: Rather than relying on unreliable multimodal LLM judges, AUI-Gym uses GPT-5 at test time to construct task-specific, rule-based JavaScript verifiers that inspect exact DOM states and variables.

Key Insights and Ideas

  • Inverting the UI Paradigm: Instead of fine-tuning agents to master cluttered human UIs, dynamically adapting the interface to the agent yields immediate execution gains.
  • Vision-Language Model (VLM) Judges Fail at Verification: Evaluating execution success solely via a post-task screenshot using a VLM yielded a Cohen’s $\kappa$ of only $0.13$ to $0.17$ (near random agreement above a naive all-fail baseline). Concrete DOM-level programmatic checks are mandatory for reliable agent evaluation.
  • Agent-Native Affordances Emerge: When allowed to optimize for the agent, interfaces naturally shed decorative fluff: sliders are replaced with explicit increment/decrement buttons, confirmation popups are eliminated, and hidden controls are brought above the fold.
  • Weak Coders Gain the Most: While top-tier models (GPT-5) improve moderately, weaker open-source models receive massive boosts from iterative CUA feedback, demonstrating that execution feedback can compensate for code generation shortcomings.

Key Results

Experiments evaluated coders (GPT-5, Qwen3-Coder-30B, GPT-4o) paired with CUAs (UI-TARS-1.5-7B and OpenAI Operator):

  • Function Completeness (FC): Integrated revision boosted functionality across all models. GPT-5 improved from 67.9% to 81.5%, while Qwen3-Coder-30B jumped from 42.1% to 60.1%.
  • CUA Success Rate (SR):
    • With UI-TARS, Qwen3-Coder-30B's execution success rate surged from 7.3% to 19.0% (+11.7%), and GPT-4o jumped from 8.8% to 16.1%.
  • With Operator, GPT-5 achieved an overall success rate of 31.5% (up from 24.5%), excelling particularly in complex interactive and game environments.
  • Dashboard Efficiency: The CUA Dashboard reduced visual context tokens by 76.2%, providing a clear step-by-step trace that was effective for vision-capable models to diagnose interface bugs.

Limitations and Future Work

  • Performance Saturation: On the strongest models (like GPT-5), repeated revision rounds occasionally led to plateauing or slightly degraded CUA success rates, indicating potential overfitting or regression in multi-turn patching.
  • Commenter Perception Bottlenecks: The visual CUA Dashboard requires strong multimodal perception (e.g., GPT-5); weaker models (like Qwen2.5-VL-72B) performed better when given text-only trajectory logs rather than visual boards.
  • Single-Page Scope: Current experiments are restricted to single-page, self-contained HTML/CSS/vanilla JS applications rendered within a fixed $1280 \times 720$ viewport. Extending to multi-page, persistent full-stack applications remains open for future research.

Summary updated

BibTeX
@inproceedings{lin2025computer,
  author = {Kevin Qinghong Lin and Siyuan Hu and Linjie Li and Zhengyuan Yang and Lijuan Wang and Philip Torr and Mike Zheng Shou},
  title = {{Computer-Use Agents as Judges for Automatic GUI Design}},
  booktitle = {LAW @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=ZF9aeb5CHD},
}
Figure