SafeGround: Know When to Trust GUI Grounding Models via Uncertainty Calibration
Qingni Wang, Yue Fan, Xin Eric Wang
TL;DR
SafeGround addresses the risk of costly, irreversible errors in GUI grounding by introducing a distribution-aware, uncertainty-calibrated framework. It builds a spatial uncertainty representation from multiple stochastic grounding samples and uses Learn-Then-Test calibration to select a test-time threshold that controls the false discovery rate with finite-sample guarantees ($FDR$). The approach supports selective prediction and cascading inference, allowing safe execution for low-uncertainty cases and escalation to stronger models for high-uncertainty cases. Empirical results on ScreenSpot-Pro show improved discrimination of correct vs incorrect groundings and notable system-level accuracy gains across several GUI grounding models.
Abstract
Graphical User Interface (GUI) grounding aims to translate natural language instructions into executable screen coordinates, enabling automated GUI interaction. Nevertheless, incorrect grounding can result in costly, hard-to-reverse actions (e.g., erroneous payment approvals), raising concerns about model reliability. In this paper, we introduce SafeGround, an uncertainty-aware framework for GUI grounding models that enables risk-aware predictions through calibrations before testing. SafeGround leverages a distribution-aware uncertainty quantification method to capture the spatial dispersion of stochastic samples from outputs of any given model. Then, through the calibration process, SafeGround derives a test-time decision threshold with statistically guaranteed false discovery rate (FDR) control. We apply SafeGround on multiple GUI grounding models for the challenging ScreenSpot-Pro benchmark. Experimental results show that our uncertainty measure consistently outperforms existing baselines in distinguishing correct from incorrect predictions, while the calibrated threshold reliably enables rigorous risk control and potentials of substantial system-level accuracy improvements. Across multiple GUI grounding models, SafeGround improves system-level accuracy by up to 5.38\% percentage points over Gemini-only inference.
