LearnAct: Few-Shot Mobile GUI Agent with a Unified Demonstration Benchmark
Guangyi Liu, Pengxiang Zhao, Liang Liu, Zhiming Chen, Yuxiang Chai, Shuai Ren, Hao Wang, Shibo He, Wenchao Meng
TL;DR
LearnAct introduces a demonstration-based paradigm for mobile GUI agents to address generalization in unseen apps. It pairs LearnGUI, a benchmark with offline and online tasks, with a three-agent framework (DemoParser, KnowSeeker, ActExecutor) to extract, retrieve, and apply demonstration knowledge during task execution. Experiments show substantial offline gains (e.g., Gemini-1.5-Pro increasing from 19.3% to 51.7% with a single demonstration) and online gains (UI-TARS-7B-SFT rising from 18.1% to 32.8%), demonstrating the practical viability of demonstrations for personalization and deployability. The work provides a systematic dataset and framework to study few-shot learning in dynamic mobile GUI environments, with implications for building adaptable, user-specific automation solutions.
Abstract
Mobile GUI agents show promise in automating tasks but face generalization challenges in diverse real-world scenarios. Traditional approaches using pre-training or fine-tuning with massive datasets struggle with the diversity of mobile applications and user-specific tasks. We propose enhancing mobile GUI agent capabilities through human demonstrations, focusing on improving performance in unseen scenarios rather than pursuing universal generalization through larger datasets. To realize this paradigm, we introduce LearnGUI, the first comprehensive dataset specifically designed for studying demonstration-based learning in mobile GUI agents, comprising 2,252 offline tasks and 101 online tasks with high-quality human demonstrations. We further develop LearnAct, a sophisticated multi-agent framework that automatically extracts knowledge from demonstrations to enhance task completion. This framework integrates three specialized agents: DemoParser for knowledge extraction, KnowSeeker for relevant knowledge retrieval, and ActExecutor for demonstration-enhanced task execution. Our experimental results show significant performance gains in both offline and online evaluations. In offline assessments, a single demonstration improves model performance, increasing Gemini-1.5-Pro's accuracy from 19.3% to 51.7%. In online evaluations, our framework enhances UI-TARS-7B-SFT's task success rate from 18.1% to 32.8%. LearnAct framework and LearnGUI benchmark establish demonstration-based learning as a promising direction for more adaptable, personalized, and deployable mobile GUI agents.
