Learning from User-driven Events to Generate Automation Sequences
Yunpeng Song, Yiheng Bian, Xiaorui Wang, Zhongmin Cai
Abstract
Enabling smart devices to learn automating actions as expected is a crucial yet challenging task. The traditional Trigger-Action rule approach for device automation is prone to ambiguity in complex scenarios. To address this issue, we propose a data-driven approach that leverages recorded user-driven event sequences to predict potential actions users may take and generate fine-grained device automation sequences. Our key intuition is that user-driven event sequences, like human-written articles and programs, are governed by consistent semantic contexts and contain regularities that can be modeled to generate sequences that express the user's preferences. We introduce ASGen, a deep learning framework that combines sequential information, event attributes, and external knowledge to form the event representation and output sequences of arbitrary length to facilitate automation. To evaluate our approach from both quantitative and qualitative perspectives, we conduct two studies using a realistic dataset containing over 4.4 million events. Our results show that our approach surpasses other methods by providing more accurate recommendations. And the automation sequences generated by our model are perceived as equally or even more rational and useful compared to those generated by humans.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
its abstract · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers1
Related papers
- Towards a Natural Perspective of Smart Homes for Practical Security and Safety AnalysesSunil Manandhar, Kevin Moran, Kaushal Kafle, Ruhao Tang et al.S&P 2020 · 39 citations
- Retrieval-augmented Generation of Enhanced Trigger-action Programming Rules in Smart HomeYuchen Zhao, Lifu Wang, Kai DongUbiComp 2026 · 1 citation
- Trace2TAP: Synthesizing Trigger-Action Programs from Traces of BehaviorLefan Zhang, Weijia He, Olivia Morkved, Valerie Zhao et al.UbiComp 2020 · 22 citations
- SeeAction: Towards Reverse Engineering How-What-Where of HCI Actions from Screencasts for UI AutomationDehai Zhao, Zhenchang Xing, Qinghua Lu, Xiwei Xu et al.ICSE 2025 · 1 citation
- Automatically Generating and Improving Voice Command Interface from Operation Sequences on SmartphonesLihang Pan, Chun Yu, Jiahui Li, Tian Huang et al.CHI 2022 · 17 citations
