TL;DR
This paper introduces SE-GUI, a novel reinforcement learning framework that significantly improves the ability of GUI agents to understand and interact with complex graphical interfaces. By combining curated data, dense rewards, and a self-evolutionary training loop guided by attention maps, SE-GUI achieves state-of-the-art performance with remarkably little training data, outperforming much larger models.
What Problem Does This Paper Address?
GUI agents are becoming increasingly sophisticated, capable of understanding and executing user commands across various platforms. However, a major hurdle remains: accurately identifying and interacting with specific elements on a graphical user interface (GUI) based on natural language instructions. This "visual grounding" is particularly challenging in complex, high-resolution, professional environments. Traditional methods like Supervised Fine-Tuning (SFT) require massive datasets and struggle with generalization. While Reinforcement Learning (RL) offers a promising alternative, existing RL approaches often suffer from sparse reward signals (e.g., binary success/failure) which hinder effective learning, especially in the early stages of training. Furthermore, the quality of training data for GUI grounding tasks is often poor, collected through automated pipelines that introduce noise and inaccuracies.
Methods
The SE-GUI framework tackles these challenges with three core strategies:
- Seed Data Curation: Instead of relying on noisy, automatically generated datasets, the authors meticulously filter a large pool of existing grounding data. They employ a three-fold strategy:
- Instruction Quality: Using regular expressions and a multi-modal large language model (MLLM) to assess clarity, alignment with UI elements, and potential ambiguity.
- Bounding Box Accuracy: Training a scorer based on a Qwen2.5-VL-7B model to identify and filter out misaligned or irrelevant bounding boxes.
-
Task Difficulty: Filtering out overly simple tasks that the model can easily solve, focusing on more challenging examples. This process results in a high-quality, 3,018-sample dataset (SE-GUI-3k).
-
Group Relative Policy Optimization (GRPO) with Dense Point Reward: To combat the issue of sparse rewards in RL, SE-GUI utilizes GRPO, which compares candidate responses to determine relative quality. Crucially, they introduce a dense point reward mechanism. This reward is calculated based on the proximity of the predicted click point to the ground truth bounding box, with a decay term that penalizes predictions further from the center. This provides continuous, nuanced feedback, allowing the model to learn from "near misses" and refine its grounding behavior more effectively than binary rewards.
- Self-Evolutionary Reinforcement Fine-Tuning (SE-RFT): This is the core innovation. After initial training on the curated data, the model enters an iterative refinement loop. In each stage:
- The current best model generates attention maps for training samples.
- These attention maps highlight which visual tokens the model focuses on for a given instruction.
- If an attention map fails to focus on the correct UI element, it suggests the sample might be too challenging or the model lacks prior knowledge. These "problematic" samples are then filtered out or their loss is set to zero for the next training iteration, preventing them from negatively impacting learning.
- The model is then retrained using the refined data and attention guidance. This process iteratively improves both the model and the training data, leading to progressive refinement.
Datasets
- Training Data: The authors curate a high-quality dataset of 3,018 samples from existing open-source grounding datasets, including ShowUI, UGround, and AriaUI.
- Evaluation Datasets: SE-GUI is evaluated on six benchmarks:
- Grounding Benchmarks: ScreenSpot, ScreenSpot-v2, and ScreenSpot-Pro (focusing on high-resolution professional environments).
- Agent Benchmarks: AndroidControl-High, AndroidControl-Low, and OmniACT (evaluating step-wise accuracy in complex GUI interactions).
Key Insights and Ideas
- Data Quality is Paramount for RL in GUIs: The paper strongly emphasizes that simply having more data isn't enough; high-quality, carefully curated data is essential for effective RL training in GUI agents. Noisy data significantly degrades performance.
- Dense Rewards are Crucial for Early RL Training: Moving beyond binary success/failure rewards to a continuous, dense reward signal (like the point reward) provides much smoother and more informative gradients, accelerating learning and improving performance, especially when the model is still making many mistakes.
- Self-Supervision via Attention Maps: The self-evolutionary mechanism, where the model uses its own attention maps to guide further training, is a powerful form of self-supervision. It allows the model to identify and learn from its own weaknesses, progressively refining its understanding of visual grounding.
- Efficiency and Scalability: The approach demonstrates remarkable efficiency, achieving state-of-the-art results with a fraction of the data and parameter count of previous leading models. This suggests strong potential for training on resource-constrained devices or with limited data.
Key Results
- State-of-the-Art Performance: SE-GUI-7B achieves state-of-the-art results on three grounding benchmarks.
- ScreenSpot-Pro Dominance: It attains 47.3% accuracy on the challenging ScreenSpot-Pro dataset, outperforming the much larger UI-TARS-72B model by 24.2% with only 3k training samples.
- Data Efficiency: SE-GUI-7B achieves an 8.5% improvement over UI-TARS-72B using only 0.2% of its training data.
- Agent Task Performance: On AndroidControl, SE-GUI-7B significantly outperforms baselines in both low-level (52.8% vs. 39.4%) and high-level (68.2% vs. 62.4%) settings, despite being trained solely on grounding data.
- Generalization: The model generalizes effectively to different platforms (mobile, desktop, web) and task types (grounding, agent control).
Limitations and Future Work
- Model Scale: Due to hardware constraints, the study primarily explored 3B and 7B parameter models. The authors believe their method exhibits strong scalability and could achieve even better performance with larger models (e.g., 32B or 72B).
- Input Resolution: For the 7B model, the maximum input resolution was limited to 2 million pixels to manage visual tokens. This might lead to a loss of fine-grained details in very high-resolution images. Increasing this limit could further improve performance.
- Future Directions: The paper suggests that further exploration of larger models and higher input resolutions would be beneficial. The demonstrated effectiveness of RL and self-evolutionary techniques opens avenues for more advanced GUI agent development.
Summary updated