HCAICLMar 24, 2025

VeriSafe Agent: Safeguarding Mobile GUI Agent via Logic-based Action Verification

arXiv:2503.18492v219 citationsh-index: 9MOBICOM
Originality Highly original
AI Analysis

This addresses the critical problem of error-prone automation for users relying on mobile GUI agents, representing a novel integration of formal verification into this domain.

The paper tackles the unreliability of Large Foundation Models (LFMs) in automating mobile GUI tasks by introducing VeriSafe Agent (VSA), a formal verification system that translates user instructions into verifiable specifications, achieving 94.33%-98.33% accuracy in action verification and increasing task completion rates by 90%-130%.

Large Foundation Models (LFMs) have unlocked new possibilities in human-computer interaction, particularly with the rise of mobile Graphical User Interface (GUI) Agents capable of interacting with mobile GUIs. These agents allow users to automate complex mobile tasks through simple natural language instructions. However, the inherent probabilistic nature of LFMs, coupled with the ambiguity and context-dependence of mobile tasks, makes LFM-based automation unreliable and prone to errors. To address this critical challenge, we introduce VeriSafe Agent (VSA): a formal verification system that serves as a logically grounded safeguard for Mobile GUI Agents. VSA deterministically ensures that an agent's actions strictly align with user intent before executing the action. At its core, VSA introduces a novel autoformalization technique that translates natural language user instructions into a formally verifiable specification. This enables runtime, rule-based verification of agent's actions, detecting erroneous actions even before they take effect. To the best of our knowledge, VSA is the first attempt to bring the rigor of formal verification to GUI agents, bridging the gap between LFM-driven actions and formal software verification. We implement VSA using off-the-shelf LFM services (GPT-4o) and evaluate its performance on 300 user instructions across 18 widely used mobile apps. The results demonstrate that VSA achieves 94.33%-98.33% accuracy in verifying agent actions, outperforming existing LFM-based verification methods by 30.00%-16.33%, and increases the GUI agent's task completion rate by 90%-130%.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes