IoT Rule Generation With Cross-View Contrastive Learning and Perplexity-Based Ranking

Trigger-Action Platforms (TAPs) streamline task automation in Internet of Things (IoT) ecosystems through intuitive IF-THEN rules. However, the rapid expansion of TAP devices, combined with the diversity and overlap of their functionalities, presents significant challenges for users in formulating rules that accurately capture their intentions and effectively map these intents to the appropriate device actions. This paper presents TARGE (Trigger-Action Rule GEneration), a novel framework for generating IoT automation rules directly from natural language user intents. TARGE leverages Large Language Models (LLMs) to interpret user intents and employs cross-view contrastive learning to generate rule embeddings that capture TAP functionality and device relationships. Its ranking mechanism combines semantic consistency with LLM-derived perplexity to prioritize contextually coherent rules. Evaluated on a dataset of IFTTT rules, TARGE demonstrates robust performance across scenarios involving both well-defined and ambiguous user intents, consistently outperforming state-of-the-art methods by at least 46% in exact match accuracy and 35% in multi-rule recommendations.

Authors

Institutions

Publication Details

Journal
IEEE Internet of Things Journal
Published
2025-06-16
DOI
https://doi.org/10.1109/jiot.2025.3579920
Citations
3
Primary Topic
Neural Networks and Applications
Type
article
Field-Weighted Citation Impact
7.44

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

IoT Rule Generation With Cross-View Contrastive Learning and Perplexity-Based Ranking

Gaetano Cimino, Vincenzo Deufemia, Mattia Limone
3 citations
IEEE Internet of Things Journal
Neural Networks and Applications
7.44
article

IoT Rule Generation With Cross-View Contrastive Learning and Perplexity-Based Ranking

Gaetano Cimino, Vincenzo Deufemia, Mattia Limone
article en
3 citations

Abstract

Trigger-Action Platforms (TAPs) streamline task automation in Internet of Things (IoT) ecosystems through intuitive IF-THEN rules. However, the rapid expansion of TAP devices, combined with the diversity and overlap of their functionalities, presents significant challenges for users in formulating rules that accurately capture their intentions and effectively map these intents to the appropriate device actions. This paper presents TARGE (Trigger-Action Rule GEneration), a novel framework for generating IoT automation rules directly from natural language user intents. TARGE leverages Large Language Models (LLMs) to interpret user intents and employs cross-view contrastive learning to generate rule embeddings that capture TAP functionality and device relationships. Its ranking mechanism combines semantic consistency with LLM-derived perplexity to prioritize contextually coherent rules. Evaluated on a dataset of IFTTT rules, TARGE demonstrates robust performance across scenarios involving both well-defined and ambiguous user intents, consistently outperforming state-of-the-art methods by at least 46% in exact match accuracy and 35% in multi-rule recommendations.

IEEE Internet of Things JournalVol. 12(17)
University of Salerno (IT)
Ministero dell’Istruzione, dell’Università e della Ricerca
Quality Education
Openalex Percentile: Top 3%
Neural Networks and Applications
7.44
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.