GEM: Gaussian Embedding Modeling for Out-of-Distribution Detection in GUI Agents

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wu, Zheng, Cheng, Pengzhou, Wu, Zongru, Dong, Lingzhong, Zhang, Zhuosheng
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908669208166400
author Wu, Zheng
Cheng, Pengzhou
Wu, Zongru
Dong, Lingzhong
Zhang, Zhuosheng
author_facet Wu, Zheng
Cheng, Pengzhou
Wu, Zongru
Dong, Lingzhong
Zhang, Zhuosheng
contents Graphical user interface (GUI) agents have recently emerged as an intriguing paradigm for human-computer interaction, capable of automatically executing user instructions to operate intelligent terminal devices. However, when encountering out-of-distribution (OOD) instructions that violate environmental constraints or exceed the current capabilities of agents, GUI agents may suffer task breakdowns or even pose security threats. Therefore, effective OOD detection for GUI agents is essential. Traditional OOD detection methods perform suboptimally in this domain due to the complex embedding space and evolving GUI environments. In this work, we observe that the in-distribution input semantic space of GUI agents exhibits a clustering pattern with respect to the distance from the centroid. Based on the finding, we propose GEM, a novel method based on fitting a Gaussian mixture model over input embedding distances extracted from the GUI agent that reflect its capability boundary. Evaluated on eight datasets spanning smartphones, computers, and web browsers, our method achieves an average accuracy improvement of 23.70\% over the best-performing baseline while only increasing training time by 4.9\% and testing time by 6.5\%. We also experimentally demonstrate that GEM can improve the step-wise success rate by 9.40\% by requesting assistance from the cloud model when encountering OOD samples. Analysis verifies the generalization ability of our method through experiments on nine different backbones. The codes are available at https://github.com/Wuzheng02/GEM-OODforGUIagents.
format Preprint
id arxiv_https___arxiv_org_abs_2505_12842
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle GEM: Gaussian Embedding Modeling for Out-of-Distribution Detection in GUI Agents
Wu, Zheng
Cheng, Pengzhou
Wu, Zongru
Dong, Lingzhong
Zhang, Zhuosheng
Machine Learning
Computation and Language
Graphical user interface (GUI) agents have recently emerged as an intriguing paradigm for human-computer interaction, capable of automatically executing user instructions to operate intelligent terminal devices. However, when encountering out-of-distribution (OOD) instructions that violate environmental constraints or exceed the current capabilities of agents, GUI agents may suffer task breakdowns or even pose security threats. Therefore, effective OOD detection for GUI agents is essential. Traditional OOD detection methods perform suboptimally in this domain due to the complex embedding space and evolving GUI environments. In this work, we observe that the in-distribution input semantic space of GUI agents exhibits a clustering pattern with respect to the distance from the centroid. Based on the finding, we propose GEM, a novel method based on fitting a Gaussian mixture model over input embedding distances extracted from the GUI agent that reflect its capability boundary. Evaluated on eight datasets spanning smartphones, computers, and web browsers, our method achieves an average accuracy improvement of 23.70\% over the best-performing baseline while only increasing training time by 4.9\% and testing time by 6.5\%. We also experimentally demonstrate that GEM can improve the step-wise success rate by 9.40\% by requesting assistance from the cloud model when encountering OOD samples. Analysis verifies the generalization ability of our method through experiments on nine different backbones. The codes are available at https://github.com/Wuzheng02/GEM-OODforGUIagents.
title GEM: Gaussian Embedding Modeling for Out-of-Distribution Detection in GUI Agents
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2505.12842