NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

When Interfaces Speak: Data-Aware Generative UI Harness for Active Interaction

Xiaolong Li, Xiaohan Xu, Jinyang Li, Xinnuo Xu, Ge Qu, Nan Huo, Jack Williams, Reynold ChengarXiv 2026

TL;DR

The paper introduces GENUI-Harness, a framework that enables AI agents to interact with users through dynamically generated, data-aware graphical interfaces rather than just text. By combining a novel reinforcement learning (RL) training pipeline with a new benchmark, UI-TAU Bench, the authors demonstrate that even small 4B-parameter models can outperform frontier LLMs like Claude Opus 5 while drastically reducing the number of interaction turns needed to complete complex tasks.

What Problem Does This Paper Address?

Most current AI agents rely on natural language for interaction. While flexible, text is often a poor medium for complex, goal-directed tasks (e.g., booking a multi-leg flight with specific meal and seat preferences). Users face cognitive overload when translating structured needs into text, and agents often struggle with ambiguity, leading to tedious, multi-turn "clarification" dialogues.

The authors argue for Generative UI (GenUI): ephemeral, task-specific interfaces that visualize grounded data (like specific flight options) and capture structured user intent (like checkboxes for baggage). However, training agents to generate functional UI code is difficult because:

  1. Verifiability is expensive: Rendering and interacting with UI code in a sandbox for every training step is computationally heavy.
  2. Reward Hacking: Using an LLM to "judge" UI quality often leads to models that produce plausible-looking but non-functional code.
Figure 1: Text-based and generated-UI interaction for the same flight-booking request. Left: text requires successive clarification of travel preferences. Right: the generated UI presents retrieved options and structured controls for direct review and clarification.

Methods

The authors propose a multi-agent system consisting of a Tool Agent (for database exploration and final execution) and a GUI Coder Agent (for generating React/TypeScript code). To train the Coder Agent effectively, they introduced two key components:

  • Dynamic UX: A lightweight rendering package that allows for parallel, session-isolated execution of generated code within a single sandbox. This significantly reduces the latency and resource overhead of rendering thousands of UIs during RL training.
  • Reward Auditor: A meta-reward mechanism. It monitors the distribution of rewards from an LLM-as-a-Judge and compares them against actual task outcomes (did the database state change correctly?). It then automatically distills these findings into a revised, shared rubric to prevent the model from "gaming" the reward system.

The training follows a progression from Supervised Fine-Tuning (SFT) to RL using Group Relative Policy Optimization (GRPO), guided by the audited rewards.

Figure 3: The GENUI-Harness workflow, linking pre-agent exploration, UI generation, and post-agent execution.

Datasets

  • UI-TAU Bench: A new benchmark introduced in this paper. It consists of 1,000 tasks across 10 real-world domains (Flight booking, E-commerce, Healthcare, etc.) built on public data sources. It includes "Lite" (300 tasks) and "Full" (1,000 tasks) splits.
  • Training Data: The authors synthesized 40 additional domain databases (separate from the benchmark) to generate end-to-end trajectories for training.

Key Insights and Ideas

  • UI as a "Dialogue Compressor": The most significant insight is that a well-designed UI can collapse a 3.4-round text conversation into a 1.2-round interaction. By presenting all relevant options and missing fields at once, the agent eliminates the "back-and-forth" typical of text agents.
  • Small Models can Punch Up: A 4B-parameter model (Qwen-based) trained with GENUI-Harness achieved a 58.00% Pass@3 score, significantly outperforming much larger models like Claude Opus 5 (46.67%) on the same tasks.
  • Closing the Feedback Loop: The Reward Auditor (Figure 4) is crucial. By using actual task success to "judge the judge," the authors found they could identify specific failure modes—like a UI that looks perfect but has broken button bindings—and fix the training signal.
Figure 4: The Reward Auditor adds an offline loop to revise judging criteria based on actual task outcomes.

Key Results

  • Performance Gain: GENUI-Harness improved the Pass@3 rate of a 4B backbone from a 9.33% baseline to 58.00%.
  • Efficiency: As shown in Figure 5, GENUI-Harness sits on the "favorable frontier," achieving higher success rates with 36–43% fewer agent turns compared to text-based baselines like smolagents.
  • User Acceptability: In a reviewer survey, generated UIs were judged to have acceptable latency in 85% of tasks, and humans were able to complete tasks much faster than through text.
Figure 5: Efficiency frontier showing GENUI-Harness achieves higher success with fewer turns.

Limitations and Future Work

  • Simulator Fidelity: The evaluation uses an LLM-based user simulator. While effective for scaling, it may be more "capable" than a real human at navigating complex UIs.
  • Visual Usability: The current reward system relies on ARIA snapshots (accessibility trees). This doesn't capture purely visual issues like overlapping elements or confusing layouts that don't break the underlying code.
  • One-Shot UI: Currently, the system generates one UI and expects the task to finish. Future work could explore adaptive UI regeneration, where the interface evolves over multiple turns based on ongoing user feedback.

Summary updated

BibTeX
@misc{li2026when,
  author = {Xiaolong Li and Xiaohan Xu and Jinyang Li and Xinnuo Xu and Ge Qu and Nan Huo and Jack Williams and Reynold Cheng},
  title = {{When Interfaces Speak: Data-Aware Generative UI Harness for Active Interaction}},
  year = {2026},
  eprint = {2610.11123},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.11123},
}
Figure