A convolutional neural network intrusion detection method based on data imbalance

被引:0
作者
Baiqiang Gan
Yuqiang Chen
Qiuping Dong
Jianlan Guo
Rongxia Wang
机构
[1] Guangzhou Nanyang Polytechnic,School of Information Engineering
[2] Dongguan Polytechnic,Department of Computer Engineering
[3] Guangdong Yunfu Vocational College of Traditional Chinese Medicine,undefined
来源
The Journal of Supercomputing | 2022年 / 78卷
关键词
Unbalanced dataset; CNN; Intrusion detection; Gradient coordination mechanism; Focal loss;
D O I
暂无
中图分类号
学科分类号
摘要
With the rapid development of Internet technology, network attacks occur frequently and numerous hidden dangers appear in network security. Therefore, improving the performance of intrusion detection systems to detect and defend against attacks is the key to ensuring network security. However, in the face of complex and massive network data feature information, traditional machine learning methods suffer from data imbalance and feature redundancy, which results in low detection rates, high false alarm rates and poor real-time performance of intrusion detection systems. Therefore, to address these problems, this paper proposes a data imbalance-based Convolutional Neural Network Intrusion Detection Method (CNN-IDMDI). First, an oversampling method is used to solve the data imbalance problem by decomposing the increased number of samples for the few attacks with multiple sampling to form multiple sub-samples. Second, the gradient coordination mechanism and the improved loss function Focal Loss are combined to calculate the loss between the actual and expected values to detect network malicious attacks in high-dimensional and unbalanced data. Finally, the methods in this paper are compared with the current mainstream intrusion detection methods on the NSL-KDD dataset for binary and multi-classification detection. The experimental results show that the method in this paper can effectively improve the effectiveness of CNN intrusion detection and network anomaly. The average accuracy of the CNN intrusion detection method based on data imbalance for binary intrusion detection is 98.73% and the implementation time of the method is 1.42 s, which is 15.45%, 12.76%, and 2.91% higher than the average accuracy of the CNN, the CNN Long Short-Term Memory (CNN-LSTM) and the CNN Neural-induced Support Vector Machine (CNN-NSVM) methods, respectively, and the detection time is saved by 0.82 s, 0.72 s, and 0.61 s, respectively. The average accuracy of the CNN intrusion detection method based on data imbalance for multi-classification intrusion detection is 94.55% and the time required to complete the detection is 2.96 s. This improves the average accuracy by 16.09%, 12.71%, and 3.66% compared with the CNN, CNN-LSTM and CNN-NSVM methods, respectively. It is also quicker, as the time consumption of CNN is 8.84 s, CNN-LSTM is 8.31 s and CNN-NSVM is 6.43 s. Therefore, the CNN-IDMDI method for intrusion detection proposed in this paper has higher accuracy and faster speed.
引用
收藏
页码:19401 / 19434
页数:33
相关论文
共 122 条
[1]  
Xia LM(2021)A new method of abnormal behavior detection using LSTM network with temporal attention mechanism J Supercomput 77 773223-773241
[2]  
Li ZM(2021)Application of data mining technology in detecting network intrusion and security maintenance J Intell Syst 30 664-676
[3]  
Zhu YK(2022)Cognitive memory-guided autoencoder for effective intrusion detection in internet of things IEEE Trans Industr Inf 18 3358-3366
[4]  
Gaba GS(2022)Optimized fuzzy enabled semi-supervised intrusion detection system for attack prediction Intell Autom Soft Comput 32 1479-1492
[5]  
Almansour FM(2021)Applying TS-DBN model into sports behavior recognition with deep learning approach J Supercomput 77 12192-12208
[6]  
Alroobaea R(2022)A novel approach exploiting properties of convolutional neural networks for vessel movement anomaly detection and classification ISA Trans 119 1-16
[7]  
Masud M(2022)Convolutional neural network based intelligent handwritten document recognition CMC-Comput Mater Contin 70 4563-4581
[8]  
Lu HM(2022)Weighted feature fusion of convolutional neural network and graph attention network for hyperspectral image classification IEEE Trans Image Process 31 1559-1572
[9]  
Wang T(2020)CNID: research of network intrusion detection based on convolutional neural network Discret Dyn Nat Soc 8 175467-175482
[10]  
Xu X(2020)A GBDT-paralleled quadratic ensemble learning for intrusion detection system IEEE Access 38 7623-7637