Retrieval-augmented Generation of Enhanced Trigger-action Programming Rules in Smart Home
Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies · 16.03.2026 · 10 (1) · 1-32
DOI: 10.1145/3789673 ↗Kurz gefasst
Fachartikel in der Zeitschrift Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, online erschienen am 16.03.2026. Verfasst von Yuchen Zhao und 2 weiteren Autor:innen. Die Arbeit wurde bisher 2-mal zitiert (Crossref) und nennt 57 Literaturangaben. Gefördert von: National Natural Science Foundation of China, Jiangsu Provincial Key Laboratory of Network and Information Security, Key Laboratory of Computer Network and Information Integration of Ministry of Education of China.
Abstract (Originalsprache)
Trigger-action programming (TAP) is a popular paradigm for smart home automation, enabling users to create rules in form of “IF trigger, THEN action”. While large language models (LLMs) offer a promising path for generating TAP rules from natural language, their vanilla application, such as relying solely on pre-trained knowledge and basic prompting, falters as platforms evolve to support enhanced TAP rules. Such rules incorporate scripting for conditional logic, computations, and external API calls. Enhanced TAP rules demand users to express complex logic and environmental context, making the creation of such rules difficult without a strong programming background. This paper introduces HomeGenii, a retrieval-augmented generation (RAG) system that automates enhanced TAP creation. HomeGenii constructs a compact yet representative rulebase, retrieves semantically aligned rules using a cluster-then-search approach, and applies compression techniques to minimize token overhead. Evaluation shows HomeGenii improves enhanced TAP rule generation accuracy to 84%, a 70% increase over systems without RAG. Our work demonstrates a viable pathway for enabling non-expert users to leverage LLMs for expressive and complex home automation.
Förderung
- National Natural Science Foundation of China
- Jiangsu Provincial Key Laboratory of Network and Information Security
- Key Laboratory of Computer Network and Information Integration of Ministry of Education of China
- Collaborative Innovation Center of Novel Software Technology and Industrialization
- Big Data Computing Center of Southeast University
Zitieren
APA
Zhao, Y., Wang, L., & Dong, K. (2026). Retrieval-augmented Generation of Enhanced Trigger-action Programming Rules in Smart Home. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, 10(1), 1-32. https://doi.org/10.1145/3789673
Vancouver
Zhao Y, Wang L, Dong K. Retrieval-augmented Generation of Enhanced Trigger-action Programming Rules in Smart Home. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies. 2026;10(1):1-32. doi:10.1145/3789673
BibTeX
@article{Zhao2026,
author = {Zhao, Yuchen and Wang, Lifu and Dong, Kai},
title = {Retrieval-augmented Generation of Enhanced Trigger-action Programming Rules in Smart Home},
journal = {Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies},
year = {2026},
volume = {10},
number = {1},
pages = {1--32},
doi = {10.1145/3789673}
}
EUVIMED