Automatic Macro Mining from Interaction Traces at Scale

Forrest Huang, Gang Li, Tao Li, Yang Li
10/10/2023
21 citations
cs.HCcs.CLcs.LG

Official code: google-research/google-research (39,251 stars, Jupyter Notebook, Apache-2.0, last commit 2026-04-30).

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.

Show full abstract

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 show the effectiveness of our approach and the usefulness of extracted macros in various downstream applications.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Google Research

39,2518,516Jupyter Notebook, PythonOct 4, 20187 months agoApache-2.0
aimachine-learningresearch

Similar Papers

Cite this paper

@article{huang2023automatic,
  title  = {Automatic Macro Mining from Interaction Traces at Scale},
  author = {Forrest Huang and Gang Li and Tao Li and Yang Li},
  year   = {2023},
  eprint = {2310.07023},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.07023v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.07023.svg)](https://codeofpaper.com/paper/2310.07023)

Discussion