RuleSense: Efficient and Lightweight Anomaly Detection for IIoT Streaming Data
Year: 2026
Type: article
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.
Source: Sensors
DOI: 10.3390/s26227331
Institutions: University of New Brunswick, National Research Council Canada
Language: English
Subfield: Computer Networks and Communications
Field: Computer Science
Domain: Physical Sciences
Open Access status: gold
Estimated APC paid: $3,137
OpenAlex ID: W7236739017
