Abstract
Researchers from Shanghai Jiao Tong University and Ant Group have introduced IAML (IoU-Augmented Maximum Likelihood), a training paradigm designed to enhance the spatial precision of Vision Language Models (VLMs) in graphical user interface (GUI) environments. By integrating Intersection-over-Union (IoU) as a reward signal during the fine-tuning phase, IAML bridges the gap between text-based token prediction and physical coordinate identification, enabling GUI agents to more accurately locate and interact with on-screen elements.
Introduction
Multimodal Large Language Models (MLLMs) are increasingly deployed as "GUI agents" capable of navigating mobile and web applications. However, these models often struggle with spatial reasoning because they are fundamentally trained to predict text tokens rather than geometric coordinates. In a standard language model, numerical values like "0.58" and "0.59" are treated as distinct semantic entities (similar to "apple" and "orange") rather than adjacent points in space. This leads to two primary challenges: semantic void, where coordinates lack linguistic context, and exposure bias, where models fail to recover from minor inference errors because they were never taught that "near misses" are preferable to total misses.
Methodology
To address these limitations, the authors propose IAML, which adapts Reward-Augmented Maximum Likelihood (RAML) for the specific geometry of user interfaces.
The framework consists of several key components:
- IoU-based Coordinate Sampling: A Monte Carlo pipeline is used to sample various bounding boxes near the ground truth during training.
- The IoU Reward: Each sample is assigned a reward based on its Intersection-over-Union (IoU) with the correct target, teaching the model a continuous spatial gradient.
- Data Smoothing: These rewards create a "payoff distribution" that encourages the model to prioritize high-overlap targets while still recognizing that slight offsets are better than distant errors.
- Temperature Control: The authors identified that a temperature setting of $\tau=3$ optimizes the balance between high-accuracy targeting and the exploration necessary for robust generalization.
Experimental Setup and Datasets
The approach was validated using two primary datasets:
- ScreenAnnotation: Comprising 4,200 mobile screenshots (derived from the Rico dataset), this dataset was used to train models in generating a complete "action space"—identifying every interactable element on a screen.
- ScreenSpot: A diverse benchmark spanning mobile, desktop, and web interfaces, used to evaluate the model's ability to ground specific elements based on natural language instructions.
Key Results
IAML was integrated into state-of-the-art models, including SeeClick and OS-Atlas, yielding significant performance gains.
- Action Space Generation: On the ScreenAnnotation task, IAML consistently outperformed standard Maximum Likelihood Estimation (MLE). Using a Qwen2-VL base, IAML achieved a 35% relative gain in F1 score at high-precision (0.7 IoU) thresholds.
- GUI Grounding: On the ScreenSpot benchmark, SeeClick-IAML reached an average accuracy of 55.0% (up from 52.4%), while OS-Atlas-IAML achieved 59.8%, setting a new performance benchmark for the architecture.
- Low-Resource Efficiency: Notably, IAML proved exceptionally effective in data-scarce scenarios. When trained on only 10% of available data, IAML-enhanced models showed a significantly higher relative improvement over standard methods compared to full-data training.
Limitations and Future Work
While IAML significantly improves spatial grounding, it introduces additional training overhead due to the coordinate sampling and reward calculation process. Future research will focus on applying this method to highly complex or "ultra-long" structured GUIs with high information density. Additionally, the authors aim to investigate the theoretical upper bounds of spatial reasoning within purely token-based decoders.
Summary updated