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

AutoGUI: Scaling GUI Grounding with Automatic Functionality Annotations from LLMs

Hongxin Li, Jingfan Chen, Jingran Su, Yuntao Chen, Qing Li, Zhaoxiang Zhang

Abstract

Building AI agents capable of navigating complex user interfaces (UIs) requires large-scale, high-quality data that links textual commands to specific functional elements. Current datasets often lack the scale or depth of "functional affordance"—what an element actually does. We present AutoGUI, a novel pipeline that leverages Large Language Models (LLMs) to automatically annotate UI functionality by analyzing state changes during simulated interactions. This process resulted in the AutoGUI-704k dataset, which significantly improves the grounding performance of Vision-Language Models (VLMs), achieving human-level annotation accuracy.

Introduction

Vision-Language Models (VLMs) are increasingly deployed as "UI Agents" to navigate web and mobile applications. A critical bottleneck for these agents is grounding: the ability to map a natural language instruction to precise pixel coordinates. UI elements are context-dependent; a generic icon's meaning changes across different platforms. Existing datasets typically rely on static HTML metadata (like alt-text), which fails to capture the interactive nature of UIs. Manual annotation, while accurate, is prohibitively expensive at the scale required for robust training.

The AutoGUI Pipeline

AutoGUI addresses this by automating the role of an expert human annotator through a three-stage process:

  1. Trajectory Collection: An automated crawler interacts with web and mobile environments (Android emulators), performing multi-step actions like clicking and hovering to observe UI reactions.
  2. Autonomous Functionality Annotation: Instead of static visual analysis, the pipeline provides an LLM (e.g., Llama-3-70B) with the UI state change. By comparing the Accessibility Tree (AXTree) before and after an interaction, the LLM infers the element's function based on the resulting change (e.g., a menu appearing).
  3. Quality Control: To ensure high data fidelity, a two-tier filtering system is employed. An LLM-aided rejector discards unpredictable UI states, while LLM-based verification cross-checks descriptions using multiple models to prevent hallucinations.
The AutoGUI pipeline: from trajectory collection to autonomous annotation and data generation.

The AutoGUI-704k Dataset

The resulting dataset, AutoGUI-704k, comprises 702,000 training samples and 2,000 test samples, balanced between Web (54.6%) and Mobile (45.4%) platforms. It covers over 900 web domains and nearly 300 mobile apps. The dataset focuses on "functional grounding" and "functionality captioning," training models to both locate elements based on their purpose and describe the purpose of elements at specific coordinates.

Examples of functional annotations for Web and Mobile interfaces and the resulting task templates.

Key Insights and Results

  • Functionality over Appearance: Semantic purpose is more critical for UI agents than visual descriptions. Knowing a button "submits a form" is more actionable than knowing it is a "blue rectangle."
  • State-Change Inference: Framing annotation as a causal "before-and-after" problem allows LLMs to generate accurate labels that static image analysis cannot provide.
  • Grounding Performance: Fine-tuning models on AutoGUI-704k leads to dramatic gains. For example, Qwen-VL's grounding accuracy on the FuncPred benchmark rose from 3.0% to 48.7%.
  • Scaling Laws: Performance improves consistently with dataset size, suggesting that further scaling could yield even greater capabilities.
  • Human-Level Accuracy: The stringent rejection and verification process resulted in an annotation accuracy of 96.7%, comparable to trained human experts.

Limitations and Future Directions

While AutoGUI represents a significant step forward, several challenges remain. Many popular mobile apps employ anti-emulator measures, limiting the diversity of native app data. Furthermore, current trajectories are based on random interactions; future work will focus on "goal-oriented" sequences (e.g., completing a purchase). Finally, to ensure safety, the current pipeline avoids "write" operations that modify live content, a constraint that must be addressed to support more complex agentic tasks.

Summary updated

BibTeX
@inproceedings{li2025autogui,
  author = {Hongxin Li and Jingfan Chen and Jingran Su and Yuntao Chen and Qing Li and Zhaoxiang Zhang},
  title = {{AutoGUI: Scaling GUI Grounding with Automatic Functionality Annotations from LLMs}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure