Research Article Open Access

Advanced Hierarchical Deep Learning Approach for Intrusion Detection: Hyperparameter Tuning and Performance Evaluation on the CICIDS Dataset

Ajeet Singh1, Azath M1, Shahazad Niwazi Qurashi2, Sathish Kumar Kong3, Alok Katariya1, Badrih Mousa Milihe2 and Farrukh Sobia2
  • 1 School of Computer Science and Engineering, Galgotias University, Greater Noida, Uttar Pradesh, India
  • 2 Department of Public Health College of Nursing and Health Sciences, Jazan University, Jazan, Saudi Arabia
  • 3 Department of Computer Science, Chaitanya (Deemed to be) University, Hanamkonda, Telangana, India

Abstract

Intrusion Detection Systems (IDS) are essential in the communication security and integrity of contemporary network architectures. This study introduces a novel advanced hierarchical deep learning model for network intrusion detection using the CICIDS dataset-2019. To improve the detection accuracy, the proposed model architecture builds several deep learning layers embedded with hyperparameters' optimization. Additional preprocessing steps, including over-sampling and min-max scaling, as well as feature selection via Random Forest, were applied to enhance the models' ability to generalize good performance. The chosen performance indices, precision, recall, F1-score, and accuracy, clearly reflect the model stability: Accuracy = 0.98 on 40k test samples. Operations of the confusion matrix also provided a high level of support to the model precision and recall for benign and attack classes. In the same token, ROC and precision-recall curves further provided validation of the model for the differentiation between normal and anomalous behaviours. The evaluation of feature importance, based on the model, included decisions about which elements of network intrusion were most relevant and called for improvement.

Journal of Computer Science
Volume 21 No. 11, 2025, 2692-2699

DOI: https://doi.org/10.3844/jcssp.2025.2692.2699

Submitted On: 9 November 2024 Published On: 26 December 2025

How to Cite: Singh, A., M, A., Qurashi, S. N., Kong, S. K., Katariya, A., Milihe, B. M. & Sobia, F. (2025). Advanced Hierarchical Deep Learning Approach for Intrusion Detection: Hyperparameter Tuning and Performance Evaluation on the CICIDS Dataset. Journal of Computer Science, 21(11), 2692-2699. https://doi.org/10.3844/jcssp.2025.2692.2699

  • 24 Views
  • 5 Downloads
  • 0 Citations

Download

Keywords

  • Intrusion Detection System (IDS)
  • CICIDS-2019 Dataset
  • Random Forest
  • LSTM
  • Feature Selection