On the Robustness of GUI Grounding Models Against Image Attacks

Haoren Zhao, Tianyi Chen, Zhen Wang · DOI

Abstract

GUI grounding models serve as the critical interface for autonomous AI agents, translating visual screen data into actionable coordinates. However, this study reveals that these "eyes" of AI are surprisingly fragile. By evaluating leading models against natural noise and adversarial perturbations, the research highlights significant vulnerabilities, particularly regarding resolution sensitivity and susceptibility to targeted manipulation.

Introduction

As AI agents evolve to navigate complex websites and mobile applications, they rely on GUI grounding models to translate natural language instructions (e.g., "Click the 'Sign Up' button") into specific screen coordinates. While these models achieve high accuracy in ideal conditions, their robustness in real-world scenarios—where screenshots may be low-resolution or intentionally manipulated—remains largely unexplored. This paper systematically evaluates the performance of state-of-the-art models like UGround, OS-Atlas, and SeeClick under various stress conditions.

Methodology: Three Scenarios of Fragility

The researchers categorized potential threats into three distinct scenarios to test model resilience:

  1. Natural Noise: Simulating environmental variations such as Gaussian noise, blur, color jitter, and contrast adjustments, alongside varying screen resolutions.
  2. Untargeted Adversarial Attacks: Using gradient-based methods to maximize the distance between original and perturbed feature embeddings, effectively "blinding" the model so it fails to identify the correct element.
  3. Targeted Adversarial Attacks: A "white-box" approach using the Projected Gradient Descent (PGD) algorithm to force the model to click a specific, designated "poison" region (representing only 0.04% of the screen) instead of the intended target.
Overview of natural noise, untargeted, and targeted attacks on GUI grounding models.

Key Insights and Vulnerabilities

The Resolution Bottleneck

One of the most significant findings is the extreme sensitivity of GUI models to image resolution. As pixel values decrease, the ability of the model to ground elements correctly degrades sharply. For example, UGround-V1's success rate falls from approximately 86% at high resolution to roughly 70% at lower resolutions.

Impact of screen resolution on the success rate of OS-Atlas and Uground models.

Bounding Box Resilience

Interestingly, the OS-Atlas-Base-7B model showed superior resilience to targeted attacks compared to its peers. The authors attribute this to its architectural choice of predicting bounding boxes rather than single coordinate points. It is mathematically more difficult for an adversarial optimizer to shift an entire predicted box into a tiny malicious target area than it is to redirect a single point.

Environmental Factors

Mobile environments generally proved more robust than Web or Desktop interfaces, likely due to their simpler, more standardized layouts and streamlined design language. Conversely, natural noise like Gaussian blur caused noticeable performance drops across the board, with OS-Atlas-Base-7B experiencing a 5.27% decrease in success rate under these conditions.

Adversarial Impact and Security Risks

The study reveals that adversarial perturbations, even when constrained to be invisible to the human eye ($l_\infty$ norm $\epsilon = 16$), can be devastating to AI logic. In high-resolution settings, untargeted attacks slashed UGround-V1’s average success rate from 86.81% to just 41.32%.

Targeted attacks presented an even more alarming security risk: SeeClick was particularly vulnerable at low resolutions, with an Attack Success Rate (ASR) of 76.33%. This means that in over three-quarters of tested cases, an attacker successfully forced the model to click a malicious coordinate, potentially leading to unauthorized actions or data breaches.

Conclusion

The fragility of GUI grounding models poses a significant hurdle for the safe deployment of autonomous agents in sensitive real-world applications. While box-based grounding offers some inherent defense, current models remain highly susceptible to both natural degradation and intentional sabotage. This work serves as a benchmark and a "call to action" for researchers to prioritize the development of robust defense mechanisms, such as adversarial training tailored for the unique spatial characteristics of GUIs.

Summary updated

BibTeX
@inproceedings{zhao2025robustness,
  author = {Haoren Zhao and Tianyi Chen and Zhen Wang},
  title = {{On the Robustness of GUI Grounding Models Against Image Attacks}},
  booktitle = {Workshops @ CVPR},
  year = {2025},
}
Figure