Mobile-Agent-RAG: Driving Smart Multi-Agent Coordination with Contextual Knowledge Empowerment for Long-Horizon Mobile Automation

Yuxiang Zhou, Jichang Li, Yanhao Zhang, Haonan Lu, Guanbin LiarXiv 2025 · DOI

Abstract

Mobile-Agent-RAG is a hierarchical multi-agent framework designed to address the challenges of long-horizon mobile automation. By integrating dual-level Retrieval-Augmented Generation (RAG)—Manager-RAG for high-level planning and Operator-RAG for low-level execution—the system mitigates strategic hallucinations and operational errors. Evaluation on the Mobile-Eval-RAG benchmark demonstrates an 11% improvement in task completion rates over state-of-the-art methods, highlighting the efficacy of contextual knowledge empowerment in complex, multi-app workflows.

1. Introduction

Multimodal Large Language Models (MLLMs) have significantly advanced the capabilities of mobile agents. However, these agents often struggle with "long-horizon" tasks—complex workflows requiring dozens of steps across multiple applications. The primary failure modes identified are strategic hallucinations, where the agent loses track of the overarching goal, and operational errors, where the agent fails to interact correctly with specific UI elements. These issues stem from an over-reliance on the MLLM’s static internal knowledge. Mobile-Agent-RAG addresses this by providing dynamic access to external, context-specific knowledge through a hierarchical RAG approach.

2. The Mobile-Agent-RAG Framework

The framework decouples the automation process into a hierarchy supported by two specialized RAG modules:

  • Manager-RAG: This module handles high-level planning. It retrieves human-validated task plans from a knowledge base to provide a strategic roadmap, preventing the agent from falling into circular logic or irrelevant subtasks.
  • Operator-RAG: This module focuses on execution. For each subtask, it retrieves precise screenshot-action pairs to guide the agent through specific UI interactions, ensuring "last-mile" accuracy.
The iterative execution flow of Mobile-Agent-RAG, showcasing the interaction between the Manager Agent, Operator Agent, and the knowledge base.

The system operates in a continuous "Planning → Execution → Reflection" loop. Key components include a Perceptor for visual grounding, an Action Reflector for success evaluation, and a Notetaker that serves as a persistent cross-app memory.

3. Evaluation: Mobile-Eval-RAG Benchmark

To rigorously test the framework, the authors developed Mobile-Eval-RAG, a benchmark consisting of 50 complex, cross-app tasks across categories like travel planning and online shopping. Tasks average 16.9 steps. Performance is measured using a fine-grained Completion Rate (CR) metric, which tracks the achievement of specific verifiable subgoals within a task.

4. Results and Discussion

Mobile-Agent-RAG achieves a new state-of-the-art in mobile automation, improving the task completion rate by 11.0% over previous methods like Mobile-Agent-E.

Comparison of Completion Rate (CR) across different MLLMs, highlighting the performance gains provided by the Knowledge Base (RAG).

A significant finding is the "RAG Compensation" effect: RAG provides a substantial performance boost to various models, effectively narrowing the gap between mid-tier models (like Gemini-1.5-Pro) and top-tier models (like GPT-4o). Furthermore, ablation studies highlight the critical role of the Notetaker; without persistent memory, success rates plummeted to 20%, underscoring the necessity of maintaining context in multi-app environments.

5. Conclusion

Mobile-Agent-RAG demonstrates that hierarchical knowledge retrieval is essential for robust mobile automation. While the system shows significant improvements in efficiency and success rates, challenges remain regarding knowledge base coverage for novel apps and the visual perception limits of current MLLMs. Future research will explore active learning mechanisms to allow agents to autonomously expand their knowledge bases through experience.

Summary updated

BibTeX
@misc{zhou2025mobile,
  author = {Yuxiang Zhou and Jichang Li and Yanhao Zhang and Haonan Lu and Guanbin Li},
  title = {{Mobile-Agent-RAG: Driving Smart Multi-Agent Coordination with Contextual Knowledge Empowerment for Long-Horizon Mobile Automation}},
  year = {2025},
  eprint = {2511.12254},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.12254},
}
Figure