Smart City Gnosys

Smart city article details

Title Swiniot: A Hierarchical Transformer-Based Framework For Behavioral Anomaly Detection In Iot-Driven Smart Cities
ID_Doc 54151
Authors Mancy H.; Naith Q.H.
Year 2025
Published IEEE Access, 13
DOI http://dx.doi.org/10.1109/ACCESS.2025.3551207
Abstract Internet of Things (IoT) devices become more and more important because they are useful in different applications, for example, traffic monitoring, public safety, and environmental management. However, the vastness and diversity of IoT data and the requirement for real-time decision-making create a big challenge for anomaly detection frameworks. In this work, we propose SwinIoT, a new framework with hierarchical and windowed attention mechanisms of Swin Transformer that is especially good for the purpose of behavioral anomaly detection in IoT settings. SwinIoT would solve important problems of class imbalance, noisy data, and heterogeneous devices through the introduction of custom attention models embedding real-time optimizations. The proposed framework was benchmarked on nine datasets such as ARAS, CASAS, WESAD, and UCF Crime compared to the above-mentioned state-of-the-art algorithms like Active Learning-Based Anomaly Detection, Deep Support Vector Data Description (DSVDD), Deep Support Vector Data Description Contractive Autoencoder (DSVDD-CAE), and Federated Principal Component Analysis (FedPCA). It is proven to be better than the above algorithms by attaining up to 96% accuracy, 97% Mean Average Precision (mAP), and excellent Area Under the Receiver Operating Characteristic curve (AUC-ROC) as well as Precision-Recall (PR) metrics, especially in low-resource and unbalanced data scenarios. The results indicate the potential of SwinIoT in scalable and accurate anomaly detection to the development of safer, smarter cities, ensuring reliability and security in critical systems. © 2013 IEEE.
Author Keywords Behavioral detection; edge computing; IoT anomaly detection; real-time machine learning; smart city surveillance; swin transformer


Similar Articles


Id Similarity Authors Title Published
17981 View0.886Himdi T.; Ishaque M.Deep Learning-Enhanced Anomaly Detection For Iot Security In Smart CitiesARPN Journal of Engineering and Applied Sciences, 19, 6 (2024)
7014 View0.884Reis M.J.C.S.Ai-Driven Anomaly Detection For Securing Iot Devices In 5G-Enabled Smart CitiesElectronics (Switzerland), 14, 12 (2025)
33620 View0.875Villegas-Ch W.; Govea J.; Jaramillo-Alcazar A.Iot Anomaly Detection To Strengthen Cybersecurity In The Critical Infrastructure Of Smart CitiesApplied Sciences (Switzerland), 13, 19 (2023)
7367 View0.871Albulayhi K.; Sheldon F.T.An Adaptive Deep-Ensemble Anomaly-Based Intrusion Detection System For The Internet Of Things2021 IEEE World AI IoT Congress, AIIoT 2021 (2021)
23834 View0.871Al-Atawi A.A.Enhancing Internet Of Smart City Security: Utilizing Logistic Boosted Algorithms For Anomaly Detection And Cyberattack PreventionSN Computer Science, 5, 5 (2024)
33032 View0.868Dawoud A.; Sianaki O.A.; Shahristani S.; Raun C.Internet Of Things Intrusion Detection: A Deep Learning Approach2020 IEEE Symposium Series on Computational Intelligence, SSCI 2020 (2020)
9599 View0.867Asghari A.; Bergantin F.; Forestiero A.; MacRi D.Anomalous Behaviors Detection Of Iot Devices Through Ai-Based MethodologiesProceedings 7th IC2IE 2024 - 2024 International Conference of Computer and Informatics Engineering: Generative AI in Democratizing Access to Knowledge and Skills (2024)
6497 View0.865Goyal H.R.; Husain S.O.; Dixit K.K.; Boob N.S.; Reddy B.R.; Kumar J.; Sharma S.Advanced Deep Learning Approaches For Real-Time Anomaly Detection In Iot EnvironmentsProceedings of International Conference on Contemporary Computing and Informatics, IC3I 2024 (2024)
43509 View0.864Hasani Z.; Krrabaj S.; Krasniqi M.Proposed Model For Real-Time Anomaly Detection In Big Iot Sensor Data For Smart CityInternational Journal of Interactive Mobile Technologies, 18, 3 (2024)
6993 View0.861Alhamdi M.J.M.; Lopez-Guede J.M.; AlQaryouti J.; Rahebi J.; Zulueta E.; Fernandez-Gamiz U.Ai-Based Malware Detection In Iot Networks Within Smart Cities: A SurveyComputer Communications, 233 (2025)