Mobile-Agent: Autonomous Multi-Modal Mobile Device Agent with Visual Perception

Junyang Wang, Haiyang Xu, Jiabo Ye, Ming Yan, Weizhou Shen, Ji Zhang, Fei Huang, Jitao Sang · DOI

Introduction

Most existing mobile agents rely on system-level metadata, such as Android XML layout files or web HTML, to identify and interact with UI elements. While effective in controlled environments, this approach suffers from limited accessibility—due to security and privacy restrictions—and poor portability across different operating systems. Mobile-Agent addresses these challenges by adopting a vision-centric approach, operating mobile devices by "looking" at screenshots just as a human would.

Methodology: The Brain and the Eyes

Mobile-Agent utilizes a "Brain + Eyes" architecture to navigate complex mobile interfaces without underlying metadata.

The Brain (GPT-4V)

The agent leverages GPT-4V for high-level planning and reasoning. It follows a ReAct-inspired prompt format where each step involves an Observation of the current screen, a Thought process to determine the next move, and a specific Action command.

The Eyes (Visual Perception Module)

To overcome GPT-4V's limitations in precise pixel localization, Mobile-Agent integrates specialized visual tools:

  • Text Localization: Uses OCR to identify text strings. If multiple instances appear, the agent crops the regions for GPT-4V to select the correct target.
  • Icon Localization: Employs Grounding DINO for icon identification and CLIP to match the agent's natural language description (e.g., "white heart icon") to the visual candidate.
Mobile-Agent's visual perception and self-reflection mechanisms.

Self-Planning and Reflection

The agent operates iteratively and includes a self-reflection mechanism. If an action fails to change the screen or leads to an error, the agent analyzes the failure and adjusts its strategy. The action space is streamlined into eight operations: Open App, Click Text, Click Icon, Type, Page Up/Down, Back, Exit, and Stop.

Evaluation and Results

The researchers introduced Mobile-Eval, a benchmark covering 10 common apps (e.g., TikTok, YouTube, Gmail) with three levels of task difficulty. Instruction 3 tasks are the most complex, requiring multi-app coordination, such as searching for information in a browser and then recording it in a separate notes application.

Step-by-step execution of a complex multi-app task: finding sports results and creating a note.

Mobile-Agent demonstrated strong performance across the board:

  • Completion Rate (CR): Over 90% across all difficulty levels.
  • Success Rate (Su): 91% for simple tasks and 82% for complex multi-app instructions.
  • Efficiency: Achieved approximately 80% of human efficiency in terms of steps required.

Discussion and Future Work

Mobile-Agent proves that vision-centricity is a viable path for portable mobile automation. By offloading localization to specialized tools while retaining reasoning in the MLLM, the system achieves high reliability. However, challenges remain regarding latency, handling dynamic video content, and ensuring security for autonomous actions like financial transactions. Future iterations will focus on improving speed and refining the agent's understanding of linguistic nuances.

Summary updated

BibTeX
@inproceedings{wang2024mobile,
  author = {Junyang Wang and Haiyang Xu and Jiabo Ye and Ming Yan and Weizhou Shen and Ji Zhang and Fei Huang and Jitao Sang},
  title = {{Mobile-Agent: Autonomous Multi-Modal Mobile Device Agent with Visual Perception}},
  booktitle = {LLMAgents @ ICLR},
  year = {2024},
  url = {https://openreview.net/forum?id=jE6pDYCnVF},
}
Figure