GUICourse: From General Vision Language Model to Versatile GUI Agent

Wentong Chen, Junbo Cui, Jinyi Hu, Yujia Qin, Junjie Fang, Yue Zhao, Chongyi Wang, Jun Liu, Guirong Chen, Yupeng Huo, Yuan Yao, Yankai Lin, Zhiyuan Liu, Maosong Sun

Abstract

Utilizing Graphic User Interfaces (GUIs) for human-computer interaction is essential for accessing various digital tools. Recent advancements in Vision Language Models (VLMs) reveal significant potential for developing versatile agents that assist humans in navigating GUIs. However, current VLMs face challenges related to fundamental abilities, such as OCR and grounding, as well as a lack of knowledge about GUI elements functionalities and control methods. We introduce GUICourse, a series of datasets for training visual-based GUI agents using general VLMs. Our experiments demonstrate that even a small-sized GUI agent (3.1B parameters) performs effectively on both single-step and multi-step GUI tasks, outperforming baseline VLMs and larger models.

Introduction

GUICourse introduces a comprehensive training pipeline and a massive suite of datasets designed to transform general Vision Language Models (VLMs) into highly capable GUI agents. By explicitly training models on OCR, visual grounding, and GUI-specific actions, the authors demonstrate that even relatively small models (~3B parameters) can effectively navigate complex websites and smartphone apps using only visual inputs.

The Challenge: Why General VLMs Struggle with GUIs

While modern VLMs like GPT-4V or LLaVA are excellent at general image captioning and visual question answering, they stumble when asked to act as GUI agents. To navigate a website or an app, an agent needs to do more than just "understand" an image. It must accurately read small, dense text (OCR), pinpoint the exact pixel coordinates of buttons or links (visual grounding), and understand the functional mechanics of UI widgets (e.g., knowing that a dropdown menu requires a "click" followed by a "select").

Current VLMs lack these fundamental abilities. Furthermore, existing datasets for training GUI agents are often too simplistic, restricted to narrow domains, or rely on accessing underlying code (like HTML) rather than operating purely on visual screenshots like a human would.

Comparison of general VLM (Qwen-VL-Chat) vs. the specialized Qwen-GUI. Note the difference in grounding accuracy and action prediction.

Methodology: A Two-Stage Training Pipeline

The authors propose a two-stage data-driven training pipeline to bridge the gap between general VLMs and specialized GUI agents:

  1. Pre-training for Perception (OCR & Grounding): Before teaching the model how to act, it must learn what it is looking at. The authors inject millions of high-resolution, fully annotated webpage screenshots into the VLM's pre-training phase to teach it how to map text and UI elements to precise bounding boxes.
  2. Supervised Fine-Tuning (SFT) for Action and Interaction: Once the model can "see" the GUI accurately, it is fine-tuned to execute tasks. The authors define a unified action space (11 position-based actions like click, swipe, input, scroll) and train the model on single-step and multi-step navigation trajectories.

The GUICourse Dataset Suite

The core contribution of the paper is the GUICourse dataset suite, which is divided into three parts:

  • GUIEnv (Perception): 10 million global website screenshots paired with full-page text and bounding box annotations.
  • GUIAct (Action): A massive navigation dataset featuring 67k single-step web instructions, 5,696 complex multi-step web instructions, and 9,157 smartphone instructions.
  • GUIChat (Interaction): 44k single-turn and 6k multi-turn multi-modal dialogues grounded in website screenshots to improve natural language interaction.
A multi-step navigation task on a real estate website, illustrating the complex sequences of actions an agent must perform.

Key Insights and Results

  • Perception is the Bottleneck: The ablation study reveals that without the GUIEnv pre-training data, the base model's ability to locate text was a dismal 2.15%. After training, this jumped to 47.96%, which directly correlated with a massive boost in actual GUI navigation success.
  • Resolution is Critical: GUIs are dense. The authors found that increasing the model's input resolution (from 448x448 to 1344x1344 via patching) improved the mean step success rate from 49.0% to 56.1%.
  • Small Models Punch Above Their Weight: With high-quality, domain-specific data, a 3.1B parameter model (MiniCPM-GUI) achieved a 57.1% mean step success rate, performing virtually on par with the much larger 9.6B parameter Qwen-GUI (57.2%). Both vastly outperformed a GPT-4o-mini baseline (32.0%).

Conclusion and Future Work

While GUICourse significantly advances the state of visual-based GUI agents, the authors acknowledge that supervised fine-tuning alone may not be enough for true "assistant-level" reliability. Future work includes exploring reinforcement learning (like RLHF) and expanding data coverage to desktop operating systems and complex professional software.

Summary updated

BibTeX
@inproceedings{chen2025guicourse,
  author = {Wentong Chen and Junbo Cui and Jinyi Hu and Yujia Qin and Junjie Fang and Yue Zhao and Chongyi Wang and Jun Liu and Guirong Chen and Yupeng Huo and Yuan Yao and Yankai Lin and Zhiyuan Liu and Maosong Sun},
  title = {{GUICourse: From General Vision Language Model to Versatile GUI Agent}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=6rceZ5jvJq},
}
Figure