arXiv:2610.11123cs.AIOct 2026

Manuscript Offprint

arXiv:2610.11123

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 Cheng

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

ABSTRACT

Most human-agent interaction today remains text-based. However, natural language is often not a perfect medium for complex tasks, as it can lead to cognitive overload, ambiguity, information chaos, and a slow input process; ephemeral generative UIs can present structured information and guide users toward task completion. In this work, we propose GENUI-Harness, a multi-agent harness that pairs a Tool Agent for information retrieval and task execution with a GUI Coder Agent that identifies ambiguities and generates front-end code for structured interfaces, helping users complete their tasks. Training such a versatile coder with reinforcement learning is challenging: verifiable rewards for interactive UI generation require costly execution, while LLM-as-a-Judge rewards are prone to reward hacking. We address the first challenge with Dynamic UX, a lightweight package that supports dynamic interaction and reward collection within a single sandbox, and the second with Reward Auditor, a meta-reward mechanism that monitors reward distributions and automatically distills diagnostic patterns into a shared rubric and scoring specification. To evaluate this task, we introduce UI-TAU Bench, a benchmark for active human-agent interaction through generated UI code, built on 10 real-world domain databases constructed from public data sources and based on Tau-Bench tool use settings, with Lite (300 tasks) and Full (1,000 tasks) splits. Experiments show that GENUI-Harness achieves an average Pass@3 gain of 4.48 percentage points over smolagents on Lite. Training with GENUI-Harness improves a 4B backbone from a 9.33% baseline to 58.00% Pass@3, even outperforming larger frontier models such as Claude Opus 5 (46.67%). We further show that GenUI-Harness remains robust not only on ambiguous queries, but also on non-ambiguous ones. In a reviewer survey comparing communication channels, generated UIs reduce the average number of dialogue rounds from 3.4 to 1.2. These results show that data-aware generative interfaces can support effective task completion and reduce dialogue rounds in the evaluated database-backed workflows.

1 INTRODUCTION

Most current human-agent systems still interact through text (Yao et al., 2023; Schick et al., 2023; Li et al., 2023; Qin et al., 2024; Yao et al., 2025). While natural language is flexible, it is often not a perfect medium for complex, goal-directed tasks: users face cognitive overload when translating structured needs into text, ambiguity from underspecified requirements, information chaos from scattered preferences and database records, and a slow input process when typing complex instructions (Larkin & Simon, 1987; Rao & Daumé III, 2018; Aliannejadi et al., 2019; Zamani et al., 2020). These limitations reflect a deeper mismatch between medium and task in interactive agent settings: advancing human-agent collaboration requires moving beyond conversational text to dynamic, data-aware interfaces that simultaneously visualize grounded candidate records and capture structured user intent for downstream action execution.

Figure 1 illustrates this contrast with a flight-booking request. In a conventional text interaction, flight details and clarification questions accumulate piecemeal across turns, leaving the user to piece

Figure

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.

together and evaluate competing alternatives, while the agent struggles to map fragmented user utterances into structured action arguments. This back-and-forth dialogue increases cognitive burden and the likelihood of grounding errors. In contrast, a data-aware generative interface dynamically consolidates retrieved flight candidates, pre-grounded constraints, and missing slots into a structured canvas. By anchoring candidate options directly in verified database records and restricting interactive controls to unresolved fields, the interface eliminates ambiguity at the source and collapses multi-turn textual interrogation into a single, verifiable submission ready for downstream action execution.

In this paper, we study data-aware generative UI as an alternative interaction paradigm. Building on personalized, task-specific, and dynamically synthesized interfaces (Gajos et al., 2010; Vaithilingam & Guo, 2019; Vaithilingam et al., 2024; Nandy et al., 2024; Cao et al., 2025; Chen et al., 2026), an adaptive and ephemeral interface provides a communication channel tailored to the current request and relevant database records. It presents structured information and supports direct input, following the principles of direct manipulation and focused clarification (Larkin & Simon, 1987; Shneiderman, 1983; Hutchins et al., 1985; Horvitz, 1999; Xu et al., 2019; Aliannejadi et al., 2021; Zamani et al., 2020). To realize this idea, we propose GENUI-Harness, a multi-agent harness with a Tool Agent operating in two stages and a GUI Coder Agent between them. During pre-agent exploration, the Tool Agent gathers relevant records and candidate options through read-only tool calls. The GUI Coder Agent uses this evidence to identify ambiguities in task requirements and generates executable front-end TypeScript code that presents the retrieved options and collects the required user input. During post-agent execution, the Tool Agent combines the submitted data with the retrieved evidence, obtains any remaining database-dependent information, and executes the requested action through tool calling.

The GUI Coder Agent must identify ambiguous task requirements, express them through appropriate interface controls, and generate code that renders correctly and submits useful data for downstream execution (Wu et al., 2024; Chen et al., 2023). We train the coder with reinforcement learning, for which reward design poses two challenges. First, collecting execution-based rewards requires rendering generated code at scale, with isolated sessions so that one rollout does not affect another. We introduce Dynamic UX, a lightweight package for parallel, session-isolated execution and reward collection within a single sandbox. Second, rendering alone does not establish whether an interface exposes the relevant ambiguities or enables successful downstream action. Verifying these properties requires user interaction and task execution, while a less expensive LLM-as-a-Judge reward may assign high scores to interfaces that fail during use and is susceptible to reward hacking (Zheng et al., 2023; Tan et al., 2025; Gao et al., 2023; Skalse et al., 2022). We introduce Reward Auditor, a meta-reward mechanism that uses actual task-execution outcomes to diagnose and automatically revise the training reward. It monitors reward distributions and examines individual rollouts to identify failures that receive high rewards and successful interactions that the criteria undervalue.

To evaluate this task, we introduce UI-TAU Bench, a benchmark based on the tool-use settings of Tau-Bench (Yao et al., 2025) that evaluates an agent's ability to generate task-specific UIs on the fly and use them for active human-agent interaction. It grounds tasks in 10 real-world domain databases constructed from public data sources. Its Lite (300 tasks) and Full (1,000 tasks) splits evaluate whether the generated interface supports the user input and downstream action needed to reach the target database state. On Lite, GENUI-Harness attains higher Pass@3 than smolagents, mini-swe-agent, and Pi on 8, 7, and 8 of the 9 shared backbones, respectively. Training a 4B backbone within our harness increases Pass@3 from 9.33% to 58.00%, even outperforming substantially larger frontier models such as Claude Opus 5 (46.67%). These gains are not limited to ambiguous user requests. We also find that GENUI-Harness remains robust when user goals are already clearly specified, suggesting that generated interfaces are useful not only for clarification, but also for efficient task progression. In a reviewer survey comparing communication channels, generated UIs reduce average dialogue rounds from 3.4 to 1.2, showing that structured submissions can consolidate multiple required inputs into a single exchange.

Our contributions are threefold: (1) the task of data-aware generative UI for stateful service tasks; (2) UI-TAU Bench, which evaluates active human-agent interaction through generated front-end code; and (3) GENUI-Harness, which combines tool grounding, role-specialized UI generation, Dynamic UX, and Reward Auditor. Experiments show strong database-state success for a compact model and GUI-Coder transfer across models.