Back to Search
Start Over
A Recommendation System for Trigger-Action Programming Rules via Graph Contrastive Learning.
- Source :
-
Sensors (Basel, Switzerland) [Sensors (Basel)] 2024 Sep 23; Vol. 24 (18). Date of Electronic Publication: 2024 Sep 23. - Publication Year :
- 2024
-
Abstract
- Trigger-action programming (TAP) enables users to automate Internet of Things (IoT) devices by creating rules such as "IF Device1.TriggerState is triggered, THEN Device2.ActionState is executed". As the number of IoT devices grows, the combination space between the functions provided by devices expands, making manual rule creation time-consuming for end-users. Existing TAP recommendation systems enhance the efficiency of rule discovery but face two primary issues: they ignore the association of rules between users and fail to model collaborative information among users. To address these issues, this article proposes a graph contrastive learning-based recommendation system for TAP rules, named GCL4TAP. In GCL4TAP, we first devise a data partitioning method called DATA2DIV, which establishes cross-user rule relationships and is represented by a user-rule bipartite graph. Then, we design a user-user graph to model the similarities among users based on the categories and quantities of devices that they own. Finally, these graphs are converted into low-dimensional vector representations of users and rules using graph contrastive learning techniques. Extensive experiments conducted on a real-world smart home dataset demonstrate the superior performance of GCL4TAP compared to other state-of-the-art methods.
Details
- Language :
- English
- ISSN :
- 1424-8220
- Volume :
- 24
- Issue :
- 18
- Database :
- MEDLINE
- Journal :
- Sensors (Basel, Switzerland)
- Publication Type :
- Academic Journal
- Accession number :
- 39338895
- Full Text :
- https://doi.org/10.3390/s24186151