MobiAgent: A Systematic Framework for Customizable Mobile Agents

Cheng Zhang, Erhu Feng, Xi Zhao, Yisheng Zhao, Wangbo Gong, Jiahui Sun, Dong Du, Zhichao Hua, Yubin Xia, Haibo ChenarXiv 2025 · DOI

Abstract

Mobile agents powered by Vision-Language Models (VLMs) offer the promise of intuitive app interaction via GUIs. However, they frequently suffer from low reliability, high inference latency, and inadequate evaluation metrics. This paper introduces MobiAgent, a systematic framework that decouples task reasoning from execution. By employing a specialized architecture (MobiMind) and a novel "record-and-replay" acceleration framework (AgentRR) based on a UI transition graph called ActTree, MobiAgent achieves state-of-the-art performance. Experimental results demonstrate a 2-3x speedup over traditional VLM approaches and superior accuracy on the complex MobiFlow benchmark.

Introduction

While VLMs allow mobile agents to navigate apps through visual interfaces rather than rigid APIs, three primary hurdles remain. First, low reliability leads to agents getting stuck in loops or failing to terminate. Second, high latency arises from running heavy VLM inference for every screen interaction. Finally, evaluation gaps exist because current benchmarks often rely on linear "golden paths," failing to account for the diverse ways users can complete tasks or handle unexpected UI elements like pop-ups. MobiAgent addresses these challenges through architectural decoupling and efficient experience reuse.

Methods

MobiMind Architecture

MobiAgent utilizes the MobiMind architecture, which decomposes the agent into three specialized models to improve robustness and precision. Instead of a single monolithic model, the system separates "what to do" from "where it is."

  • Planner (4B): Responsible for high-level goal decomposition into manageable sub-tasks.
  • Decider (7B): Analyzes the current screen state and historical context to determine the next logical action in natural language (e.g., "Click the search button").
  • Grounder (3B): Translates natural language actions into precise screen coordinates (bounding boxes).
MobiMind Architecture and AgentRR Framework

AgentRR and ActTree

To mitigate latency, the AgentRR (Record-Replay) framework introduces a "speed booster" mechanism. It utilizes an ActTree, a UI transition graph that stores past interaction experiences. A lightweight Latent Memory Model (0.6B) checks if the current task prefix matches a known path in the ActTree. If a match is found, the agent "replays" the stored action, bypassing the expensive Decider and Grounder models. This is particularly effective for routine tasks like opening an app or navigating to a search bar.

ActTree Structure and Node Merging

To handle UI drift (e.g., app updates), the system uses OmniParser to verify that the UI element at the stored coordinates still matches the original description before execution. This ensures that the replay remains accurate even as app layouts change.

Self-Evolving Training

The models are optimized using Curriculum GRPO (Group Relative Policy Optimization). A "Grounder-as-RM" strategy is employed, where the high-precision Grounder serves as a reward model to refine the Decider's reasoning capabilities, ensuring that the Decider's natural language instructions are groundable.

MobiFlow Benchmark

The researchers introduced MobiFlow, a benchmarking suite designed for real-world complexity. Unlike static benchmarks, MobiFlow uses Directed Acyclic Graphs (DAGs) to define tasks, allowing the evaluation engine to verify multiple valid trajectories via "milestone events." Verification is performed through a multi-level system including text matching, icon detection (OpenCV), and "LLM-as-a-Judge" to confirm if a step was successful.

Results

MobiAgent (MobiMind-7B/3B) outperformed GPT-4V, Gemini 1.5 Pro, and specialized models like UI-TARS on the MobiFlow benchmark. Key findings include:

  • Efficiency: The AgentRR framework achieved a 2-3x optimization in task completion latency.
  • Replay Accuracy: Under power-law user distributions (where routine tasks are frequent), the agent achieved an action replay rate of 60-85% with over 99% correctness.
  • Reliability: MobiAgent demonstrated superior task termination and instruction-following compared to general-purpose LLMs, which often enter infinite loops.

Conclusion

MobiAgent provides a robust and efficient framework for mobile GUI agents by decoupling reasoning from grounding and implementing a high-speed replay mechanism. By caching common interaction prefixes in the ActTree, the system significantly reduces the computational overhead of VLM-based agents. Future work will focus on cross-application collaboration and managing more complex recursive task structures within the ActTree.

Summary updated

BibTeX
@misc{zhang2025mobiagent,
  author = {Cheng Zhang and Erhu Feng and Xi Zhao and Yisheng Zhao and Wangbo Gong and Jiahui Sun and Dong Du and Zhichao Hua and Yubin Xia and Haibo Chen},
  title = {{MobiAgent: A Systematic Framework for Customizable Mobile Agents}},
  year = {2025},
  eprint = {2509.00531},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.00531},
}
Figure