Shanhui Zhao
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Shanhui Zhao has a total of 20 co-authors. Here are the top co-authors by number of shared publications:
- Hao Wen
Institute for AI Industry Research (AIR), Tsinghua University, Beijing, China
4 shared publications - Yuanchun Li
Tsinghua University
4 shared publications - Yunxin Liu
Tsinghua University
4 shared publications - Guohong Liu
Institute for AI Industry Research (AIR), Tsinghua University, Beijing, China
2 shared publications - Jiacheng Liu
Peking University, Beijing, China
2 shared publications - Shizuo Tian
Tsinghua University, Beijing, China
2 shared publications
Latest Publications
- Open Access
- 20 June 2026
- Published by Association for Computing Machinery (ACM)
- p. 883-910
AgentProg: Empowering Long-Horizon GUI Agents with Program-guided Context Management
The rapid development of mobile GUI agents has stimulated growing research interest in long-horizon task automation. However, building agents for these tasks faces a critical bottleneck: the reliance on ever-expanding interaction history incurs substantial context overhead. Existing context management and compression techniques often fail to preserve vital semantic information, leading to degraded task performance. We propose AgentProg, a program-guided approach for agent context management that reframes the interaction history as a program with variables and control flow. By organizing information according to the structure of program, this structure provides a principled mechanism to determine which information should be retained and which can be discarded. We further integrate a global belief state mechanism inspired by Belief MDP framework to handle partial observability and adapt to unexpected environmental changes. Experiments on AndroidWorld and our extended long-horizon task suite demonstrate that AgentProg has achieved state-of-the-art success rates on these benchmarks. More importantly, it maintains robust performance on long-horizon tasks while baseline methods experience catastrophic degradation. Our system is open-sourced at https://github.com/MobileLLM/AgentProg.
- 20 June 2026
- Published by Association for Computing Machinery (ACM)
- p. 883-910
Open AccessAgentProg: Empowering Long-Horizon GUI Agents with Program-guided Context Management
The rapid development of mobile GUI agents has stimulated growing research interest in long-horizon task automation. However, building agents for these tasks faces a critical bottleneck: the reliance on ever-expanding interaction history incurs substantial context overhead. Existing context management and compression techniques often fail to preserve vital semantic information, leading to degraded task performance. We propose AgentProg, a program-guided approach for agent context management that reframes the interaction history as a program with variables and control flow. By organizing information according to the structure of program, this structure provides a principled mechanism to determine which information should be retained and which can be discarded. We further integrate a global belief state mechanism inspired by Belief MDP framework to handle partial observability and adapt to unexpected environmental changes. Experiments on AndroidWorld and our extended long-horizon task suite demonstrate that AgentProg has achieved state-of-the-art success rates on these benchmarks. More importantly, it maintains robust performance on long-horizon tasks while baseline methods experience catastrophic degradation. Our system is open-sourced at https://github.com/MobileLLM/AgentProg.
- Open Access
- 3 November 2025
- Published by Association for Computing Machinery (ACM)
- p. 589-603
LLM-Explorer: Towards Efficient and Affordable LLM-based Exploration for Mobile Apps
- 3 November 2025
- Published by Association for Computing Machinery (ACM)
- p. 589-603
Open AccessLLM-Explorer: Towards Efficient and Affordable LLM-based Exploration for Mobile Apps
- Open Access
- 23 June 2025
- Published by Association for Computing Machinery (ACM)
- p. 223-235
AutoDroid-V2: Boosting SLM-based GUI Agents via Code Generation
- 23 June 2025
- Published by Association for Computing Machinery (ACM)
- p. 223-235
Open AccessAutoDroid-V2: Boosting SLM-based GUI Agents via Code Generation
- Open Access
- 29 May 2024
- Published by Association for Computing Machinery (ACM)
- p. 543-557
AutoDroid: LLM-powered Task Automation in Android
Mobile task automation is an attractive technique that aims to enable voice-based hands-free user interaction with smartphones. However, existing approaches suffer from poor scalability due to the limited language understanding ability and the non-trivial manual efforts required from developers or endusers. The recent advance of large language models (LLMs) in language understanding and reasoning inspires us to rethink the problem from a model-centric perspective, where task preparation, comprehension, and execution are handled by a unified language model. In this work, we introduce AutoDroid, a mobile task automation system capable of handling arbitrary tasks on any Android application without manual efforts. The key insight is to combine the commonsense knowledge of LLMs and domain-specific knowledge of apps through automated dynamic analysis. The main components include a functionality-aware UI representation method that bridges the UI with the LLM, exploration-based memory injection techniques that augment the app-specific domain knowledge of LLM, and a multi-granularity query optimization module that reduces the cost of model inference. We integrate AutoDroid with off-the-shelf LLMs including online GPT-4/GPT-3.5 and on-device Vicuna, and evaluate its performance on a new benchmark for memory-augmented Android task automation with 158 common tasks. The results demonstrated that AutoDroid is able to precisely generate actions with an accuracy of 90.9%, and complete tasks with a success rate of 71.3%, outperforming the GPT-4-powered baselines by 36.4% and 39.7%.
- 29 May 2024
- Published by Association for Computing Machinery (ACM)
- p. 543-557
Open AccessAutoDroid: LLM-powered Task Automation in Android
Mobile task automation is an attractive technique that aims to enable voice-based hands-free user interaction with smartphones. However, existing approaches suffer from poor scalability due to the limited language understanding ability and the non-trivial manual efforts required from developers or endusers. The recent advance of large language models (LLMs) in language understanding and reasoning inspires us to rethink the problem from a model-centric perspective, where task preparation, comprehension, and execution are handled by a unified language model. In this work, we introduce AutoDroid, a mobile task automation system capable of handling arbitrary tasks on any Android application without manual efforts. The key insight is to combine the commonsense knowledge of LLMs and domain-specific knowledge of apps through automated dynamic analysis. The main components include a functionality-aware UI representation method that bridges the UI with the LLM, exploration-based memory injection techniques that augment the app-specific domain knowledge of LLM, and a multi-granularity query optimization module that reduces the cost of model inference. We integrate AutoDroid with off-the-shelf LLMs including online GPT-4/GPT-3.5 and on-device Vicuna, and evaluate its performance on a new benchmark for memory-augmented Android task automation with 158 common tasks. The results demonstrated that AutoDroid is able to precisely generate actions with an accuracy of 90.9%, and complete tasks with a success rate of 71.3%, outperforming the GPT-4-powered baselines by 36.4% and 39.7%.