Design and implementation of Network Intrusion Detection System (NIDS) based on neural network model
More details
Hide details
1
Henan College of Transportation, Zhengzhou 451460, China
Submission date: 2025-09-15
Final revision date: 2026-07-08
Acceptance date: 2026-07-15
Online publication date: 2026-07-15
Publication date: 2026-07-15
Corresponding author
Baoxing Xie
Henan College of Transportation, Zhengzhou 451460
KEYWORDS
TOPICS
ABSTRACT
As network security issues become increasingly severe, the complexity and concealment of network attacks continue to increase, and the need for a reliable network intrusion detection system (NIDS) is imminent. This study is dedicated to solving this problem and proposes a unique NIDS based on neural networks. The Transformer encoder is integrated into the traditional neural network architecture, and a convolutional neural network (CNN) is applied to extract features, building a model that can process complex network traffic data more efficiently. After a series of rigorous experimental verifications, the model shines in performance. In terms of key indicators such as accuracy, recall, and precision, it significantly surpasses traditional models and other common neural network models. Regardless of the network bandwidth, attack frequency, or data set size, it shows excellent adaptability and stability. Especially when dealing with class imbalanced data sets, the model's detection ability for minority attacks has been effectively improved, providing a more solid guarantee for network security protection and injecting new vitality into the development of network intrusion detection technology.
FUNDING
This study did not receive external funding.
REFERENCES (21)
1.
Tian WX, Shen YP, Guo N, Yuan J, Yang YQ. VAE-WACGAN: An improved data augmentation method based on VAEGAN for intrusion detection. Sensors. 2024; 24(18).
https://doi.org/10.3390/s24186....
2.
Yu J, Ye XJ, Li HB. A high precision intrusion detection system for network security communication based on multi-scale convolutional neural network. Future Generation Computer Systems-the International Journal of Escience .2022; 129:399-406.
https://doi.org/10.1016/j.futu....
3.
Luo J, Zhang YY, Wu YN, Xu Y, Guo XY, Shang BX. A multi-channel contrastive learning network based intrusion detection method. Electronics. 2023;12(4).
https://doi.org/10.3390/electr....
4.
Chellammal P, Malarchelvi SK, Reka K, Raja G. Fast and effective intrusion detection using multi-layered deep learning networks. International Journal of Web Services Research. 2022;19(1).
https://doi.org/10.4018/ijwsr.....
5.
Fang WJ, Tan XL, Wilbur D. Research on machine learning method and its application technology in intrusion information security detection. Journal of Intelligent & Fuzzy Systems. 2020; 38(2):1549-58.
https://doi.org/10.3233/jifs-1....
6.
Hu XY, Gao WJ, Cheng G, Li RD, Zhou YY, Wu H. Toward early and accurate network intrusion detection using graph embedding. IEEE Transactions on Information Forensics and Security. 2023; 18:5817-31.
https://doi.org/10.1109/tifs.2....
7.
Fan ZJ, Cao ZW. Method of network intrusion discovery based on convolutional long-short term memory network and implementation in VSS. IEEE Access. 2021; 9:122744-53.
https://doi.org/10.1109/access....
9.
Zou L, Luo XM, Zhang Y, Yang X, Wang XW. HC-DTTSVM: A network intrusion detection method based on decision tree twin support vector machine and hierarchical clustering. IEEE Access. 2023; 11: 21404-16.
https://doi.org/10.1109/access....
10.
Sun Y, Que HK, Cai QQ, Zhao JM, Li JR, Kong ZM, et al. Borderline SMOTE algorithm and feature selection-based network anomalies detection strategy. Energies. 2022; 15(13).
https://doi.org/10.3390/en1513... .
11.
Zuo XJ, Chen Z, Dong LM, Chang J, Hou BT. Power information network intrusion detection based on data mining algorithm. Journal of Supercomputing. 2020; 76(7):5521-39.
https://doi.org/10.1007/s11227... -2.
12.
Wan XH, Xue G, Zhong YM, Wang ZC. Separating prediction and explanation: an approach based on explainable artificial intelligence for analyzing network intrusion. Journal of Network and Systems Management. 2025; 33(1).
https://doi.org/10.1007/s10922... -09891-z.
13.
Wang H, Cao ZJ, Hong B. A network intrusion detection system based on convolutional neural network. Journal of Intelligent & Fuzzy Systems. 2020; 38(6):7623-37.
https://doi.org/10.3233/jifs-1....
14.
Wang YW, Xu L, Liu WL, Li RZ, Gu JJ. Network intrusion detection based on explainable artificial intelligence. Wireless Personal Communications. 2023;131(2):1115-30.
https://doi.org/10.1007/s11277....
15.
Ayyagari MR, Kesswani N, Kumar M, Kumar K. Intrusion detection techniques in network environment: a systematic review. Wireless Networks. 2021;27(2):1269-85.
https://doi.org/10.1007/s11276....
16.
Spiekermann D, Eggendorfer T, Keller J. Deep learning for network intrusion detection in virtual networks. Electronics. 2024;13(18).
https://doi.org/10.3390/electr....
17.
Geng ZQ, Li XM, Ma B, Han YM. Improved convolution neural network integrating attention based deep sparse auto encoder for network intrusion detection. Applied Intelligence 2025; 55(2).
https://doi.org/10.1007/s10489....
18.
Qazi EU, Faheem MH, Zia T. HDLNIDS: Hybrid deep-learning-based network intrusion detection system. Applied Sciences-Basel. 2023;13(8).
https://doi.org/10.3390/app130....
19.
Wang YL, Li J, Zhao W, Han ZJ, Zhao H, Wang L, et al. N-STGAT: Spatio-temporal graph neural network based network intrusion detection for near-earth remote sensing. Remote Sensing. 2023;15(14).
https://doi.org/10.3390/rs1514....
20.
Babu DS, Ramakrishnan M. Enhanced lion optimization algorithm and deep belief network for intrusion detection with SDN enabled IoT networks. Journal of Intelligent & Fuzzy Systems. 2023;45(4): 6605-15.
https://doi.org/10.3233/jifs-2....