Open Access iconOpen Access

ARTICLE

crossmark

Strengthening Network Security: Deep Learning Models for Intrusion Detection with Optimized Feature Subset and Effective Imbalance Handling

by Bayi Xu1, Lei Sun2,*, Xiuqing Mao2, Chengwei Liu3, Zhiyi Ding2

1 School of Cyber Science and Engineering, Zhengzhou University, Zhengzhou, 450000, China
2 Three Academy, Information Engineering University, Zhengzhou, 450001, China
3 The 3rd Research Department, Nanjing Research Institute of Electronic Engineering, Nanjing, 210007, China

* Corresponding Author: Lei Sun. Email: email

Computers, Materials & Continua 2024, 78(2), 1995-2022. https://doi.org/10.32604/cmc.2023.046478

Abstract

In recent years, frequent network attacks have highlighted the importance of efficient detection methods for ensuring cyberspace security. This paper presents a novel intrusion detection system consisting of a data preprocessing stage and a deep learning model for accurately identifying network attacks. We have proposed four deep neural network models, which are constructed using architectures such as Convolutional Neural Networks (CNN), Bi-directional Long Short-Term Memory (BiLSTM), Bidirectional Gate Recurrent Unit (BiGRU), and Attention mechanism. These models have been evaluated for their detection performance on the NSL-KDD dataset.To enhance the compatibility between the data and the models, we apply various preprocessing techniques and employ the particle swarm optimization algorithm to perform feature selection on the NSL-KDD dataset, resulting in an optimized feature subset. Moreover, we address class imbalance in the dataset using focal loss. Finally, we employ the BO-TPE algorithm to optimize the hyperparameters of the four models, maximizing their detection performance. The test results demonstrate that the proposed model is capable of extracting the spatiotemporal features of network traffic data effectively. In binary and multiclass experiments, it achieved accuracy rates of 0.999158 and 0.999091, respectively, surpassing other state-of-the-art methods.

Keywords


Cite This Article

APA Style
Xu, B., Sun, L., Mao, X., Liu, C., Ding, Z. (2024). Strengthening network security: deep learning models for intrusion detection with optimized feature subset and effective imbalance handling. Computers, Materials & Continua, 78(2), 1995-2022. https://doi.org/10.32604/cmc.2023.046478
Vancouver Style
Xu B, Sun L, Mao X, Liu C, Ding Z. Strengthening network security: deep learning models for intrusion detection with optimized feature subset and effective imbalance handling. Comput Mater Contin. 2024;78(2):1995-2022 https://doi.org/10.32604/cmc.2023.046478
IEEE Style
B. Xu, L. Sun, X. Mao, C. Liu, and Z. Ding, “Strengthening Network Security: Deep Learning Models for Intrusion Detection with Optimized Feature Subset and Effective Imbalance Handling,” Comput. Mater. Contin., vol. 78, no. 2, pp. 1995-2022, 2024. https://doi.org/10.32604/cmc.2023.046478



cc Copyright © 2024 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 917

    View

  • 477

    Download

  • 0

    Like

Share Link