Abstract
Autonomous AI agents require precise Graphical User Interface (GUI) grounding to interact with software effectively. Traditional methods rely on massive datasets of millions of examples, often leading to memorization rather than spatial understanding. We present ReGUIDE, a framework that achieves state-of-the-art performance using only 20,000 training samples—a 500x reduction in data requirements compared to standard benchmarks. ReGUIDE combines reinforcement learning for self-generated spatial reasoning, global-local consistency training, and a test-time spatial search strategy to bridge the gap between discrete text tokens and continuous spatial coordinates.
Introduction
For AI agents to navigate the web or operate mobile applications, they must map natural language instructions (e.g., "click the search bar") to specific pixel coordinates. This task, known as GUI grounding, is challenging for Multimodal Large Language Models (MLLMs) because they typically process discrete tokens and lack inherent spatial awareness. Previous approaches have attempted to solve this through brute-force training on millions of annotated screenshots. However, these models often fail to generalize to high-resolution or out-of-distribution interfaces.
Methodology
ReGUIDE introduces three key innovations to improve data efficiency and grounding precision across training and inference.
1. Self-Generated Reasoning via Reinforcement Learning
Rather than training the model to directly output coordinates, ReGUIDE encourages the generation of "Chain-of-Thought" reasoning traces. Using Group Relative Policy Optimization (GRPO), the model is rewarded if its final predicted coordinate falls within the ground-truth bounding box. This allows the model to autonomously discover spatial reasoning strategies, such as identifying an element's position relative to its neighbors, without requiring human-annotated reasoning data.
2. Global-Local Consistency Training
To enhance precision, ReGUIDE employs a consistency training phase. The model is trained to produce identical reasoning and relative center points for both a full-screen "global view" and a zoomed-in "local view" of the target area. This spatial prior ensures the model remains robust across different scales and cropping variations.
3. Test-Time Spatial Search
During inference, ReGUIDE utilizes a two-stage "zoom and vote" strategy. The model generates multiple coordinate predictions on the full image. Kernel Density Estimation (KDE) identifies the densest cluster of these predictions. The image is then cropped around this cluster for a second round of high-resolution predictions, which are again aggregated via KDE to determine the final, highly confident coordinate.
Experimental Results
ReGUIDE was evaluated against standard benchmarks including ScreenSpot, ScreenSpot-v2, and ScreenSpot-Pro, as well as agentic tasks like Multimodal-Mind2Web and Android Control.
Grounding Performance
Despite being trained on only 20,000 samples (0.2% of standard datasets), ReGUIDE-3B achieved 87.3% accuracy on ScreenSpot, outperforming the 7B UGround model trained on 10 million samples. On the high-resolution ScreenSpot-Pro benchmark, ReGUIDE-3B improved baseline performance from 23.9% to 44.3%.
Agentic Task Success
When integrated with a GPT-4o planner, ReGUIDE significantly improved end-to-end success rates in real-world tasks. On the Android Control (High) benchmark, ReGUIDE-7B achieved a 67.4% success rate, surpassing the UGround-7B baseline (66.2%).
Discussion and Key Insights
The success of ReGUIDE demonstrates that massive data is not a prerequisite for spatial understanding in MLLMs. By enforcing explicit spatial reasoning, models learn underlying layout rules rather than memorizing specific interfaces. Furthermore, the observation that coordinate predictions follow a Gaussian distribution justifies the use of KDE for robust prediction aggregation, allowing the model to ignore isolated outlier guesses.
Limitations and Future Work
While ReGUIDE enhances the reliability of GUI agents, it currently lacks an explicit safety framework. The increased capability of these agents could potentially be leveraged for malicious automation. Future work should focus on developing hierarchical planners and robust safeguards to ensure the safe deployment of autonomous GUI agents.
Summary updated