Netinfo Security ›› 2023, Vol. 23 ›› Issue (2): 96-103.doi: 10.3969/j.issn.1671-1122.2023.02.011

Previous Articles     Next Articles

Unsupervised Matrix Factorization Based Trigger Action Programming Rules Recommendation

WANG Ming, XING Yongheng, WANG Feng()   

  1. College of Computer Science and Technology, Jilin University, Changchun 130012, China
  • Received:2022-11-28 Online:2023-02-10 Published:2023-02-28
  • Contact: WANG Feng E-mail:wangfeng12@mails.jlu.edu.cn

Abstract:

TAP has been widely used in customized IoT device linkage. In addition to the conditional trigger relationship between items, the TAP data also contains the text description information about the relevant rules. How to use the multi-source heterogeneous attributes of TAP data is one of the important researches in the application of the IoT. In this paper, TAP data was modeled as a heterogeneous graph containing multiple types of nodes and edges, which realized the fusion of multiple types of relationships between multi-source heterogeneous data, and then generated a relationship matrix according to the connection between different types of nodes. Non-negative matrix factorization (NMF) was used to unsupervised learn the feature of each node in the TAP heterogeneous graph for TAP rule recommendation. This paper proposed three weighted relational matrix generation methods, which were called co-occurrence frequency weight (CFW), concept similarity weight (CSW) and TF-IDF weight (TIW). The experimental results show that feature vectors obtained from NMF, which decomposes the matrix generated by CFW have better performance in TAP rule recommendation.

Key words: trigger-action programming, non-negative matrix, weighted matrix

CLC Number: