Abstract
D-Artemis introduces a novel deliberative framework for mobile GUI agents that emulates the human cognitive loop of thinking, alignment, and reflection. By implementing a proactive "Pre-execution Alignment" stage and application-specific tip retrieval, the system identifies and corrects errors before they are executed. This approach achieves state-of-the-art performance on major benchmarks, including a 75.8% success rate on AndroidWorld and 96.8% on ScreenSpot-V2, significantly reducing the risk of irreversible actions in live mobile environments.
Introduction
Most current vision-based GUI agents operate in a reactive loop: they perceive the screen, execute an action, and then reflect on the outcome. This paradigm suffers from three critical flaws. First, the cost of errors in live environments is high; a single incorrect click can be irreversible. Second, training models on complex GUI trajectories is data-intensive and difficult to scale. Finally, generic guidance often fails because UI logic varies significantly across different applications.
To address these issues, D-Artemis proposes a deliberative process—a digital "sanity check"—that allows agents to verify their plans before interacting with the screen.
The D-Artemis Framework
The framework introduces a three-stage lifecycle for every agent step, moving beyond simple reaction to deliberate planning and verification.
1. Action Generation with App-Specific RAG
Rather than relying on generic advice, D-Artemis uses a fine-grained Retrieval-Augmented Generation (RAG) mechanism. It pulls tips specific to the active application, preventing informational noise and logical contradictions that arise when applying one app's logic to another.
2. Pre-execution Alignment
This core innovation acts as a filter before any action is sent to the operating system:
- Thought-Action Consistency (TAC) Check: A fine-tuned expert model (based on Qwen2.5-VL-7B) verifies if the proposed action matches the agent's internal intent. It utilizes Action Visualization—rendering the intended action on a screen preview—to facilitate spatial reasoning.
- Action Correction Agent (ACA): If the TAC check identifies an inconsistency, the ACA diagnoses the error (e.g., incorrect coordinates or action type) and generates a corrected command.
3. Post-execution Reflection
A Status Reflection Agent (SRA) evaluates the outcome of the executed action, updating the agent's working memory to inform subsequent steps.
Experimental Results
D-Artemis was evaluated on AndroidWorld (116 tasks across 20 apps) and ScreenSpot-V2 (GUI element grounding). The framework achieved a 75.8% success rate on AndroidWorld, a 2.5% absolute improvement over previous state-of-the-art models. On ScreenSpot-V2, it reached an average success rate of 96.8%, outperforming closed-source models like GPT-4o in mobile scenarios.
Ablation studies highlight the critical nature of the deliberative components. Removing the Pre-execution Alignment stage caused performance to drop from 68.1% to 44.0%, proving that proactive error catching is more effective than post-hoc reflection alone. Furthermore, the ACA successfully corrected 92.7% of errors identified by the TAC module with minimal latency overhead (~2.12 seconds).
Key Insights and Future Work
The success of D-Artemis underscores two major principles: the efficiency of proactive error filtering and the necessity of visual planning. By visualizing an action before execution, the model can perform spatial reasoning more effectively, akin to a human hovering a finger over a button before pressing it.
Future research will focus on adapting the framework for lightweight, on-device models to improve speed and privacy, as well as automating the generation of high-quality, app-specific tips to replace manual authoring.
Summary updated