RuleSense: Efficient and Lightweight Anomaly Detection for IIoT Streaming Data

The rapid growth of Internet of Things (IoT) technology has accelerated its adoption in industrial environments, generating large volumes of both normal and abnormal sensor data. Detecting anomalies in Industrial Internet of Things (IIoT) systems is essential for maintaining industrial sustainability, operational performance, and security. However, the dynamic and real-time nature of IIoT sensor data makes anomaly detection particularly challenging. This paper presents RuleSense, an efficient rule-based anomaly detection framework for IIoT environments. RuleSense is positioned as a lightweight data-intensive monitoring framework that combines edge-cloud processing, interpretable rule-based detection, and joint network-sensor analysis within a realistic IIoT evaluation setting. The design aims to enable early anomaly detection at the edge and suits environments with unreliable internet connectivity, since detection is performed at the edge without depending entirely on cloud processing. By profiling normal device behavior, the attack detection module (RADM) identifies a range of anomalies without a training phase and without attack data for profile construction or detection; its feature subset, weights and thresholds are fixed design-time parameters that were chosen with labeled data. On a held-out test set of the IIoT testbed, RADM achieves 98.54% accuracy and a 98.82% F1-score, and on three external IoT datasets it achieves accuracies between 94.28% and 98.92% with the same parameters. RADM does not reach the accuracy of the strongest supervised models trained on all available features, but it is significantly more accurate than four supervised baselines (XGBoost, Random Forest, Decision Tree and CNN) trained on the same 15 features. When attack classification is needed, the attack classification module (GADM) uses attack profiles constructed from observed attack data to identify specific threat types, achieving 93% attack classification accuracy, evaluated on the earlier attack split and not repeated on the new split. To the best of our knowledge, RuleSense is among the few rule-based intrusion and anomaly detection frameworks for IIoT that combine both network and sensor data to detect a broad range of network threats and data anomalies.

Authors

Institutions

Publication Details

Journal
Sensors
Published
2026-11-19
DOI
https://doi.org/10.3390/s26227331
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

RuleSense: Efficient and Lightweight Anomaly Detection for IIoT Streaming Data

Heather Molyneaux, Ali Akbar Ghorbani, Sajjad Dadkhah, Amir Firouzi
Sensors
Network Security and Intrusion Detection
article

RuleSense: Efficient and Lightweight Anomaly Detection for IIoT Streaming Data

Heather Molyneaux, Ali Akbar Ghorbani, Sajjad Dadkhah, Amir Firouzi
article en

Abstract

The rapid growth of Internet of Things (IoT) technology has accelerated its adoption in industrial environments, generating large volumes of both normal and abnormal sensor data. Detecting anomalies in Industrial Internet of Things (IIoT) systems is essential for maintaining industrial sustainability, operational performance, and security. However, the dynamic and real-time nature of IIoT sensor data makes anomaly detection particularly challenging. This paper presents RuleSense, an efficient rule-based anomaly detection framework for IIoT environments. RuleSense is positioned as a lightweight data-intensive monitoring framework that combines edge-cloud processing, interpretable rule-based detection, and joint network-sensor analysis within a realistic IIoT evaluation setting. The design aims to enable early anomaly detection at the edge and suits environments with unreliable internet connectivity, since detection is performed at the edge without depending entirely on cloud processing. By profiling normal device behavior, the attack detection module (RADM) identifies a range of anomalies without a training phase and without attack data for profile construction or detection; its feature subset, weights and thresholds are fixed design-time parameters that were chosen with labeled data. On a held-out test set of the IIoT testbed, RADM achieves 98.54% accuracy and a 98.82% F1-score, and on three external IoT datasets it achieves accuracies between 94.28% and 98.92% with the same parameters. RADM does not reach the accuracy of the strongest supervised models trained on all available features, but it is significantly more accurate than four supervised baselines (XGBoost, Random Forest, Decision Tree and CNN) trained on the same 15 features. When attack classification is needed, the attack classification module (GADM) uses attack profiles constructed from observed attack data to identify specific threat types, achieving 93% attack classification accuracy, evaluated on the earlier attack split and not repeated on the new split. To the best of our knowledge, RuleSense is among the few rule-based intrusion and anomaly detection frameworks for IIoT that combine both network and sensor data to detect a broad range of network threats and data anomalies.

SensorsVol. 26(22)
University of New Brunswick (CA), Natural Sciences and Engineering Research Council of Canada (CA)
Network Security and Intrusion Detection
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.

Laika access coming soon