Real-Time Network Traffic Anomaly Detection Using Spiking Neural Networks (SNNs) with Adaptive Learning

Document Type : Original Article

Author

Department of Electrical Engineering and Information Technology, Iranian Research Organization for Science and Technology (IROST)

10.22080/cste.2025.28763.1016

Abstract

This paper presents a novel real-time intrusion detection framework that leverages Spiking Neural Networks (SNNs) for detecting anomalies and cyberattacks in network traffic. Inspired by the biological functioning of the brain, SNNs process information using discrete spikes over time, enabling efficient handling of spatiotemporal patterns in traffic data. The proposed approach dynamically adapts to new and evolving attack strategies through Spike-Timing-Dependent Plasticity (STDP), a biologically inspired learning mechanism that adjusts synaptic weights based on the precise timing of neuron activations. This adaptability allows the system to detect zero-day attacks without requiring frequent retraining, a key advantage over traditional machine learning and deep learning models.

The proposed system was evaluated using well-established cybersecurity datasets, NSL-KDD and CIC-IDS2017, covering a broad spectrum of attack types, including DDoS, brute force attacks, infiltration attempts, and port scanning. Comparative experiments demonstrate that the SNN-based detection system consistently outperforms traditional models, such as Random Forest, Support Vector Machines (SVM), and conventional deep learning architectures, in terms of detection accuracy, adaptability, and computational efficiency. The system achieves high detection accuracy while maintaining low false positive rates and significantly reducing detection time, making it highly suitable for real-time deployment in modern network environments.
This research highlights the potential of neuromorphic computing in the field of cybersecurity, offering a scalable, adaptive, and energy-efficient solution for intrusion detection in evolving network infrastructures.

Keywords


Volume 2, Issue 2
May 2025
Pages 17-22
  • Receive Date: 05 March 2025
  • Accept Date: 16 April 2025
  • First Publish Date: 01 May 2025
  • Publish Date: 01 May 2025