School of Information Engineering, North China University of Water Resources and Electric Power, Zhengzhou 450046, China.
Sensors (Basel). 2023 Jul 6;23(13):6206. doi: 10.3390/s23136206.
The development of internet technology has brought us benefits, but at the same time, there has been a surge in network attack incidents, posing a serious threat to network security. In the real world, the amount of attack data is much smaller than normal data, leading to a severe class imbalance problem that affects the performance of classifiers. Additionally, when using CNN for detection and classification, manual adjustment of parameters is required, making it difficult to obtain the optimal number of convolutional kernels. Therefore, we propose a hybrid sampling technique called Borderline-SMOTE and Gaussian Mixture Model (GMM), referred to as BSGM, which combines the two approaches. We utilize the Quantum Particle Swarm Optimization (QPSO) algorithm to automatically determine the optimal number of convolutional kernels for each one-dimensional convolutional layer, thereby enhancing the detection rate of minority classes. In our experiments, we conducted binary and multi-class experiments using the KDD99 dataset. We compared our proposed BSGM-QPSO-1DCNN method with ROS-CNN, SMOTE-CNN, RUS-SMOTE-CNN, RUS-SMOTE-RF, and RUS-SMOTE-MLP as benchmark models for intrusion detection. The experimental results show the following: (i) BSGM-QPSO-1DCNN achieves high accuracy rates of 99.93% and 99.94% in binary and multi-class experiments, respectively; (ii) the precision rates for the minority classes R2L and U2R are improved by 68% and 66%, respectively. Our research demonstrates that BSGM-QPSO-1DCNN is an efficient solution for addressing the imbalanced data issue in this field, and it outperforms the five intrusion detection methods used in this study.
互联网技术的发展给我们带来了好处,但同时,网络攻击事件也急剧增加,对网络安全构成了严重威胁。在现实世界中,攻击数据的数量远远小于正常数据,导致分类器的性能受到严重的类不平衡问题的影响。此外,在使用 CNN 进行检测和分类时,需要手动调整参数,很难获得最佳的卷积核数量。因此,我们提出了一种混合抽样技术,称为边界-SMOTE 和高斯混合模型(GMM),简称 BSGM,它结合了这两种方法。我们利用量子粒子群优化(QPSO)算法自动确定每个一维卷积层的最佳卷积核数量,从而提高少数类别的检测率。在我们的实验中,我们使用 KDD99 数据集进行了二进制和多类实验。我们将我们提出的 BSGM-QPSO-1DCNN 方法与 ROS-CNN、SMOTE-CNN、RUS-SMOTE-CNN、RUS-SMOTE-RF 和 RUS-SMOTE-MLP 作为基准模型进行入侵检测进行了比较。实验结果表明:(i)BSGM-QPSO-1DCNN 在二进制和多类实验中分别达到了 99.93%和 99.94%的高精度;(ii)少数类 R2L 和 U2R 的精度分别提高了 68%和 66%。我们的研究表明,BSGM-QPSO-1DCNN 是解决该领域不平衡数据问题的有效解决方案,并且优于本研究中使用的五种入侵检测方法。