Welcome to Francis Academic Press

Academic Journal of Computing & Information Science, 2025, 8(6); doi: 10.25236/AJCIS.2025.080604.

Time Series Anomaly Detection Based on Hreg-VAE-LSTM

Author(s)

Tianbo Xu, Qian Wang

Corresponding Author:
Tianbo Xu
Affiliation(s)

Wuhu Institute of Technology, Wuhu, Anhui, 241003, China

Abstract

In the Industry 4.0, smart factories often face data anomalies during the collection and transmission of industrial time series data. To overcome this limitation, we propose a time series anomaly detection model based on Hreg-VAE-LSTM. The model leverages a Variational Autoencoder (VAE) module to capture local features within short time windows and employs the Hreg regularization method to mitigate the issue of data imbalance. Subsequently, a Long Short-Term Memory (LSTM) network is used to model the long-term dependencies in the sequence based on the features extracted by the VAE. This design enables the proposed algorithm to effectively detect anomalies across multiple temporal scales. Extensive experiments conducted on five real-world industrial datasets proved our model demonstrate the effectiveness and superiority of our model.

Keywords

Unsupervised Learning, Anomaly Detection, Time Series, Deep Learning

Cite This Paper

Tianbo Xu, Qian Wang. Time Series Anomaly Detection Based on Hreg-VAE-LSTM. Academic Journal of Computing & Information Science (2025), Vol. 8, Issue 6: 27-35. https://doi.org/10.25236/AJCIS.2025.080604.

References

[1] Gong D, Liu L, Le V, et al. Memorizing normality to detect anomaly: Memory-augmented deep autoencoder for unsupervised anomaly detection[C]//Proceedings of the IEEE/CVF international conference on computer vision. 2019: 1705-1714.

[2] Vanem E, Brandsæter A. Unsupervised anomaly detection based on clustering methods and sensor data on a marine diesel engine[J]. Journal of Marine Engineering & Technology, 2021, 20(4): 217-234.

[3] Sánchez-Fernández A, Baldan F J, Sainz-Palmero G I, et al. Fault detection based on time series modeling and multivariate statistical process control[J]. Chemometrics and Intelligent Laboratory Systems, 2018, 182:57-69.

[4] Li D, Chen D, Jin B, et al. MAD-GAN: Multivariate anomaly detection for time series data with generative adversarial networks[C]//International Conference on Artificial Neural Networks. Springer, Cham, 2019:703-716.

[5] Jiang W, Hong Y, Zhou B, et al. A GAN-based anomaly detection approach for imbalanced industrial time series[J]. IEEE Access, 2019, 7:143608-143619.

[6] Sun Y, Yu W, Chen Y, et al. Time series anomaly detection based on gan[C]//2019 Sixth International Conference on Social Networks Analysis, Management and Security (SNAMS). IEEE, 2019: 375-382.

[7] Su Y, Zhao Y, Niu C, et al. Robust anomaly detection for multivariate time series through stochastic recurrent neural network[C]//Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining. 2019: 2828-2837.

[8] Zhang C, Song D, Chen Y, et al. A deep neural network for unsupervised anomaly detection and diagnosis in multivariate time series data[C]//Proceedings of the AAAI conference on artificial intelligence. 2019, 33(01): 1409-1416.

[9] Ren H, Xu B, Wang Y, et al. Time-series anomaly detection service at microsoft[C]//Proceedings of the 25th ACM SIGKDD international conference on knowledge discovery & data mining. 2019: 3009-3017.

[10] Naik G R, Kumar D K. Determining number of independent sources in undercomplete mixture[J]. EURASIP Journal on Advances in Signal Processing, 2009:1-5.

[11] Hou X, Zhang L. Saliency detection: A spectral residual approach[C]//2007 IEEE Conference on computer vision and pattern recognition. IEEE, 2007: 1-8.

[12] Wu Y, Dai H N, Tang H. Graph neural networks for anomaly detection in industrial internet of things[J]. IEEE Internet of Things Journal, 2021, 9(12): 9214-9231.

[13] Zhao H, Wang Y, Duan J, et al. Multivariate time-series anomaly detection via graph attention network[C]//2020 IEEE International Conference on Data Mining (ICDM). IEEE, 2020: 841-850.

[14] Zhang Y, Chen Y, Wang J, et al. Unsupervised deep anomaly detection for multi-sensor time-series signals[J]. IEEE Transactions on Knowledge and Data Engineering, 2021.

[15] Ding C, Sun S, Zhao J. MST-GAT: A multimodal spatial–temporal graph attention network for time series anomaly detection[J]. Information Fusion, 2023, 89: 527-536.

[16] Adepu S, Mathur A. Distributed attack detection in a water treatment plant: Method and case study[J]. IEEE Transactions on Dependable and Secure Computing, 2018, 18(1): 86-99.