Trigger-Action Platforms (TAPs) allow users to automate behaviors involving IoT devices either by programming rules from scratch or by accessing a catalog of user-defined rules. Users can search the catalog based on their interests and needs, browsing through rules that are expressed according to textual descriptions supplied by the rule's creator. However, TAPs do not perform any control over these User-defined descriptions (UDDs), which means that there is no way to ensure their suitability. This lack of control might lead to the inclusion of erroneous information, making it challenging for users to retrieve the relevant rules they need during searches. To address this issue, this paper proposes the use of a BERT-based classification model to check the semantic consistency of a rule's UDD with respect to its trigger-action components. We evaluate the proposed solution with the popular TAP, namely If-This-Then-That (IFI'll), by training the model on a dataset consisting of 9643 labeled samples. Each sample is composed a fa pattern derived from the rule components, the corresponding rule's UDD, and a label expressing whether they are semantically related. The code of the software is publicly available on GitHub.

A BERT-based Model for Semantic Consistency Checking of Automation Rules / Breve, B.; Cimino, G.; Deufemia, V.; Elefante, A.. - (2023), pp. 87-93. (Intervento presentato al convegno 29th International DMS Conference on Visualization and Visual Languages, DMSVIVA 2023 tenutosi a KSIR Virtual Conference Center, usa nel 29 Giugno - 3 Luglio 2023) [10.18293/DMSVIVA23-008].

A BERT-based Model for Semantic Consistency Checking of Automation Rules

Breve B.;
2023

Abstract

Trigger-Action Platforms (TAPs) allow users to automate behaviors involving IoT devices either by programming rules from scratch or by accessing a catalog of user-defined rules. Users can search the catalog based on their interests and needs, browsing through rules that are expressed according to textual descriptions supplied by the rule's creator. However, TAPs do not perform any control over these User-defined descriptions (UDDs), which means that there is no way to ensure their suitability. This lack of control might lead to the inclusion of erroneous information, making it challenging for users to retrieve the relevant rules they need during searches. To address this issue, this paper proposes the use of a BERT-based classification model to check the semantic consistency of a rule's UDD with respect to its trigger-action components. We evaluate the proposed solution with the popular TAP, namely If-This-Then-That (IFI'll), by training the model on a dataset consisting of 9643 labeled samples. Each sample is composed a fa pattern derived from the rule components, the corresponding rule's UDD, and a label expressing whether they are semantically related. The code of the software is publicly available on GitHub.
2023
A BERT-based Model for Semantic Consistency Checking of Automation Rules / Breve, B.; Cimino, G.; Deufemia, V.; Elefante, A.. - (2023), pp. 87-93. (Intervento presentato al convegno 29th International DMS Conference on Visualization and Visual Languages, DMSVIVA 2023 tenutosi a KSIR Virtual Conference Center, usa nel 29 Giugno - 3 Luglio 2023) [10.18293/DMSVIVA23-008].
File in questo prodotto:
File Dimensione Formato  
DMS2023.pdf

non disponibili

Licenza: Non specificato
Dimensione 3.56 MB
Formato Adobe PDF
3.56 MB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11588/977639
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact