GUI-G1: Understanding R1-Zero-Like Training for Visual Grounding in GUI Agents

Yuqi Zhou, Sunhao Dai, Shuai Wang, Kaiwen Zhou, Qinglin Jia +1 more
5/21/2025
cs.CLcs.AIcs.CV

Official code: Yuqi-Zhou/GUI-G1 (27 stars, Apache-2.0, last commit 2025-09-15).

Abstract

Recent Graphical User Interface (GUI) agents replicate the R1-Zero paradigm, coupling online Reinforcement Learning (RL) with explicit chain-of-thought reasoning prior to object grounding and thereby achieving substantial performance gains. In this paper, we first conduct extensive analysis experiments of three key components of that training pipeline: input design, output evaluation, and policy update-each revealing distinct challenges arising from blindly applying general-purpose RL without adapting to GUI grounding tasks. Input design: Current templates encourage the model to generate chain-of-thought reasoning, but longer chains unexpectedly lead to worse grounding performance. Output evaluation: Reward functions based on hit signals or box area allow models to exploit box size, leading to reward hacking and poor localization quality. Policy update: Online RL tends to overfit easy examples due to biases in length and sample difficulty, leading to under-optimization on harder cases. To address these issues, we propose three targeted solutions. First, we adopt a Fast Thinking Template that encourages direct answer generation, reducing excessive reasoning during training. Second, we incorporate a box size constraint into the reward function to mitigate reward hacking. Third, we revise the RL objective by adjusting length normalization and adding a difficulty-aware scaling factor, enabling better optimization on hard samples. Our GUI-G1-3B, trained on 17K public samples with Qwen2.5-VL-3B-Instruct, achieves 90.3% accuracy on ScreenSpot and 37.1% on ScreenSpot-Pro. This surpasses all prior models of similar size and even outperforms the larger UI-TARS-7B, establishing a new state-of-the-art in GUI agent grounding. The project repository is available at https://github.com/Yuqi-Zhou/GUI-G1.

View on arXivView PDF

Code Implementations(1)

Yuqi-Zhou/GUI-G1Official100%
Apache-2.0
274Shell, PythonMay 21, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhou2025guig,
  title  = {GUI-G1: Understanding R1-Zero-Like Training for Visual Grounding in GUI Agents},
  author = {Yuqi Zhou and Sunhao Dai and Shuai Wang and Kaiwen Zhou and Qinglin Jia and Jun Xu},
  year   = {2025},
  eprint = {2505.15810},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.15810v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.15810.svg)](https://codeofpaper.com/paper/2505.15810)

Discussion