MobA: A Two-Level Agent System for Efficient Mobile Task Automation

Zichen Zhu, Hao Tang, Yansi Li, Kunyao Lan, Yixuan Jiang, Hao Zhou, Yixiao Wang, Situo Zhang, Liangtai Sun, Lu Chen, Kai Yu · DOI

Abstract

Existing Multimodal Large Language Model (MLLM)-based agents face significant challenges in handling complex GUI (Graphical User Interface) interactions on devices. These challenges arise from the dynamic and structured nature of GUI environments, which integrate text, images, and spatial relationships, as well as the variability in action spaces across different pages and tasks. To address these limitations, we propose MobA, a novel MLLM-based mobile assistant system. MobA introduces an adaptive planning module that incorporates a reflection mechanism for error recovery and dynamically adjusts plans to align with the real environment contexts and action module's execution capacity. Additionally, a multifaceted memory module provides comprehensive memory support to enhance adaptability and efficiency. We also present MobBench, a dataset designed for complex mobile interactions. Experimental results on MobBench and AndroidArena demonstrate MobA's ability to handle dynamic GUI environments and perform complex mobile tasks.

Introduction

Automating mobile tasks—such as retrieving a train schedule and syncing it to a personal calendar—remains a significant hurdle for AI. Current Multimodal Large Language Model (MLLM) agents often struggle with the dynamic nature of mobile Graphical User Interfaces (GUIs) and the rigidity of static planning. Mobile interfaces are inherently volatile; UI elements shift, pop-ups appear unexpectedly, and network latency can alter the screen state mid-task. When an agent follows a fixed multi-step plan, a single unexpected UI change often leads to total task failure. Furthermore, most agents lack long-term memory regarding specific app behaviors or user preferences, resulting in repetitive errors and inefficient navigation.

To overcome these challenges, we introduce MobA (Multifaceted Memory-Enhanced Adaptive Planning), a hierarchical two-level agent system designed to navigate complex, dynamic mobile environments with human-like efficiency.

System Architecture

MobA utilizes a hierarchical workload distribution between two specialized agents, supported by a robust memory infrastructure.

  1. Global Agent (The Brain): This module performs high-level task decomposition, breaking vague user requests into actionable sub-goals. It features a Reflection Module that monitors the Local Agent's progress. If a sub-goal fails, the Reflection Module triggers a "re-plan," allowing the system to refine its approach or further decompose the task based on the current environment.
  2. Local Agent (The Hands): This module manages immediate execution. It analyzes the current screen, identifies UI elements via an optimized View-Hierarchy process, and executes specific actions such as clicking, scrolling, or text input.
  3. Multifaceted Memory Module: Serving as the system's backbone, this module categorizes knowledge into five types: Task Memory (historical success/failure), App Memory (app structure), Page Memory (UI layouts), Action Memory (short-term logs to prevent loops), and User Memory (personal preferences).
The MobA system architecture features a Global Agent for planning, a Local Agent for execution, and a multifaceted Memory Module.

Evaluation and Benchmarks

MobA was evaluated on two primary benchmarks to test its versatility and robustness:

  • MobBench: A new dataset introduced in this work, consisting of 50 real-world tasks across 10 popular applications. These tasks range from simple single-app interactions to complex "Cross-Application" goals requiring the agent to transfer information between different apps.
  • AndroidArena: A standard industry benchmark used to validate MobA's performance against existing state-of-the-art mobile agents.

Results and Key Insights

Experimental results indicate that MobA significantly outperforms existing baselines in both completion rates and execution efficiency. On MobBench, MobA achieved a 56% Complete Rate (CR), more than doubling the performance of MobileAgent v2 (34%) and vastly exceeding AppAgent (12%).

Performance comparison on MobBench shows MobA outperforming existing agents and achieving human-level execution efficiency.

Key insights from the study include:

  • Adaptive Planning as a Core Driver: The "Plan-Act-Reflect" loop is superior to traditional Chain-of-Thought planning. The ability to recognize execution errors (e.g., a keyboard failing to appear) and adjust the strategy in real-time is critical for success in dynamic GUIs.
  • Memory-Driven Efficiency: While planning is essential for completion, the multifaceted memory module provides a significant efficiency boost. By leveraging prior knowledge of app layouts and user preferences, MobA achieved an Execution Efficiency (EE) score of 3.44, slightly surpassing the human expert baseline of 3.53 in terms of raw step economy.
  • Cross-App Fluency: MobA demonstrated a major leap in handling indirect comprehension and cross-app tasks, successfully inferring which apps to open and carrying context (like train numbers) across different application boundaries.

Conclusion and Future Work

MobA represents a significant step toward reliable mobile task automation. However, the system currently relies on the Android View Hierarchy (XML). In scenarios where XML is poorly structured or inaccessible, performance may degrade. Future research will focus on transitioning toward image-only navigation to improve robustness in messy UI environments and moving toward on-device deployment to enhance privacy and reduce latency.

Summary updated

BibTeX
@misc{zhu2024moba,
  author = {Zichen Zhu and Hao Tang and Yansi Li and Kunyao Lan and Yixuan Jiang and Hao Zhou and Yixiao Wang and Situo Zhang and Liangtai Sun and Lu Chen and Kai Yu},
  title = {{MobA: A Two-Level Agent System for Efficient Mobile Task Automation}},
  year = {2024},
  eprint = {2410.13757},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.13757},
}
Figure