HAC-UML: A hybrid autoencoder-enhanced clustering framework for unsupervised anomaly detection in industrial IIoT sensor networks

https://doi.org/10.55529/jaimlnn.61.31.41

Authors

  • Mayur R Bhoyar Assistant Professor, Jagdambha College of Engineering and Technology, Yavatmal, India.

Keywords:

Anomaly Detection, Industrial IoT, LSTM Autoencoder, Deep Embedded Clustering, Reconstruction Error, Time Series Analysis

Abstract

Industrial Internet-of-Things (IIoT) sensor networks generate massive, high-dimensional, and temporally correlated data streams wherein anomalous patterns often signal critical equipment failures, cyber-physical attacks, or process deviations. Conventional supervised anomaly detectors are impractical in IIoT environments due to the acute scarcity of labeled anomaly instances and the non-stationary nature of operational data. Unsupervised learning therefore represents the most tractable paradigm, yet existing methods suffer from limited representational capacity, susceptibility to the curse of dimensionality, and poor generalization across heterogeneous sensor modalities. This study proposes HAC-UML, a Hybrid Autoencoder-Enhanced Clustering framework for Unsupervised Machine Learning, designed to simultaneously learn compact latent representations of multivariate IIoT time series and perform joint deep clustering with adaptive anomaly scoring. HAC-UML integrates a Bi-directional Long Short-Term Memory (BiLSTM) autoencoder with a Deep Embedded Clustering (DEC) module trained via a composite loss function combining Mean Squared Error (MSE) reconstruction loss and Kullback–Leibler (KL) divergence-based cluster assignment loss. Anomaly scores are computed through reconstruction error thresholding at μ+3σ, complemented by cluster membership entropy analysis. Experiments were conducted on three public benchmarks: SWAT, WADI, and MSL, encompassing 87,004 multivariate sensor readings across 12 heterogeneous features. HAC-UML achieves a Precision of 0.937, Recall of 0.924, F1-Score of 0.930, and AUC-ROC of 0.963 on the SWAT benchmark, outperforming six state-of-the-art baselines including DAGMM, USAD, LSTM-AE, and OmniAnomaly by margins of 2.9%–8.3% in F1-Score. Ablation studies confirm the contribution of the joint clustering module (+4.1% F1 over AE-only) and the skip-connection mechanism (+2.3%). The proposed HAC-UML framework demonstrates strong generalizability, computational efficiency (inference latency <12 ms per window), and practical deployability on edge hardware.

References

Al-FuqahaA. GuizaniM. MohammadiM. AledhariM. AyyashM. Internet of Things: A Survey on Enabling Technologies, Protocols, and Applications IEEE Commun. Surv. Tutorials 2015 17 4 2347 2376 10.1109/COMST.2015.2444095

MarkmanC. MathurA. P. TippenhauerN. O. WADI: A water distribution testbed for research in the design of secure cyber physical systems Proc. 3rd Int. Workshop Cyber-Physical Syst. Smart Water Netw. (CySWater) Pittsburgh, PA, USA 2017 25 28 10.1145/3055366.3055375

BreunigM. M. KriegelH.-P. NgR. T. SanderJ. LOF: Identifying density-based local outliers Proceedings of the 2000 ACM SIGMOD International Conference on Management of Data Dallas, TX, USA 2000 10.1145/342009.335388

PimentelM. A. F. CliftonD. A. CliftonL. TarassenkoL. A Review of Novelty Detection Signal Process. 2014 99 215 249 10.1016/j.sigpro.2013.12.026

PangG. ShenC. CaoL. HengelA. V. D. Deep Learning for Anomaly Detection: A Review ACM Comput. Surv. 2021 54 2 1 38 10.1145/3439950

ChandolaV. BanerjeeA. KumarV. Anomaly Detection: A Survey ACM Comput. Surv. 2009 41 3 1 58 10.1145/1541880.1541882

GamaJ. ŽliobaitėI. BifetA. PechenizkiyM. BouchachiaA. A Survey on Concept Drift Adaptation ACM Comput. Surv. 2014 46 4 1 37 10.1145/2523813

VincentP. LarochelleH. BengioY. ManzagolP.-A. Extracting and composing robust features with denoising autoencoders Proc. 25th Int. Conf. Mach. Learn. (ICML) Helsinki, Finland 2008 1096 1103 10.1145/1390156.1390294

LiuF. T. TingK. M. ZhouZ.-H. Isolation Forest Proc. ICDM 2008 413 422 10.1109/ICDM.2008.17

JainA. K. Data Clustering: 50 Years Beyond K-Means Pattern Recognit. Lett. 2010 31 8 651 666 10.1016/j.patrec.2009.09.011

SchusterM. PaliwalK. K. Bidirectional recurrent neural networks IEEE Trans. Signal Process. 1997 45 11 2673 2681 11 10.1109/78.650093

GerychW. Local geometry preserving deep networks for featurizing high dimensional datasets 2021 20th IEEE International Conference on Machine Learning and Applications (ICMLA) Pasadena, CA, USA 2021 10.1109/ICMLA52953.2021.00166

LiuY. Deep anomaly detection for time-series data in industrial IoT: A communication-efficient on-device federated learning approach IEEE Internet Things J. 2021 8 8 6348 6358 04 10.1109/JIOT.2020.3011726

HintonG. E. SalakhutdinovR. R. Reducing the Dimensionality of Data with Neural Networks Science 2006 313 5786 504 507 10.1126/science.1127647

HochreiterS. SchmidhuberJ. Long Short-Term Memory Neural Comput. 1997 9 8 1735 1780 10.1162/neco.1997.9.8.1735

GargA. ZhangW. SamaranJ. SavithaR. FooC. S. An Evaluation of Anomaly Detection and Diagnosis in Multivariate Time Series IEEE Trans. Neural Netw. Learn. Syst. 2022 33 6 2508 2517 10.1109/TNNLS.2021.3105827

HawkinsS. HeH. WilliamsG. BaxterR. Outlier detection using replicator neural networks Data Warehousing and Knowledge Discovery Berlin, Heidelberg Springer Berlin Heidelberg 2002 170 180 10.1007/3-540-46145-0_17

ZhaoH. Multivariate time-series anomaly detection via graph attention network 2020 IEEE International Conference on Data Mining (ICDM) Sorrento, Italy 2020 10.1109/ICDM50108.2020.00093

SakuradaM. YairiT. Anomaly Detection Using Autoencoders with Nonlinear Dimensionality Reduction Proc. MLSDA Workshop 2014 4 11 10.1145/2689746.2689747

HundmanK. ConstantinouV. LaporteC. ColwellI. SöderströmT. Detecting Spacecraft Anomalies Using LSTMs and Nonparametric Dynamic Thresholding Proc. KDD 2018 387 395 10.1145/3219819.3219845

AudibertJ. MichiardiP. GuyardF. MartiS. ZuluagaM. A. USAD: UnSupervised Anomaly Detection on Multivariate Time Series Proc. KDD 2020 3395 3404 10.1145/3394486.3403392

SuY. ZhaoY. NiuC. LiuR. SunW. PeiD. Robust Anomaly Detection for Multivariate Time Series Through Stochastic Recurrent Neural Network Proc. KDD 2019 2828 2837 10.1145/3292500.3330672

ShiW. CaoJ. ZhangQ. LiY. XuL. Edge Computing: Vision and Challenges IEEE Internet Things J. 2016 3 5 637 646 10 10.1109/JIOT.2016.2579198

LiD. ChenD. JinB. ShiL. GohJ. NgS.-K. MAD-GAN: Multivariate Anomaly Detection for Time Series Data with Generative Adversarial Networks Proc. ICANN 2019 703 716 10.1007/978-3-030-30490-4_56

TuliS. CasaleG. JenningsN. J. TranAD: Deep Transformer Networks for Anomaly Detection in Multivariate Time Series Data Proc. VLDB Endow. 2022 15 6 1201 1214 10.14778/3514061.3514067

Published

2026-02-10

How to Cite

Bhoyar, M. R. (2026). HAC-UML: A hybrid autoencoder-enhanced clustering framework for unsupervised anomaly detection in industrial IIoT sensor networks. Journal of Artificial Intelligence, Machine Learning and Neural Network, 6(1), 31–41. https://doi.org/10.55529/jaimlnn.61.31.41