LLM4TAP: LLM-Enhanced TAP Rule Recommendation
- 5 February 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Internet of Things Journal
- Vol. 12 (10) , 13157-13169
Abstract
Trigger-action programming (TAP) is an Internet of Things (IoT) paradigm that enables nonprofessional end-users to automate smart devices by formulating rules, such as “IF you leave home, THEN turn off lights.” As the number of possible rules increases, manually browsing these rules becomes increasingly time-consuming for users. Recently, graph-based recommendation systems have shown promise in automatically suggesting rules, yet they face two issues. First, these studies struggle to identify and differentiate users’ demands (e.g., turning off lights) and intentions (e.g., energy saving). Second, they overlook the issue of sparse user-rule interactions. In this article, we propose LLM4TAP, a large language model (LLM) enhanced TAP rule recommendation framework, to address these issues. Prior to LLM4TAP, a user-rule graph is constructed to represent the interactions between users and rules. Within LLM4TAP, singular value decomposition is first employed to generate an augmented graph, strengthening global structural relationships between users and rules. Next, the reasoning capabilities of LLMs are utilized to infer users’ demands and intentions from the textual descriptions of rules and user-rule interactions, producing representations of these inferred demands and intentions. Finally, a dual representation alignment method is introduced, integrating user demands and intentions derived from LLMs with the global structural information from the augmentation graph within a contrastive learning framework to enhance representation performance. Extensive experiments demonstrate the effectiveness of LLM4TAP, achieving the maximum improvements of 8.96% and 4.72% over the strongest compared methods on the IFTTT and Wyze datasets, respectively.Keywords
Funding Information
- Science and Technology Development Plan of Jilin Province of China (20220101115JC)
This publication has 36 references indexed in Scilit:
- Collaborative Ground-Space Communications via Evolutionary Multi-Objective Deep Reinforcement LearningIEEE Journal on Selected Areas in Communications, 2024
- TAP with ease: a generic recommendation system for trigger-action programming based on multi-modal representation learningApplied Soft Computing, 2024
- Generative AI for Integrated Sensing and Communication: Insights From the Physical Layer PerspectiveIEEE Wireless Communications, 2024
- A Scalable Approach to Detecting Safety Requirements Inconsistencies for Railway SystemsIEEE Transactions on Intelligent Transportation Systems, 2024
- A conversational agent for creating automations exploiting large language modelsPersonal and Ubiquitous Computing, 2024
- A data fusion framework based on heterogeneous information network embedding for trigger-action programming in IoTExpert Systems with Applications, 2023
- Joint Power and 3D Trajectory Optimization for UAV-Enabled Wireless Powered Communication Networks With ObstaclesIEEE Transactions on Communications, 2023
- 6G Internet of Things: A Comprehensive SurveyIEEE Internet of Things Journal, 2021
- Nonnegative Matrix Factorization Based Heterogeneous Graph Embedding Method for Trigger-Action Programming in IoTIEEE Transactions on Industrial Informatics, 2021
- A high-level semantic approach to End-User Development in the Internet of ThingsInternational Journal of Human-Computer Studies, 2019