Mobile-Agent-v2: Mobile Device Operation Assistant with Effective Navigation via Multi-Agent Collaboration

Junyang Wang, Haiyang Xu, Haitao Jia, Xi Zhang, Ming Yan, Weizhou Shen, Ji Zhang, Fei Huang, Jitao Sang

Abstract

Operating a smartphone involves navigating complex visual interfaces and managing long-term dependencies. While Multi-modal Large Language Models (MLLMs) have shown potential in UI automation, single-agent architectures often struggle with long-context navigation as tasks progress. This paper introduces Mobile-Agent-v2, a multi-agent framework that decomposes mobile operation into specialized roles: Planning, Decision, and Reflection. By decoupling task tracking from execution and utilizing a dedicated memory unit, Mobile-Agent-v2 achieves a significant performance improvement over previous single-agent models, particularly in complex multi-app scenarios.

Introduction

Existing mobile assistants typically rely on a single-agent architecture that processes a history of screenshots and text descriptions to determine subsequent actions. However, as tasks become more complex, this history evolves into a massive interleaved sequence of image and text tokens, leading to two primary navigation failures:

  1. Task Progress Navigation: The agent loses track of completed sub-tasks or the ultimate goal.
  2. Focus Content Navigation: The agent fails to recall specific information from previous screens (e.g., a sports score) required for later steps.
Mobile-Agent-v2 addresses navigation failures in single-agent architectures by using a multi-agent approach, resulting in significantly higher accuracy.

Multi-Agent Architecture

To address these challenges, Mobile-Agent-v2 shifts from a single-agent model to a Multi-Agent Collaboration framework. The system is comprised of three specialized agents and a central memory unit:

  • Planning Agent: Acts as a secretary, condensing the operation history into a concise, text-only "Task Progress" report. This prevents the context window from becoming cluttered with redundant visual data.
  • Decision Agent: The primary executor that receives the current screen state, the condensed task progress, and data from the Memory Unit to select the next action (e.g., Tap, Swipe, Type).
  • Reflection Agent: Serves as a critic by observing the screen state before and after an action. If an operation is deemed ineffective or erroneous, it provides feedback to the Decision Agent to retry or adjust its strategy.
  • Memory Unit: Explicitly stores "focus content" extracted during the task, such as specific text or data points, ensuring the agent does not need to re-read previous screens.
The multi-agent framework consists of Planning, Decision, and Reflection agents collaborating with a Memory Unit to execute mobile tasks.

Experimental Evaluation

The researchers evaluated Mobile-Agent-v2 using dynamic testing on real devices (Android and HarmonyOS) across 88 instructions. The evaluation spanned 10 popular applications, including system apps like Notes and Settings, and external apps like TikTok and WhatsApp. Tasks were categorized by complexity into Basic, Advanced (multi-step), and Multi-app (requiring data transfer between apps).

Key Results

  • Performance Gains: Mobile-Agent-v2 achieved a 30% improvement in task completion over its predecessor. In "Advanced" scenarios, the success rate (SR) jumped from 30% to 60%.
  • Multi-App Mastery: The architecture proved exceptionally effective for complex tasks spanning multiple applications, achieving up to 100% success in scenarios where single-agent models frequently failed due to context loss.
  • Effective Self-Correction: The Reflection Agent allowed the system to recover from transient UI glitches and MLLM hallucinations, mimicking human-like error recovery.

Conclusion and Future Work

Mobile-Agent-v2 demonstrates that multi-agent collaboration and structured memory management are critical for overcoming the long-context limitations of current MLLMs in mobile automation. While the framework introduces higher latency and API costs due to multiple agent calls, the gains in reliability and task completion are substantial. Future research will focus on reducing latency and exploring automated script generation to further enhance agent reliability without human intervention.

Summary updated

BibTeX
@inproceedings{wang2024mobile,
  author = {Junyang Wang and Haiyang Xu and Haitao Jia and Xi Zhang and Ming Yan and Weizhou Shen and Ji Zhang and Fei Huang and Jitao Sang},
  title = {{Mobile-Agent-v2: Mobile Device Operation Assistant with Effective Navigation via Multi-Agent Collaboration}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=O0nBMRlkc8},
}
Figure