Temporal graph attention networks for real-time anomaly detection in industrial IOT: a multi-scale hierarchical approach (TGA-Net)

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

Authors

  • Renas Rajab Asaad Department of Computer Science, Nawroz University, Duhok, Kurdistan Region, Iraq.

Keywords:

Anomaly Detection, Industrial IOT, Graph Attention Network, Temporal Convolution, Multi-Scale Learning, SWAT

Abstract

In the Industrial Internet of Things (IIoT) networks, anomaly detection is a safety-critical task that is challenging due to dynamic, non-stationary and graph-structured sensor data. Current methods do not consider the sensor topology, either adopting a fixed one or treating time-series independently, ignoring spatial correlations among sensors. In this paper, the novel multi-scale hierarchical architecture of TGA-Net is proposed to capture temporal dependencies within a sensor as well as spatial correlation between different sensors by two novel modules, Gated Dilated Causal Convolutional Layer (GDCC) and Dynamic Multi-Head Graph Attention (DMHGA) layer, respectively. TGA-Net proposes a learnable Cross-Scale Hierarchical Fusion (CSHF) module to fuse the anomaly evidence collected from three temporal resolutions (1 s, 10 s, 60 s) in a learnable gating mechanism, and an adaptive graph structure that is updated at each inference step, according to the similarity of node features. Evaluation on four public benchmarks for IIoT (SWAT, WADI, MSL and SMD) shows state-of-the-art performance. On SWAT, TGA-Net obtains an F1 score of 95.7% while the best-reported baseline is 91.3% with an inference latency of 8.3ms/window, where it outperforms the baseline by 4.4%. TGA-Net is well suited for real-time deployment. Ablation tests have verified that each architectural element is a valuable one with regard to overall performance. Interpretability analysis by visualisation of attention weights shows patterns of anomaly localisation consistent with expert labelling of ground truth anomalies, thereby giving actionable diagnostic information beyond just identifying whether an anomaly occurred or not, and explaining its occurrence physically. Future research will include variants of online continual learning to deal with the problem of distribution shift without periodic retraining, and extension of the framework for heterogeneous, federated IIoT environments.

References

AtzoriL.IeraA.MorabitoG. The internet of things: A survey Computer Networks2010541527872805 10.1016/j.comnet.2010.05.010

StoufferK.FalcoJ.ScarfoneK. Guide to Industrial Control Systems (ICS) Security National Institute of Standards and TechnologyGaithersburg, MD2011 10.6028/NIST.SP.800-82

CookA.MisirliG.FanZ. Anomaly detection for IoT time-series data: A survey IEEE Internet of Things Journal20207764816494 10.1109/JIOT.2019.2958185

BoxG. E. P.JenkinsG. M.ReinselG. C. Time Series Analysis4 John Wiley & Sons2013

RuffL. A unifying review of deep and shallow anomaly detection Proceedings of the IEEE20211095756795 10.1109/JPROC.2021.3052449

ParkD.HoshiY.KempC. C. A multimodal anomaly detector for robot-assisted feeding using an LSTM-based variational autoencoder IEEE Robotics and Automation Letters20183315441551 10.1109/LRA.2018.2801475

SuY.ZhaoY.NiuC.LiuR.SunW.PeiD. Robust anomaly detection for multivariate time series through stochastic recurrent neural network Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining Anchorage, AK, USA201928282837 10.1145/3292500.3330672

XuJ.WuH.WangJ.LongM. Anomaly Transformer: Time series anomaly detection with Association Discrepancy arXiv2021 10.48550/arXiv.2110.02642

DengA.HooiB. Graph neural network-based anomaly detection in multivariate time series Proceedings of the 35th AAAI Conference on Artificial Intelligence 202135540274035 10.1609/aaai.v35i5.16523

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

BaiS.KolterJ. Z.KoltunV. An empirical evaluation of generic convolutional and recurrent networks for sequence modeling arXiv2018 10.48550/arXiv.1803.01271

ZhangW.ZhangC.TsungF. GRELEN: Multivariate time series anomaly detection from the perspective of graph relational learning Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence Vienna, Austria2022 10.24963/ijcai.2022/332

GulatiA. Conformer: Convolution-augmented Transformer for speech recognition Proc. Interspeech 2020 Shanghai, China202050365040 10.21437/Interspeech.2020-3015

LawhernV. J.SolonA. J.WaytowichN. R.GordonS. M.HungC. P.LanceB. J. EEGNet: a compact convolutional neural network for EEG-based brain-computer interfaces Journal of Neural Engineering2018155056013 10.1088/1741-2552/aace8c

GohJ.AdepuS.JunejoK. N.MathurA. A dataset to support research in the design of secure water treatment systems Critical Information Infrastructures Security Springer International PublishingCham20178899 10.1007/978-3-319-71368-7_8

UmerM. A.MathurA.JunejoK. N.AdepuS. Integrating design and data centric approaches to generate invariants for distributed attack detection Proceedings of the 2017 Workshop on Cyber-Physical Systems Security and PrivaCy Dallas, Texas, USA2017131136 10.1145/3140241.3140248

HundmanK.ConstantinouV.LaporteC.ColwellI.SoderstromT. Detecting spacecraft anomalies using LSTMs and nonparametric dynamic thresholding Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining London, United Kingdom2018387395 10.1145/3219819.3219845

SuY.ZhaoY.NiuC.LiuR.SunW.PeiD. Robust anomaly detection for multivariate time series through stochastic recurrent neural network Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining Anchorage, AK, USA201928282837 10.1145/3292500.3330672

AudibertM.MichiardiP.GuyardF.MartiS.ZuluagaM. A. USAD: UnSupervised Anomaly Detection on Multivariate Time Series Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining Virtual Event, CA, USA202033953404 10.1145/3394486.3403392

ZhangK.ShiT.GaoH.WangJ.WangX. Unsupervised Deep Anomaly Detection for Multi-Sensor Time-Series Signals IEEE Transactions on Knowledge and Data Engineering202335221182132 10.1109/TKDE.2021.3102110

Published

2025-09-12

How to Cite

Asaad, R. R. (2025). Temporal graph attention networks for real-time anomaly detection in industrial IOT: a multi-scale hierarchical approach (TGA-Net). Journal of Artificial Intelligence, Machine Learning and Neural Network, 5(2), 79–87. https://doi.org/10.55529/jaimlnn.52.79.87