Cognitive Cybersecurity via Bio-Inspired Intelligence: A Starling Flock Optimized Spiking Neural Network for Resilient Mobile Threat Detection
DOI:
https://doi.org/10.14513/actatechjaur.00948Keywords:
Intrusion Detection System, Spiking Neural Networks, Starling Flock Optimization Algorithm, Mobility Network Traffic data, Feature dimensionality, Cognitive environmentAbstract
Real-time threat detection is critical for guaranteeing mobility systems in cognitive environments to function with little disruption. Through monitoring user behavior, system logs, and network traffic, such systems depend on sophisticated analytics and machine learning. This paper presents a new Intrusion Detection System (IDS) architecture leveraging a Spiking Neural Network (SNN) as a classifier and the Starling Flock Optimization Algorithm (SFOA) as a feature selector on the NSL-KDD dataset. The main objective is to enhance the accuracy of classification while lowering feature dimensionality and computational cost for effective real-time detection. SFOA, stimulated by starling flock behavior, dynamically chooses best feature subsets with balance between relevance and redundancy. The SNN, in turn, simulates biological neurons and processes these best features by mapping them into temporal spike trains, employing event-driven processing and Spike-Timing-Dependent Plasticity (STDP) for detailed pattern detection. Our developed model shows excellent performance with accuracy of 99.02%, precision of 98.9%, recall of 99.18%, and a 99.04% F1-score, outperforming SVM, Random Forest, CNN, LSTM, and Transformer models. Based on only 18 chosen features, the model has an extremely fast inference time of 2.3 ms, which is perfect for real-time usage. Comparatives also confirm SFOA is superior to PSO, GWO, ACO, and DE in terms of convergence rate and feature compactness. Ablation experiments validate that SFOA, spike encoding, and STDP learning are all essential to the model's performance, making this hybrid architecture a scalable and energy-efficient solution for sophisticated intrusion detection.
Downloads
References
Aminu, M., Akinsanya, A., Dako, D. A., & Oyedokun, O.: Enhancing cyber threat detection through real-time threat intelligence and adaptive defense mechanisms. International Journal of Computer Applications Technology and Research, 13 (8) (2024) pp. 11-27. https://doi.org/10.7753/IJCATR1308.1002
Danish, M.: Enhancing Cyber Security through Predictive Analytics: Real-Time Threat Detection and Response. arXiv preprint, 2024. https://doi.org/10.48550/arXiv.2407.10864
Ofoegbu, K. D. O., Osundare, O. S., Ike, C. S., Fakeyede, O. G., & Ige, A. B.: Real-Time Cybersecurity threat detection using machine learning and big data analytics: A comprehensive approach. Computer Science & IT Research Journal, 4 (3) (2024). https://doi.org/10.51594/csitrj.v4i3.1500
Anusuya, V. S., Baswaraju, S., Thirumalraj, A., & Nedumaran, A.: Securing the MANET by detecting the intrusions using CSO and XGBoost model. In Intelligent Systems and Industrial Internet of Things for Sustainable Development (2024) pp. 219-234. Chapman and Hall/CRC.
Akinbolaji, T. J.: Advanced integration of artificial intelligence and machine learning for real-time threat detection in cloud computing environments. Iconic Research and Engineering Journals, 6 (10) (2024) pp. 980-991. https://doi.org/10.5281/zenodo.13963676
Manda, J. K.: AI-powered Threat Intelligence Platforms in Telecom: Leveraging AI for Real-time Threat Detection and Intelligence Gathering in Telecom Network Security Operations, 2024. https://dx.doi.org/10.2139/ssrn.5003638
Srinivasan, V., Raj, V. H., Thirumalraj, A., & Nagarathinam, K.: Original Research Article Detection of Data imbalance in MANET network based on ADSY-AEAMBi-LSTM with DBO Feature selection. Journal of Autonomous Intelligence, 7(4) (2024) 1094. https://doi.org/10.32629/jai.v7i4.1094
Ojo, B., & Aghaunor, C. T.: AI-driven cybersecurity solutions for real-time threat detection in critical infrastructure. International Journal of Science and Research Archive, 12 (02) (2024) pp. 1716-1726. https://doi.org/10.30574/ijsra.2024.12.2.1401
Hamidouche, M., Demissie, B. F., & Cherif, B.: Real-time Threat Detection Strategies for Resource-constrained Devices. In 2024 20th International Conference on Distributed Computing in Smart Systems and the Internet of Things (DCOSS-IoT), 2024, pp. 211-218. IEEE. https://doi.org/10.48550/arXiv.2403.15078
Gujar, S. S.: Real-Time Threat Detection and Response Using AI for Securing Critical Infrastructure. In 2024 Global Conference on Communications and Information Technologies (GCCIT), 2024, pp. 1-7. IEEE. https://doi.org/10.1109/GCCIT63234.2024.10862978
Wu, Z., Feng, E., & Zhang, Z.: Temporal-Contextual Behavioral Analytics for Proactive Cloud Security Threat Detection. Academia Nexus Journal, 3 (2) (2024) pp. 145–158.
Vadisetty, R., & Polamarasetti, A.: Enhancing Intrusion Detection Systems with Deep Learning and Machine Learning Algorithms for Real-Time Threat Classification. In 2024 Asian Conference on Intelligent Technologies (ACOIT), 2024, pp. 1-6. IEEE. https://doi.org/10.1109/ACOIT62457.2024.10939322
Purohit, S., Mishra, N., Yang, T., Singh, R., Mo, D., & Wang, L.: Real-Time Threat Detection and Response Using Computer Vision in Border Security. In 2024 International Conference on Intelligent Algorithms for Computational Intelligence Systems (IACIS), 2024, pp. 1-6. IEEE. https://doi.org/10.1109/iacis61494.2024.10722010
Rahmawati, T., Karna, N., Shin, S. Y., Adi, M., & Putra, P.: Enhancing Network Security Through Real-Time Threat Detection with Intrusion Prevention System (Case Study on Web Attack). 10 (2024) pp. 1004-1020. https://doi.org/10.26555/jiteki.v10i4.30380
Chell, S., Chakare, S., Sohan, P., & Sandosh, S.: Real-Time Threat Detection and Mitigation in Web API Development. In 2024 International Conference on Electrical Electronics and Computing Technologies (ICEECT) 1 (1) (2024) pp. 1-9. IEEE. https://doi.org/10.1109/ICEECT61758.2024.10739333
Mahomed, A. S., and Saha, A. K.: Unleashing the Potential of 5G for Smart Cities: A Focus on Real-Time Digital Twin Integration. Smart Cities, 8 (2) (2025) 70. https://doi.org/10.3390/smartcities8020070
Zeng, L., An, Y., Zhou, H., Luo, Q., Lin, Y., & Zhang, Z.: A Hybrid Machine Learning‐Based Data‐Centric Cybersecurity Detection in the 5G‐Enabled IoT. Security and Privacy, 8 (2) (2025) e472.
Sharma, A., Sharma, A., Raju, K. N., Keshta, I., & Guo, K.: Synergistic Integration of 5G-enabled Cloud Native Infrastructures With Advanced Technologies for Urban Safety Enhancement. IEEE Transactions on Consumer Electronics, 2025. https://doi.org/10.1109/TCE.2025.3560133
Akhtar, M. M., Alasmari, S. A., Haidar, S. K., & Alzubaidi, A. A.: Distributed denial of service attack detection and mitigation strategy in 5G-enabled internet of things networks with adaptive cascaded gated recurrent unit. Peer-to-Peer Networking and Applications, 18 (2) (2025) pp. 1-31. https://doi.org/10.1007/s12083-024-01894-6
Hakeem, S. A. A., & Kim, H.: Advancing Intrusion Detection in V2X Networks: A Comprehensive Survey on Machine Learning, Federated Learning, and Edge AI for V2X Security. IEEE Transactions on Intelligent Transportation Systems, 2025. https://doi.org/10.1109/TITS.2025.3558849
Iftikhar, N., Rehman, M. U., Shah, M. A., Alenazi, M. J., & Ali, J.: Intrusion Detection in NSL-KDD Dataset Using Hybrid Self-Organizing Map Model. CMES-Computer Modeling in Engineering and Sciences, 143 (1) (2025) pp. 639-671
Barabás, I., Iclodean, C., & Zöldy, M.: Intelligent Sensors for Smart and Autonomous Vehicles. Sensors, 25 (21) (2025) 6584.
Sevgi Ostim, A. S., Kadioğlu Ostim, A. M., & Durmuş Ostim, A.: Using of Robotic Systems in Transportation. In: Zöldy, M. (Ed.), Proceedings of the 3rd Cognitive Mobility Conference (COGMOB 2024) (Lecture Notes in Networks and Systems, 1258 (2025) pp. 458–468). Springer, Cham. https://doi.org/10.1007/978-3-031-81799-1_42
Tollner, D., Wang, Z., Zöldy, M., & Török, Á.: Demonstrating a new evaluation method on ReLU based Neural Networks for classification problems. Expert Systems with Applications, 250 (2024) 123905.
Benedek, B., & Coleșa, A.: CANComa: Shutdown Attack on Automotive Control Units over Controller Area Network. Proceedings of the 3rd Cognitive Mobility Conference (COGMOB 2024), Lecture Notes in Networks and Systems, 1258 (2025) pp. 361–373. https://doi.org/10.1007/978-3-031-81799-1_33
Nagy, R., Pethő, Z., Török, Á.: Effective Anomaly Intrusion Detection System Based on ML Methods in Vehicular Networks. In: Zöldy, M. (eds) Proceedings of the 3rd Cognitive Mobility Conference. COGMOB 2024. Lecture Notes in Networks and Systems, 1258 (2025) pp. 334–343. https://doi.org/10.1007/978-3-031-81799-1_31
Zöldy, M., Csete, M. S., Kolozsi, P. P., Bordas, P., & Török, Á.: Cognitive Sustainability. Cognitive Sustainability, 1 (1) (2022). https://doi.org/10.55343/CogSust.7
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Acta Technica Jaurinensis

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

