Smart City Gnosys

Smart city article details

Title Uocad2: An Unsupervised Online Contextual Anomaly Detection Approach Using Optimized Hyperparameters Of Rnns For Multivariate Time Series
ID_Doc 59799
Authors Toor A.A.; Lin J.-C.; Gran E.G.
Year 2025
Published Internet of Things (The Netherlands), 33
DOI http://dx.doi.org/10.1016/j.iot.2025.101664
Abstract Internet of Things (IoT) based smart devices are gradually becoming part of daily lives through their increasing usage in industry, healthcare, agriculture, environmental monitoring, energy, transportation, and smart cities, buildings, and homes. IoT devices generate fast-paced time-bound data known as time series. Time series often contain anomalies, i.e., unusual patterns or deviations from the norm, that can disrupt services and must be detected quickly. Many researchers have tried to detect unlabeled anomalies by employing unsupervised online anomaly detection approaches based on Recurrent Neural Networks (RNN). RNNs are specially designed to process sequential data. However, selecting the right type of RNN and appropriate hyperparameters for a specific data domain is challenging. Another challenge in the online processing of time series is to pick out an appropriate sliding window size, that is small enough to process the incoming data in a limited time and large enough to capture the underlying deviations in the data. This study extends the Unsupervised Online Contextual Anomaly Detection (UoCAD) approach to overcome these challenges by proposing UoCAD2. UoCAD2 conducts hyperparameter optimization on six RNN variants in an offline phase and uses fine-tuned hyperparameters to detect anomalies during the online phase. The experiments evaluate the proposed framework on three IoT datasets containing contextual anomalies. Precision, Recall, F1 score, and detection time are the evaluation metrics used in this study. This study recommends selecting the best combination of RNN-based models, optimal hyperparameters, and window sizes for contextual anomaly detection in multivariate time series data. © 2025 The Authors
Author Keywords Hyperparameter optimization; Internet of Things; Long Short-Term Memory (LSTM); Online unsupervised learning; Recurrent Neural Network (RNN); Sliding window; Time series anomaly detection


Similar Articles


Id Similarity Authors Title Published
1384 View0.887He J.; Dong M.; Bi S.; Zhao W.; Liao X.A Deep Neural Network For Anomaly Detection And Forecasting For Multivariate Time Series In Smart City9th IEEE International Conference on Cyber Technology in Automation, Control and Intelligent Systems, CYBER 2019 (2019)
22095 View0.882Hao J.; Chen P.; Chen J.; Li X.Effectively Detecting And Diagnosing Distributed Multivariate Time Series Anomalies Via Unsupervised Federated HypernetworkInformation Processing and Management, 62, 4 (2025)
9617 View0.858Bachechi C.; Rollo F.; Po L.; Quattrini F.Anomaly Detection In Multivariate Spatial Time Series: A Ready-To-Use ImplementationInternational Conference on Web Information Systems and Technologies, WEBIST - Proceedings, 2021-October (2021)
23843 View0.853Kirubavathi G.; Pulliyasseri A.; Rajesh A.; Ajayan A.; Alfarhood S.; Safran M.; Alfarhood M.; Shin J.Enhancing Iot Resilience At The Edge: A Resource-Efficient Framework For Real-Time Anomaly Detection In Streaming DataCMES - Computer Modeling in Engineering and Sciences, 143, 3 (2025)
6743 View0.85Zhu H.; Liu S.; Jiang F.Adversarial Training Of Lstm-Ed Based Anomaly Detection For Complex Time-Series In Cyber-Physical-Social SystemsPattern Recognition Letters, 164 (2022)
3214 View0.85Zhang J.; Wang X.; Yang Y.; Miao H.; Yang S.A Novel Anomaly Detection Method For Multivariate Time Series Based On Spatial-Temporal Graph LearningJournal of King Saud University - Computer and Information Sciences, 37, 1 (2025)