Abstract
The advancement of mobile agents has opened new opportunities for automating tasks on mobile devices. Training these agents requires large-scale high-quality data, which is costly using human labor. Given the vast number of mobile phone users worldwide, if automated data collection from them is feasible, the resulting data volume and the subsequently trained mobile agents could reach unprecedented levels. Nevertheless, two major challenges arise: (1) extracting high-level and low-level user instructions without involving human and (2) utilizing distributed data from diverse users while preserving privacy. To tackle these challenges, we propose FedMobileAgent, a collaborative framework that trains mobile agents using self-sourced data from diverse users. Specifically, it includes two techniques. First, we propose Auto-Annotation, which enables the automatic collection of high-quality datasets during users' routine phone usage with minimal cost. Second, we introduce adapted aggregation to improve federated training of mobile agents on non-IID user data, by incorporating both episode- and step-level distributions. In distributed settings, FedMobileAgent achieves performance comparable to centralized human-annotated models at less than 0.02% of the cost, highlighting its potential for real-world applications.
Introduction
Training a mobile GUI agent—an AI capable of navigating a smartphone interface like a human—traditionally requires vast amounts of high-quality, human-annotated data. This process is notoriously slow, expensive, and difficult to scale. While billions of users generate daily "trajectories" (sequences of screenshots and actions), this data lacks the semantic labels (intent) needed for training, and centralizing raw usage data poses significant privacy risks.
FedMobileAgent (also referred to as MobileA3gent) addresses these bottlenecks by shifting from a "Centralized & Manual" paradigm to a "Distributed & User-Centric" one. By enabling user devices to perform self-annotation and utilizing Federated Learning, the framework allows models to learn from diverse, real-world interactions without compromising user privacy.
Methodology
The FedMobileAgent framework is built upon two core innovations designed to bridge the intent gap and solve the privacy paradox.
Auto-Annotation Pipeline
To extract meaning from raw user actions without human intervention, the framework employs a local Vision-Language Model (VLM) pipeline:
- Action Conversion: Raw coordinates are converted into semantic text (e.g., "Click 'Explore' button") using the device's accessibility tree.
- Step-Wise Description: A "Descriptor" VLM analyzes individual steps to generate low-level instructions.
- Episode-Wise Summarization: A "Summarizer" VLM synthesizes the sequence of low-level instructions and screenshots into a high-level goal, such as "Identify how to grow allergy-free plants."
FedVLM-A: Adapted Federated Learning
To keep data on-device, FedMobileAgent uses Federated Learning (FL). However, standard FL often struggles with the "two-level heterogeneity" of GUI data, where users vary in both the number of tasks (episodes) and the length of those tasks (steps). The proposed Adapted Global Aggregation weights local model updates based on a balanced distribution of both episodes and steps, ensuring the global model generalizes effectively across diverse usage patterns.
Experimental Results
The framework was evaluated across several major benchmarks, including AndroidControl, Android in the Wild (AitW), and GUI Odyssey.
Performance and Cost Efficiency
As shown in the comparative analysis, FedMobileAgent (MobileA3gent) achieves performance parity with models trained on "gold standard" human-annotated data while reducing costs by over 99.98%. Specifically, it reached a success rate comparable to centralized human-annotated models at just 0.02% of the cost.
Scalability and Privacy
Unlike manual methods, FedMobileAgent demonstrates superior scalability; as more decentralized data is added, the model follows a clear scaling law, continuing to improve. Furthermore, the framework maintains high privacy protection by ensuring raw screenshots and actions never leave the user's device.
Conclusion
FedMobileAgent demonstrates that daily phone usage can serve as a high-quality, "free" source of supervisory information for training mobile agents. By combining hierarchical VLM-based reasoning with adapted federated aggregation, the framework achieves a scalable, low-cost, and privacy-preserving solution for the next generation of mobile automation. Future work will focus on optimizing these models for on-device constraints and incorporating differential privacy to further mitigate data leakage risks.
Summary updated