Understanding Trigger-Action Programs Through Novel Visualizations of Program Differences
Valerie Zhao, Lefan Zhang, Bo Wang, Michael L. Littman, Shan Lu, Blase Ur
Abstract
Trigger-action programming (if-this-then-that rules) empowers non-technical users to automate services and smart devices. As a user’s set of trigger-action programs evolves, the user must reason about behavior differences between similar programs, such as between an original program and several modification candidates, to select programs that meet their goals. To facilitate this process, we co-designed user interfaces and underlying algorithms to highlight differences between trigger-action programs. Our novel approaches leverage formal methods to efficiently identify and visualize differences in program outcomes or abstract properties. We also implemented a traditional interface that shows only syntax differences in the rules themselves. In a between-subjects online experiment with 107 participants, the novel interfaces better enabled participants to select trigger-action programs matching intended goals in complex, yet realistic, situations that proved very difficult when using traditional interfaces showing syntax differences.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Cited by top-tier papers8
- Understanding In-Situ Programming for Smart Home AutomationXiaoyi Liu, Yingtian Shi, Chun Yu, Cheng Gao et al.UbiComp 2023 · 17 citations
- Helping Users Debug Trigger-Action ProgramsLefan Zhang, Cyrus Zhou, Michael L. Littman, Blase Ur et al.UbiComp 2023 · 14 citations
- PriviAware: Exploring Data Visualization and Dynamic Privacy Control Support for Data Collection in Mobile Sensing ResearchHyunsoo Lee, Yugyeong Jung, Hei Yiu Law, Seolyeong Bae et al.CHI 2024 · 11 citations
- Orchestration Scripts: A System for Encoding an Organization's Ways of Working to Support Situated WorkKapil Garg, Darren Gergle, Haoqi ZhangCHI 2023 · 7 citations
- DataSentry: Building Missing Data Management System for In-the-Wild Mobile Sensor Data Collection through Multi-Year Iterative Design ApproachYugyeong Jung, Hei Yiu Law, Hadong Lee, Junmo Lee et al.CHI 2025 · 5 citations
Related papers
- TAPFixer: Automatic Detection and Repair of Home Automation Vulnerabilities based on Negated-property ReasoningYinbo Yu, Yuanqi Xu, Kepu Huang, Jiajia LiuUSENIX Security 2024 · 6 citations
- Generative Trigger-Action Programming with PlyTimothy J. Aveni, Hila Mor, Armando Fox, Björn HartmannUIST 2025 · 1 citation
- Security Checking of Trigger-Action-Programming Smart Home IntegrationsLei Bu, Qiuping Zhang, Suwan Li, Jinglin Dai et al.ISSTA 2023 · 7 citations
- Detecting Smart Home Automation Application Interferences with Domain KnowledgeTao Wang, Wei Chen, Liwei Liu, Guoquan Wu et al.ASE 2023 · 3 citations
- Retrieval-augmented Generation of Enhanced Trigger-action Programming Rules in Smart HomeYuchen Zhao, Lifu Wang, Kai DongUbiComp 2026 · 1 citation
