Automatic Macro Mining from Interaction Traces at Scale
Forrest Huang, Gang Li, Tao Li, Yang Li
Abstract
Macros are building block tasks of our everyday smartphone activity (e.g., "login", or "booking a flight"). Effectively extracting macros is important for understanding mobile interaction and enabling task automation. These macros are however difficult to extract at scale as they can be comprised of multiple steps yet hidden within programmatic components of mobile apps. In this paper, we introduce a novel approach based on Large Language Models (LLMs) to automatically extract semantically meaningful macros from both random and user-curated mobile interaction traces. The macros produced by our approach are automatically tagged with natural language descriptions and are fully executable. We conduct multiple studies to validate the quality of extracted macros, including user evaluation, comparative analysis against human-curated tasks, and automatic execution of these macros. These experiments and analyses demonstrate the effectiveness of our approach and the usefulness of extracted macros in various downstream applications.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
10 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- MobileGPT: Augmenting LLM with Human-like App Memory for Mobile Task Automation cites Enabling Conversational Interaction with Mobile UI using Large Language Models
- MobileGPT: Augmenting LLM with Human-like App Memory for Mobile Task Automation cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- MobileGPT: Augmenting LLM with Human-like App Memory for Mobile Task Automation cites Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understanding
- Understanding the LLM-ification of CHI: Unpacking the Impact of LLMs at CHI through a Systematic Literature Review cites Enabling Conversational Interaction with Mobile UI using Large Language Models
- Understanding the LLM-ification of CHI: Unpacking the Impact of LLMs at CHI through a Systematic Literature Review cites AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts
- WorkArena: How Capable are Web Agents at Solving Common Knowledge Work Tasks? cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Enabling Conversational Interaction with Mobile UI using Large Language Models cites AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts
- Enabling Conversational Interaction with Mobile UI using Large Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models cites AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts
- ScreenAudit: Detecting Screen Reader Accessibility Errors in Mobile Apps Using Large Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- LLM-Explorer: Towards Efficient and Affordable LLM-based Exploration for Mobile Apps cites MobileGPT: Augmenting LLM with Human-like App Memory for Mobile Task Automation
- LLM-Explorer: Towards Efficient and Affordable LLM-based Exploration for Mobile Apps cites Enabling Conversational Interaction with Mobile UI using Large Language Models
- LLM-Explorer: Towards Efficient and Affordable LLM-based Exploration for Mobile Apps cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
Cited by top-tier papers10
- WorkArena: How Capable are Web Agents at Solving Common Knowledge Work Tasks?Alexandre Drouin, Maxime Gasse, Massimo Caccia, Issam H. Laradji et al.ICML 2024 · 188 citations
- Understanding the LLM-ification of CHI: Unpacking the Impact of LLMs at CHI through a Systematic Literature ReviewRock Yuren Pang, Hope Schroeder, Kynnedy Simone Smith, Solon Barocas et al.CHI 2025 · 51 citations
- MobileGPT: Augmenting LLM with Human-like App Memory for Mobile Task AutomationSunjae Lee, Junyoung Choi, Jungjae Lee, Munim Hasan Wasi et al.MobiCom 2024 · 21 citations
- ScreenAudit: Detecting Screen Reader Accessibility Errors in Mobile Apps Using Large Language ModelsMingyuan Zhong, Ruolin Chen, Xia Chen, James Fogarty et al.CHI 2025 · 15 citations
- LLM-Explorer: Towards Efficient and Affordable LLM-based Exploration for Mobile AppsShanhui Zhao, Hao Wen, Wenjie Du, Cheng Liang et al.MobiCom 2025 · 6 citations
Builds on13
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model PromptsTongshuang Wu, Michael Terry, Carrie Jun CaiCHI 2022 · 465 citations
- Pix2Struct: Screenshot Parsing as Pretraining for Visual Language UnderstandingKenton Lee, Mandar Joshi, Iulia Raluca Turc, Hexiang Hu et al.ICML 2023 · 426 citations
- Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text ModelsJianmo Ni, Gustavo Hernández Ábrego, Noah Constant, Ji Ma et al.ACL Findings 2022 · 358 citations
- Enabling Conversational Interaction with Mobile UI using Large Language ModelsBryan Wang, Gang Li, Yang LiCHI 2023 · 149 citations
Related papers
- Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied AgentsWenlong Huang, Pieter Abbeel, Deepak Pathak, Igor MordatchICML 2022 · 1,539 citations
- Fill in the Blank: Context-aware Automated Text Input Generation for Mobile GUI TestingZhe Liu, Chunyang Chen, Junjie Wang, Xing Che et al.ICSE 2023 · 107 citations
- SummAct: Uncovering User Intentions Through Interactive Behaviour SummarisationGuanhua Zhang, Mohamed Adel Naguib Ahmed, Zhiming Hu, Andreas BullingCHI 2025 · 5 citations
- From Operation to Cognition: Automatic Modeling Cognitive Dependencies from User Demonstrations for GUI Task AutomationYiwen Yin, Yu Mei, Chun Yu, Toby Jia-Jun Li et al.CHI 2025 · 8 citations
- Act2Intention: A Benchmark For Developing Active Mobile Agents Through Inferring User Intention from GUI ActionsXiaokai Yan, Jingtao Ding, Yong Li, Zhiwen YuUbiComp 2026
