TL;DR
Mobile-Agent is an autonomous, purely vision-based mobile device agent powered by GPT-4V and specialized visual perception tools. By eliminating reliance on Android XML files or system metadata, it navigates smartphone interfaces directly from raw screenshots. Across a new benchmark of 10 popular mobile apps, Mobile-Agent achieves over a 90% instruction completion rate while demonstrating human-comparable navigation efficiency.
What Problem Does This Paper Address?
While Multimodal Large Language Models (MLLMs) like GPT-4V excel at high-level reasoning, they struggle to output precise screen coordinates needed to tap and swipe on mobile devices.
Prior mobile agents bypassed this limitation by inspecting internal system files—such as Android accessibility XML trees or web HTML code—to find clickable UI elements. However, accessing underlying system hierarchies requires special privileges that are frequently restricted by operating systems or app sandboxes. Mobile-Agent addresses this dependency by introducing a vision-centric agent that perceives, plans, and acts exclusively through raw screenshots, mimicking how a human interacts with a smartphone.
Methods
Mobile-Agent uses a modular architecture that combines an MLLM planner with dedicated visual perception tools:
┌──────────────────────┐
│ Raw Screenshot │
└──────────┬───────────┘
│
┌──────────────┴──────────────┐
▼ ▼
[ Text Branch ] [ Icon Branch ]
OCR Detection Grounding DINO
│ │
(Single / Multi-box) CLIP Similarity
└──────────────┬──────────────┘
▼
┌─────────────────┐
│ Visual Context │
└────────┬────────┘
▼
┌─────────────────┐
│ GPT-4V │
│ Self-Planner │
└────────┬────────┘
▼
Observation-Thought-Action
│
▼
[ Self-Reflection Loop ]
- Visual Perception Modules:
- Text Localization: An off-the-shelf OCR model extracts text bounding boxes. If an identified word appears only once, the agent clicks its center. If multiple instances appear, the system crops each region with surrounding visual context so GPT-4V can pick the intended target.
- Icon Localization: GPT-4V describes the target icon's visual attributes (color, shape, position). Grounding DINO detects candidate UI icons using the open-vocabulary prompt
"icon", and CLIP computes semantic similarity between the detected visual regions and GPT-4V's description to select the correct coordinates. - Unified Action Space: Supports 8 discrete commands:
Open App,Click the text,Click the icon,Type,Page up & down,Back,Exit, andStop. - Self-Planning via ReAct Prompting: The agent generates iterative steps formatted as
Observation,Thought, andAction, tracking historical context to maintain task progress. - Self-Reflection Mechanism: If a screenshot does not change after an action (indicating an invalid tap) or navigates to an unexpected page, the agent reflects on the error, re-evaluates historical context, and tries alternative operations or parameters. It also verifies that all requirements of multi-part prompts are met before halting.
Datasets
The authors introduce Mobile-Eval, a benchmark evaluating mobile device agents across 10 mainstream mobile applications (including Google Maps, Chrome, Gmail, YouTube, TikTok, Alibaba.com, and Settings), alongside multi-app tasks.
Mobile-Eval provides 33 instructions stratified into three difficulty levels:
- Instruction 1 (Basic): Direct single-app goals (e.g., "Turn on the dark mode").
- Instruction 2 (Constrained): Multi-step tasks with conditional logic or typing (e.g., "Search singer Jay Chou in Amazon Music and play it").
- Instruction 3 (Abstract): High-level requests where the agent must autonomously deduce which app to open and what workflow to follow (e.g., "I want to listen to music to relax. Find an App to help me").
Key Insights and Ideas
- Vision-Centric Beats System Dependencies: Abandoning XML/DOM hierarchies removes permission roadblocks, prevents crashes caused by non-standard custom UI views, and moves closer to universal OS-agnostic terminal agents.
- Specialized Visual Tools Compensate for MLLM Weaknesses: Instead of forcing GPT-4V to predict raw bounding box coordinates directly, combining Grounding DINO, CLIP, and OCR delegates geometric grounding to models specialized in localization while keeping GPT-4V focused on semantic reasoning.
- Error Recovery is More Important than Zero-Shot Perfection: The Process Score (step-by-step correctness) was consistently lower than the final task Completion Rate. The self-reflection loop allows the agent to notice static screens or misclicks and self-correct, mirroring human trial-and-error behavior.
Key Results
Experiments on the Mobile-Eval benchmark highlight strong performance across difficulty tiers:
| Metric | Instruction 1 (Basic) | Instruction 2 (Constrained) | Instruction 3 (Abstract) |
|---|---|---|---|
| Success Rate (Su) | 91% | 82% | 82% |
| Process Score (PS) | 0.89 | 0.77 | 0.84 |
| Completion Rate (CR) | 98.2% | 90.9% | 91.3% |
| Relative Efficiency (RE) (Agent / Human Steps) | 4.9 / 4.2 | 7.9 / 6.3 | 7.5 / 6.2 |
- High Efficiency: Mobile-Agent achieved around 80% relative efficiency compared to human step counts.
- Complex Cross-App Reasoning: The agent successfully retrieved information across different applications—such as extracting dates or game scores from Google/Calendar and summarizing them into a newly created note in the Notes app.
Limitations and Future Work
- OS Scope: Testing was restricted to Android. While the visual framework is inherently platform-agnostic, deployment on other operating systems (e.g., iOS, desktop OS) was not evaluated.
- Multi-Model Latency: Running Grounding DINO, CLIP, OCR, and GPT-4V sequentially at every iteration creates inference latency, making real-time interactive performance challenging.
- Visual Hallucinations & Language Nuances: GPT-4V occasionally exhibited hallucinations when reading dense Chinese user interfaces or fine-grained text, occasionally selecting incorrect icons when semantic descriptions were ambiguous.
Summary updated