PON: A Packet-Observation Spiking Neural Network for Header-Based IoT Intrusion Detection
DOI:
https://doi.org/10.4108/eetinis.133.13277Keywords:
IoT intrusion detection, packet-level features, lightweight features, 1D convolution, ternary quantization, CIC-IoT2023Abstract
Intrusion detection in IoT environments requires real-time and lightweight systems to mitigate the computational overhead of deep packet inspection (DPI) at the network-edge. \myhl{This paper proposes PON, a packet-observation spiking neural network (SNN) for IoT intrusion detection using packet headers.} The system operates online at the individual packet-level, incorporating a behavior-adaptive redundancy filter that reduces edge processing traffic volume by over 79 percent. Header features are constructed from 64-byte normalized headers alongside a sliding-window source IP diversity ratio to capture the behaviors of diverse cyber attacks. \myhl{PON performs header-only inference using these features, while payload data are not forwarded to the classifier.} The \myhl{PON} architecture combines 1D convolution with leaky-integrate-and-fire (LIF) neurons and a Sparse Attack Detector (SAD) designed to mitigate temporal spike dilution, thereby boosting rare attack detection. Evaluated on the mixed traffic streams of the CIC-IoT2023 dataset, the proposed SNN model combined with the SAD module reaches a Macro F1 score of 92.48 percent and a detection rate of 90.23 percent, increasing the detection rate on rare attack categories by up to 21.5 percentage points compared to published reference models. Trained ternary quantization (TTQ) reduces the storage footprint from 30.69 KB in float32 format to 13.82 KB in ternary format, achieving a 2.2 fold overall model size reduction by compressing the core spiking weights 16 fold. These results demonstrate that the proposed model provides competitive detection accuracy and high memory efficiency, making it suitable for edge deployment.
Downloads
References
[1] Schmitt M. Securing the digital world: Protecting smart infrastructures and digital industries with arti-ficial intelligence (AI)-enabled malware and intrusion detection. Journal of Industrial Information Integration. 2023 Dec;36:100520.
[2] Ferrag MA, Friha O, Hamouda D, Maglaras L, Janicke H. Edge-IIoTset: A New Comprehensive Realistic Cyber Security Dataset of IoT and IIoT Applications for Centralized and Federated Learning. IEEE Access. 2022;10:40281–40306.
[3] Neto ECP, Dadkhah S, Ferreira R, Zohourian A, Lu R, Ghorbani AA. CICIoT2023: A Real-Time Dataset and Benchmark for Large-Scale Attacks in IoT Environment. Sensors. 2023 June;23(13):5941.
[4] Berman DS, Buczak AL, Chavis JS, Corbett CL. A Survey of Deep Learning Methods for Cyber Security. Information. 2019 Apr;10(4):122.
[5] Khraisat A, Gondal I, Vamplew P, Kamruzzaman J. Survey of intrusion detection systems: techniques, datasets and challenges. Cybersecurity. 2019;2(1).
[6] Wang Z, Chen H, Yang S, Luo X, Li D, Wang J. A lightweight intrusion detection method for IoT based on deep learning and dynamic quantization. PeerJ Computer Science. 2023 Sept;9:e1569.
[7] Abbas S, Bouazzi I, Ojo S, Al Hejaili A, Sampedro GA, Almadhor A, et al. Evaluating deep learning variants for cyber-attacks detection and multi-class classification in IoT networks. PeerJ Computer Science. 2024 Jan;10:e1793.
[8] Djaidja TET, Brik B, Mohammed Senouci S, Boualouache A, Ghamri-Doudane Y. Early Network Intrusion Detection Enabled by Attention Mechanisms and RNNs. IEEE Transactions on Information Forensics and Security. 2024;19:7783–7793.
[9] Kim T, Pak W. Early Detection of Network Intrusions Using a GAN-Based One-Class Classifier. IEEE Access. 2022;10:119357–119367.
[10] Becerra-Suarez FL, Tuesta-Monteza VA, Mejia-Cabrera HI, Arcila-Diaz J. Performance Evaluation of Deep Learning Models for Classifying Cybersecurity Attacks in IoT Networks. Informatics. 2024;11(2):32.
[11] Tseng SM, Wang YQ, Wang YC. Multi-Class Intrusion Detection Based on Transformer for IoT Networks Using CIC-IoT-2023 Dataset. Future Internet. 2024;16(8):284.
[12] Sudyana D, Yudha F, Lin YD, Lai CH, Lin PC, Hwang RH. From Flow to Packet: A Unified Machine Learning Approach for Advanced Intrusion Detection. Security and Communication Networks. 2025 Jan;2025(1).
[13] Doriguzzi-Corin R, Knob LAD, Mendozzi L, Siracusa D, Savi M. Introducing packet-level analysis in pro-grammable data planes to advance Network Intrusion Detection. Computer Networks. 2024 Feb;239:110162.
[14] Schuman CD, Kulkarni SR, Parsa M, Mitchell JP, Date P, Kay B. Exploring Neuromorphic Computing Based on Spiking Neural Networks: Algorithms to Hardware. ACM Computing Surveys. 2022;55(4):1-49.
[15] Roy K, Jaiswal A, Panda P. Towards spike-based machine intelligence with neuromorphic computing. Nature. 2019;575(7784):607-17.
[16] Esser SK, Merolla PA, Arthur JV, Cassidy AS, Appuswamy R, Andreopoulos A, et al. Convolutional networks for fast, energy-efficient neuromorphic computing. Proceedings of the National Academy of Sciences. 2016;113(41):11441-6.
[17] Kim S, Park S, Na B, Yoon S. Spiking-YOLO: Spiking Neural Network for Energy-Efficient Object Detection. arXiv preprint arXiv:190306530. 2019.
[18] Chen G, et al. Spike-based dynamic computing with asynchronous sensing-computing neuromorphic chip. Nature Communications. 2024;15:4297.
[19] Yamazaki K, Vo-Ho VK, Bulsara D, Le N. Spiking Neural Networks and Their Applications: A Review. Brain Sciences. 2022;12(7):863.
[20] Zhou S, Li X. Spiking Neural Networks with Single-Spike Temporal-Coded Neurons for Network Intrusion Detection. In: 2020 25th International Conference on Pattern Recognition (ICPR). IEEE; 2021. p. 8148-55.
[21] Wang Z, Ghaleb FA, Zainal A, Siraj MM, Lu X. An efficient intrusion detection model based on convolutional spiking neural network. Scientific Reports. 2024 Mar;14(1).
[22] Pawar A, Tiwari N. A Novel Approach of DDOS Attack Classification with Genetic Algorithm-optimized Spiking Neural Network. International Journal of Computer Network and Information Security. 2024 Apr;16(2):103-16.
[23] Zhang J, Zhang M, Wang Y, Liu Q, Yin B, Li H, et al. Spiking Neural Networks With Adaptive Membrane Time Constant for Event-Based Tracking. IEEE Transactions on Image Processing. 2025;34:1009-21.
[24] Balafrej I, Bahadi S, Rouat J, Alibart F. Enhancing temporal learning in recurrent spiking networks for neuromorphic applications. Neuromorphic Computing and Engineering. 2025 May;5(2):024008.
[25] Zhu C, Han S, Mao H, Dally WJ. Trained Ternary Quantization. 2016.
[26] Abbott LF. Lapicque’s introduction of the integrate-and-fire model neuron (1907). Brain Research Bulletin. 1999 Nov;50(5-6):303–304.
[27] Burkitt AN. A Review of the Integrate-and-fire Neuron Model: I. Homogeneous Synaptic Input. Biological Cybernetics. 2006 Apr;95(1):1–19.
[28] Neftci EO, Mostafa H, Zenke F. Surrogate Gradient Learning in Spiking Neural Networks: Bringing the Power of Gradient-Based Optimization to Spiking Neural Networks. IEEE Signal Processing Magazine. 2019 Nov;36(6):51–63.
Downloads
Published
Issue
Section
Categories
License
Copyright (c) 2026 Phu Nguyen Phan Hai, Cam Doan Ngoc, Bao Bui Quoc, Trang Hoang

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
This is an open-access article distributed under the terms of the Creative Commons Attribution CC BY 3.0 license, which permits unlimited use, distribution, and reproduction in any medium so long as the original work is properly cited.
