TL;DR
This paper introduces MobileSteward, a novel multi-agent framework that uses specialized "StaffAgents" coordinated by a central "StewardAgent" to automate complex, cross-app instructions on mobile phones. It tackles challenges like intricate task dependencies and app diversity with a unique "self-evolution" mechanism that learns from past successes to improve future performance.
What Problem Does This Paper Address?
Modern smartphones are packed with diverse apps, enabling users to perform increasingly complex tasks. However, current mobile agents struggle with instructions that span multiple applications. This is due to three main issues:
- Complex Task Relationships: Instructions often involve intricate dependencies between sub-tasks across different apps.
- Diverse App Environments: Each app has a unique interface and functionality, making it hard for a single agent to interact uniformly.
- Error Propagation and Information Loss: Multi-step processes can lead to errors in earlier steps affecting later ones, or crucial information being lost along the way.
Existing solutions often rely on single agents or procedure-oriented multi-agent systems, which lack the specialization and adaptability needed for these complex cross-app scenarios.
Methods
MobileSteward employs a multi-agent architecture inspired by object-oriented programming, treating each app as an object and agents as its methods. The core components are:
- StewardAgent: The central coordinator responsible for overall task management.
- StaffAgents: Specialized agents, each proficient in a specific app.
Three key modules enable MobileSteward's functionality:
- Dynamic Recruitment: The StewardAgent analyzes the user's instruction, decomposes it into app-specific tasks, and creates a "scheduling graph" that maps out task dependencies and information flow between StaffAgents. This leverages a "Staff Expertise Memory" to select the most suitable StaffAgent for each task.
- Assigned Execution: Each StaffAgent receives its assigned task and uses its app-specific knowledge (stored in a "Task Guideline Memory") to execute the actions within its designated app. This module aims to address app diversity by having specialized agents.
- Adjusted Evaluation: After a StaffAgent completes a task, the StewardAgent evaluates the execution history. If errors occur, it provides "reflection tips" to the StaffAgent. If successful, it extracts key information (results, staff expertise, task guidelines) to update its memories and inform subsequent task scheduling.
Memory-Based Self-Evolution: This mechanism continuously improves MobileSteward. The StewardAgent's "Staff Expertise Memory" and StaffAgents' "Task Guideline Memory" are updated with successful execution experiences. This allows the system to learn which StaffAgents are best for certain tasks and how to execute them more effectively over time.
Datasets
The paper introduces CAPBench (Cross-APP Benchmark), a new dataset designed specifically for evaluating complex cross-app instructions in a real-world environment. It includes 500 instructions across 14 apps in 6 categories, focusing on task associations and information transfer between apps. They also used SAPBench, a collection of 50 single-app instructions from previous works for comparative evaluation.
Key Insights and Ideas
- Object-Oriented Approach for Cross-App Tasks: The paper argues that an object-oriented paradigm, where apps are treated as objects and agents as their specialized handlers, is more suitable for cross-app instructions than traditional procedural approaches.
- Specialization is Key: Having app-specific "StaffAgents" is crucial for handling the diversity of mobile app interfaces and functionalities.
- Self-Evolution for Continuous Improvement: The memory-based self-evolution mechanism is vital for adapting to new tasks and improving performance over time, mimicking how human experts learn.
- Information Flow is Critical: Explicitly mapping the flow of information between tasks and agents in the scheduling graph is essential for complex multi-step processes.
Key Results
- Superior Performance on CAPBench: MobileSteward significantly outperforms baseline single-agent and multi-agent methods on the challenging CAPBench dataset, achieving success rates of 0.55-0.59 (GPT-4v/GPT-4o) compared to baselines like MobileAgent-v2 (0.21).
- Effective Handling of Complexity: As task complexity (number of apps involved) increases, MobileSteward's performance degrades less than baselines, demonstrating its robustness.
- Efficiency Gains: MobileSteward shows improved efficiency, requiring fewer actions per task and fewer tokens per action compared to MobileAgent-v2, especially on complex tasks.
- Ablation Studies Confirm Module Importance: Removing any of the core modules (Self-Evolution, Assigned Execution, Adjusted Evaluation) led to a noticeable decrease in performance metrics, highlighting their individual contributions.
Limitations and Future Work
- Ambiguity in User Instructions: The paper notes that ambiguity in user instructions can sometimes lead to incorrect app identification, impacting the App Rate.
- Future Work: The authors suggest further research into more sophisticated self-evolution mechanisms and exploring the framework's applicability to even more complex and dynamic mobile environments. The development of CAPBench itself opens avenues for future research in this domain.
Summary updated