Anomaly Detection and Localization of IoT Traffic via Hybrid Autoencoder and Temporal Modeling
DOI:
https://doi.org/10.15837/ijccc.2026.6.7529Keywords:
IoT, traffic anomaly detection, VAE, DTW, anomaly localizationAbstract
To address the problems of inadequate anomaly representation in IoT traffic and poor anomaly localization capabilities, this study proposes a novel anomaly detection and localization framework based on probabilistic autoencoder reconstruction, temporal alignment, and multi-scale temporal feature learning. The model uses a Variational Autoencoder to learn the distribution of normal traffic and performs sequence reconstruction. It combines Dynamic Time Warping to improve the identification of time-misaligned anomalies such as rhythm offset and phase drift. It then feeds anomalous windows into a Transformer-based encoding structure with inductive bias to model global temporal correlations. It uses Multi-Scale Feature Fusion decoding to recover local details step by step, and achieves joint localization of anomalous time slices, key variables, and related nodes. Experimental results indicate that with 28,800 test cases, the model achieves 98.74% of the area under the curve, 95.96% of the F1 score at the window level, 2.4 s of temporal localization errors, and 92.68% of node backtracking accuracy. In practical traffic edge environments, the recall rate of typical anomaly detection reaches up to 97.83%, with a response delay of 54 ms and an early warning lead time of 55 s. These results show that the model achieves high-accuracy detection and fine-grained localization in complex edge traffic environments, and provides support for network security monitoring and anomaly tracing.
References
Yang, X.; Xiang, K.; Yuan, S.; Huang, J. (2024). Vehicle driving behavior recognition and optimization strategies based on cloud computing and SSA-BP algorithm, Studies in Informatics and Control, 33(3), 17-28, 2024. https://doi.org/10.24846/v33i3y202402
Morshedi, R.; Matinkhah, S. M. (2025). Anomaly detection in IoT traffic in the presence of Gaussian noise using deep neural networks, Journal of AI and Data Mining, 13(3), 305-319, 2025.
Montoya, G. A.; Lozano-Garzón, C.; Paternina-Arboleda, C.; Donoso, Y. (2025). A mathematical optimization approach for prioritized services in IoT networks for energy-constrained smart cities, International Journal of Computers Communications & Control, 20(1), 6912, 2025. https://doi.org/10.15837/ijccc.2025.1.6912
Kang, B. G.; Kim, B. S. (2024). Attachable IoT-based digital twin framework specialized for SME production lines, International Journal of Simulation Modelling, 23(3), 471-482, 2024. https://doi.org/10.2507/IJSIMM23-3-694
Sana, L.; Nazir, M. M.; Yang, J.; Hussain, L.; Chen, Y. L.; Ku, C. S.; Por, L. Y. (2024). Securing the IoT cyber environment: enhancing intrusion anomaly detection with vision transformers, IEEE Access, 12(5), 82443-82468, 2024. https://doi.org/10.1109/ACCESS.2024.3404778
Zeng, G. Q.; Yang, Y. W.; Lu, K. D.; Geng, G. G.; Weng, J. (2025). Evolutionary adversarial autoencoder for unsupervised anomaly detection of industrial internet of things, IEEE Transactions on Reliability, 74(3), 3454-3468, 2025. https://doi.org/10.1109/TR.2025.3528256
Dou, S.; Yang, K.; Jiao, Y.; Qiu, C.; Ren, K. (2024). Anomaly detection in event-triggered traffic time series via similarity learning, IEEE Transactions on Dependable and Secure Computing, 22(2), 888-902, 2024. https://doi.org/10.1109/TDSC.2024.3418906
Zeng, Z.; Zhao, B.; Deng, X.; Liu, X.; Zheng, J.; Chen, J. (2024). Toward intelligent attack detection with causal transformer in Internet of Things, IEEE Internet of Things Journal, 12(8), 10751-10767, 2024. https://doi.org/10.1109/JIOT.2024.3512531
Jovanović, Ð. D.; Vuletić, P. V. (2024). PI-BODE: programmable intraflow-based IoT botnet detection system, Computer Science and Information Systems, 21(1), 37-56, 2024. https://doi.org/10.2298/CSIS211116064J
Alsoufi, M. A.; Siraj, M. M.; Ghaleb, F. A.; Al-Razgan, M.; Al-Asaly, M. S.; Alfakih, T.; et al.(2024). Anomaly-based intrusion detection model using deep learning for IoT networks, Computer Modeling in Engineering & Sciences, 141(1), 823-845, 2024. https://doi.org/10.32604/cmes.2024.052112
Shuxin, S.; Bing, H.; Zhongdai, W.; Dezhi, H.; Huafeng, W.; Xiaojun, M. (2024). BLSAE-SNIDS: a Bi-LSTM sparse autoencoder framework for satellite network intrusion detection, Computer Science and Information Systems, 21(4), 1389-1410, 2024. https://doi.org/10.2298/CSIS240401041S
Pang, J. L. (2023). Adaptive fault prediction and maintenance in production lines using deep learning, International Journal of Simulation Modelling, 22(4), 734-745, 2023. https://doi.org/10.2507/IJSIMM22-4-CO20
Hamdi, M.; Bouhamed, H.; Badreddine, F.; Alkanhel, R. (2024). Deep recurrent neural networks distributed on a Hadoop/Spark cluster for fall detection, International Journal of Computers Communications & Control, 19(3), 6428, 2024. https://doi.org/10.15837/ijccc.2024.3.6428
Liang, S.; Chen, C.; Wu, D.; Chen, L.; Wu, Q.; Gu, T. T. (2024). An ensemble learning method for the fault multi-classification of smart meters, Tehnicki vjesnik-Technical Gazette, 31(5), 1514-1522, 2024. https://doi.org/10.17559/TV-20230417000543
Ribeiro, J.; Santos, R.; Analide, C.; Silva, F. (2024). Implementing federated learning and explainability techniques in regression models to increase transparency and reliability, Studies in Informatics and Control, 33(4), 15-24, 2024. https://doi.org/10.24846/v33i4y202402
Watanabe, N.; Yamazaki, T.; Miyoshi, T.; Yamamoto, R.; Nakahara, M.; Okui, N.; Kubota, A. (2025). Self-adaptive traffic anomaly detection system for IoT smart home environments, IEICE Transactions on Communications, 108(3), 230-242, 2025. https://doi.org/10.23919/transcom.2024EBT0002
Rabbani, M.; Gui, J.; Nejati, F.; Zhou, Z.; Kaniyamattam, A.; Mirani, M.; Ghorbani, A. A. (2024). Device identification and anomaly detection in IoT environments, IEEE Internet of Things Journal, 12(10), 13625-13643, 2024. https://doi.org/10.1109/JIOT.2024.3522863
Nissar, N.; Naja, N.; Jamali, A. (2024). Securing VANETs: multi-objective intrusion detection with variational autoencoders, IEEE Transactions on Consumer Electronics, 70(1), 3867-3874, 2024. https://doi.org/10.1109/TCE.2024.3372691
Dong, H.; Kotenko, I. V. (2024). Convolutional variational autoencoders and resampling techniques with generative adversarial network for enhancing Internet of Thing security, Pattern Recognition and Image Analysis, 34(3), 562-569, 2024. https://doi.org/10.1134/S1054661824700366
Bali, N.; Jaoua, Z.; Bzeouich, O.; Abbassi, I. (2024). Intrusion detection systems for the internet of things: a probabilistic anomaly detection approach, International Journal of Computers and Applications, 46(11), 933-944, 2024. https://doi.org/10.1080/1206212X.2024.2400148
Tang, L.; Kou, E.; Zhang, W.; Wu, Q.; Chen, Q. (2024). IoT-FKGDL-SL: anomaly detection framework integrating knowledge distillation and swarm learning for 5G IoT, IEEE Internet of Things Journal, 11(23), 38601-38614, 2024. https://doi.org/10.1109/JIOT.2024.3448429
Li, Y.; Yang, J.; Shih, S. L.; Shih, W. T.; Wen, C. K.; Jin, S. (2024). Efficient IoT devices localization through Wi-Fi CSI feature fusion and anomaly detection, IEEE Internet of Things Journal, 11(24), 39306-39322, 2024. https://doi.org/10.1109/JIOT.2024.3421577
Shibu, S.; Kirubakaran, S.; Remamany, K. P.; Ahamed, S.; Chitra, L.; Kshirsagar, P. R.; Tirth, V. (2025). Anomaly detection using deep learning approach for IoT smart city applications, Multimedia Tools and Applications, 84(17), 17929-17949, 2025. https://doi.org/10.1007/s11042-024-19176-x
Mishra, S.; Jain, U. (2025). Secure IoT sensor networks through advanced anomaly detection with Kolmogorov-Arnold Networks, Microsystem Technologies, 31(8), 2157-2167, 2025. https://doi.org/10.1007/s00542-025-05848-7
Wang, X.; Luo, Q.; Liu, K.; Mao, R.; Wu, G. (2024). Deep learning method based on multiscale enhanced feature fusion for vehicle behavior prediction, IEEE Internet of Things Journal, 12(7), 9142-9155, 2024. https://doi.org/10.1109/JIOT.2024.3508034
Additional Files
Published
Issue
Section
License
Copyright (c) 2026 Haiou Shi

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
ONLINE OPEN ACCES: Acces to full text of each article and each issue are allowed for free in respect of Attribution-NonCommercial 4.0 International (CC BY-NC 4.0.
You are free to:
-Share: copy and redistribute the material in any medium or format;
-Adapt: remix, transform, and build upon the material.
The licensor cannot revoke these freedoms as long as you follow the license terms.
DISCLAIMER: The author(s) of each article appearing in International Journal of Computers Communications & Control is/are solely responsible for the content thereof; the publication of an article shall not constitute or be deemed to constitute any representation by the Editors or Agora University Press that the data presented therein are original, correct or sufficient to support the conclusions reached or that the experiment design or methodology is adequate.






