A convolutional neural network intrusion detection method based on data imbalance

被引:9
|
作者
Gan, Baiqiang [1 ]
Chen, Yuqiang [2 ]
Dong, Qiuping [3 ]
Guo, Jianlan [2 ]
Wang, Rongxia [1 ]
机构
[1] Guangzhou Nanyang Polytech, Sch Informat Engn, Conghua 510900, Peoples R China
[2] Dongguan Polytech, Dept Comp Engn, Dongguan 523808, Peoples R China
[3] Guangdong Yunfu Vocat Coll Tradit Chinese Med, Yunfu 527300, Peoples R China
来源
JOURNAL OF SUPERCOMPUTING | 2022年 / 78卷 / 18期
关键词
Unbalanced dataset; CNN; Intrusion detection; Gradient coordination mechanism; Focal loss; LEARNING ALGORITHM; DETECTION SYSTEM;
D O I
10.1007/s11227-022-04633-x
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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
页数:34
相关论文
共 50 条
  • [1] A convolutional neural network intrusion detection method based on data imbalance
    Baiqiang Gan
    Yuqiang Chen
    Qiuping Dong
    Jianlan Guo
    Rongxia Wang
    [J]. The Journal of Supercomputing, 2022, 78 : 19401 - 19434
  • [2] Intrusion detection method based on a deep convolutional neural network
    Zhang, Sicong
    Xie, Xiaoyao
    Xu, Yang
    [J]. Qinghua Daxue Xuebao/Journal of Tsinghua University, 2019, 59 (01): : 44 - 52
  • [3] A Hybrid Intrusion Detection Method Based on Convolutional Neural Network and AdaBoost
    Wu, Zhijun
    Li, Yuqi
    Yue, Meng
    [J]. CHINA COMMUNICATIONS, 2024, : 1 - 10
  • [4] A Hybrid Intrusion Detection Method Based on Convolutional Neural Network and AdaBoost
    Wu Zhijun
    Li Yuqi
    Yue Meng
    [J]. China Communications., 2024, 21 (11) - 189
  • [5] A Network Intrusion Detection Model Based on Convolutional Neural Network
    Tao, Wenwei
    Zhang, Wenzhe
    Hu, Chao
    Hu, Chaohui
    [J]. SECURITY WITH INTELLIGENT COMPUTING AND BIG-DATA SERVICES, 2020, 895 : 771 - 783
  • [6] A network intrusion detection system based on convolutional neural network
    Wang, Hui
    Cao, Zijian
    Hong, Bo
    [J]. JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2020, 38 (06) : 7623 - 7637
  • [7] Animal Intrusion Detection Based on Convolutional Neural Network
    Xue, Wenling
    Jiang, Ting
    Shi, Jiong
    [J]. 2017 17TH INTERNATIONAL SYMPOSIUM ON COMMUNICATIONS AND INFORMATION TECHNOLOGIES (ISCIT), 2017,
  • [8] An Intrusion Detection System Based on Convolutional Neural Network
    Liu, Pengju
    [J]. PROCEEDINGS OF 2019 11TH INTERNATIONAL CONFERENCE ON COMPUTER AND AUTOMATION ENGINEERING (ICCAE 2019), 2019, : 62 - 67
  • [9] A Network Intrusion Detection Method Based on Deep Multi-scale Convolutional Neural Network
    Xiaowei Wang
    Shoulin Yin
    Hang Li
    Jiachi Wang
    Lin Teng
    [J]. International Journal of Wireless Information Networks, 2020, 27 : 503 - 517
  • [10] A Network Intrusion Detection Method Based on Deep Multi-scale Convolutional Neural Network
    Wang, Xiaowei
    Yin, Shoulin
    Li, Hang
    Wang, Jiachi
    Teng, Lin
    [J]. INTERNATIONAL JOURNAL OF WIRELESS INFORMATION NETWORKS, 2020, 27 (04) : 503 - 517