Computer-Use Agents as Judges for Generative User Interface

Kevin Qinghong Lin, Siyuan Hu, Linjie Li, Zhengyuan Yang, Lijuan Wang, Philip Torr, Mike Zheng Shou

TL;DR

This paper introduces a paradigm shift from human-centric to agent-native user interface (UI) design. By pairing a code-generation model (Coder) as a designer with a Computer-Use Agent (CUA) as a judge, the framework automatically and iteratively refines Graphical User Interfaces (GUIs) to maximize AI navigation success and task solvability rather than human aesthetic appeal.

What Problem Does This Paper Address?

Modern Graphical User Interfaces are fundamentally designed for humans, prioritizing visual aesthetics, colorful layouts, and dynamic animations. When autonomous AI agents (Computer-Use Agents, or CUAs) interact with these digital environments, they are forced to mimic human behaviors and navigate redundant stylistic elements, which introduces unnecessary complexity and failure points.

Instead of training increasingly massive models to adapt to static, human-centric UIs, this paper asks a compelling counter-question: Can we dynamically tune the digital environment to suit the agent? The authors tackle the lack of frameworks and benchmarks optimized for agent-native UI design, moving AI from passive users to active co-designers of their own digital workspaces.

Figure 1: Illustration of Humans Collaboration vs. our Coder-CUA Collaboration in term of UI designs. Left: Most GUIs are designed by humans and optimized for user experience (e.g., aesthet- ics), forcing trained agents to adapt to human-oriented behaviors. Right: Our Coder-CUA Collab- oration framework leverages Coder as Designer and CUA as Judge together, enabling more reliable task execution and improved usability for agents.

Methods

The authors propose the Coder-CUA in Collaboration framework, formalizing UI design as a Markov Design Process containing two primary roles:

  1. Coder as Designer: A coding-oriented language model responsible for initializing the HTML/CSS/JS environment and iteratively revising it based on feedback.
  2. CUA as Judge: A vision-language agent that executes tasks within the generated UI, providing interaction trajectories that serve as feedback signals.

To make this collaboration scalable and reliable, the framework introduces two novel components:

  • Programmatic Verifier: Rather than relying on biased "VLM-as-Judge" evaluations, the framework uses a test-time LLM to generate rule-based JavaScript checkers tailored to each task and interface. These checkers programmatically verify if a task was successfully executed based on actual DOM element states.
  • CUA Dashboard: Multi-step agent trajectories generate massive amounts of visual data, which are difficult for a Coder LLM to ingest directly. The CUA Dashboard crops and tiles only the key interactive regions touched by the agent into a single $1920 \times 1080$ canvas. This dynamic scaling compresses visual token redundancy by an average of 76.2% while preserving critical step-by-step context.

Datasets

Because no existing testbed evaluates agent-centric UI development, the authors introduced AUI-Gym.

  • Scope: It spans 52 web applications across six distinct domains: general apps, landing pages, games, interactive demos, tools, and utilities.
  • Tasks: Using language models, they synthesized 1,560 realistic tasks (30 per application) that simulate real-world usage scenarios.
  • Quality Control: All automated tasks underwent human validation to filter out low-quality, ambiguous, or trivial actions, ensuring they align with each domain's core design philosophy.

Key Insights and Ideas

  • Agent-Native Aesthetics: AI agents perform best in environments that humans might find boring. The feedback loop naturally steers UIs toward "de-stylization"—favoring high contrast, simplified layouts, clear element boundaries, and upfront information presentation over hidden menus or scrolling features.
  • Navigation vs. Solvability: The authors found that task solvability (whether the UI functionally supports the feature) is foundational but easily fixed via text-based failure summaries. In contrast, CUA navigation (the multi-step execution of the task) is the primary bottleneck, requiring visual dashboard feedback to help the Coder fix layout and visibility issues.
  • Replacing Sliders with Buttons: A fascinating qualitative finding showed that for continuous inputs like sliders (which are notoriously difficult for coordinate-based agents to drag accurately), the framework naturally learned to add discrete "increase" and "reduce" buttons to make interaction robust.

Key Results

The framework was evaluated using state-of-the-art models including GPT-5, GPT-4o, and Qwen3-Coder-30B.

  • Function Completeness (FC): Integrating task solvability and navigation feedback consistently boosted the functional completeness of the generated UIs. For GPT-5, the overall function completeness rose from a baseline of 67.9% to 81.5%.
  • CUA Success Rate (SR): While open-source CUAs initially struggled on baseline human-centric layouts (averaging just 13.5% success), the collaborative refinement loop yielded an average absolute improvement of 6.8% in task completion rates. Weak coders saw the largest relative gains, with performance jumps up to 11.7%.
  • Dashboard Efficiency: The CUA Dashboard out-performed text-only and screenshot-only baselines, proving that combining compressed visual cues with textual action histories provides the most effective refinement signals for the Coder.

Limitations and Future Work

The authors note that the benefits of iterative revision can saturate for exceptionally strong coders (like GPT-5), where the CUA success rate occasionally plateaus or slightly drops after repeated rounds, whereas weaker models show steady, monotonic improvement. Additionally, the framework relies heavily on the visual perception capabilities of the LLM/VLM acting as the commenter. Future work will likely explore how these agent-native design principles can be integrated into hybrid interfaces that accommodate both human and AI users simultaneously.

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 Generative User Interface}},
  booktitle = {LAW @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=ZF9aeb5CHD},
}
Figure