Lune

UbiComp2024Top-tier venue

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.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Predicting User Behavior in Smart Spaces with LLM-Enhanced Logs and Personalized PromptsYunpeng Song, Jiawei Li, Yiheng Bian, Zhongmin CaiAAAI 2025 · 7 citations

Related papers

  1. 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
  2. Retrieval-augmented Generation of Enhanced Trigger-action Programming Rules in Smart HomeYuchen Zhao, Lifu Wang, Kai DongUbiComp 2026 · 1 citation
  3. Trace2TAP: Synthesizing Trigger-Action Programs from Traces of BehaviorLefan Zhang, Weijia He, Olivia Morkved, Valerie Zhao et al.UbiComp 2020 · 22 citations
  4. 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
  5. 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
Dusk over the sea between two cliffs drawn in fine vertical lines