Fine-Tuning CNN-BiGRU for Intrusion Detection with SMOTE Optimization Using Optuna

Authors

  • Asmaa BENCHAMA IMISR Laboratory, Faculty of Science AM, Ibn Zohr University, Agadir, Morocco Author
  • Khalid ZEBBARA IMISR Laboratory, Faculty of Science AM, Ibn Zohr University, Agadir, Morocco Author

DOI:

https://doi.org/10.56294/sctconf2024968

Keywords:

CNN-BIGRU, NSLKDD, NIDS, Smote, Hyper-Parameters Optimizer

Abstract

Network security faces a significant challenge in developing effective models for intrusion detection within network systems. Network Intrusion Detection Systems (NIDS) are vital for protecting network traffic and preempting potential attacks by identifying signatures and rule violations.

This research aims to enhance intrusion detection using Deep learning techniques, particularly by employing the NSLKDD dataset to train and evaluate a hybrid CNN-BiGRU algorithm. Additionally, we utilize the Synthetic Minority Over-sampling Technique (SMOTE) to address imbalanced data and Optuna for fine-tuning the algorithm's parameters specific to NIDS requirements.

The hybrid CNN-BiGRU algorithm is trained and evaluated on the NSLKDD dataset, incorporating SMOTE to tackle imbalanced data issues. Optuna is utilized to optimize the algorithm's parameters for improved performance in intrusion detection.

Experimental results demonstrate that our approach surpasses classical intrusion detection models. Achieving an accuracy rate of 98,83 % on NSLKDD, the proposed model excels in identifying minority attacks while maintaining a low false positive rate.

The findings affirm the efficacy of our proposed approach in network intrusion detection, showcasing its ability to effectively discern patterns in network traffic and outperform traditional models

References

1. Emad E. Abdallah WE. Intrusion Detection Systems using Supervised Machine Learning Techniques. Procedia Computer Science. 2022;Volume 201:Pages 205-212.

2. D S, L S. Sentence level Classification through machine learning with effective feature extraction using deep learning. Salud, Ciencia y Tecnología - Serie de Conferencias. avr 2024;3:702.

3. C. Yin YZ. A Deep Learning Approach for Intrusion Detection Us ing Recurrent Neural Networks,. in IEEE Access, vol 5, pp 21954-21961, 2017, doi: 101109/ACCESS20172762418.

4. Cui J. A novel multi-module integrated intrusion detection system for high-dimensional imbalanced data. Appl Intell 53, 272–288 (2023) https://doi.org/101007/s10489-022-03361-2. 2023.

5. Takuya Akiba, Shotaro Sano, Toshihiko Yanase, Takeru Ohta, Masanori Koyama. Optuna: A Next-generation Hyperparameter Optimization Framework. Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining; 2019; Anchorage, AK, USA.

6. Amir El-Ghamry AD. An optimized CNN-based intrusion detection system for reducing risks in smart farming. Internet of Things. 2023;volume 22.

7. Li Y ZB. An Intrusion Detection Algorithm Based on Deep CNN[J]. Computer Application and Software,37(4):324-328. 2020.

8. Kumar PM, Vedantham K, Selvaraj J, Kavin BP. Enhanced Network Intrusion Detection System Using PCGSO-Optimized BI-GRU Model in AI-Driven Cybersecurity. In: 2024 IEEE 3rd International Conference on AI in Cybersecurity (ICAIC). 2024. p. 1‑6.

9. Kishor P. Jadhav TA. Intrusion Detection System Using Recurrent Neural Network-Long Short-Term Memory. Journal of In telligent Systems and Applications in Engineering, 11(5s), 563–573. 2023.

10. Vinayakumar R, Alazab M, Soman KP, Poornachandran P, Al-Nemrat A, Venkatraman S. Deep learning approach for intelligent intrusion detection system. Ieee Access. 2019;7:41525‑50.

11. Hassan SA, Khalil MA, Auletta F, Filosa M, Camboni D, Menciassi A, et al. Contamination Detection Using a Deep Convolutional Neural Network with Safe Machine—Environment Interaction. Electronics. 2023;12(20):4260.

12. S. ElSayed NALK. A novel hybrid model for intru sion detection systems in sdns based on cnn and a new regularization technique. J Netw Comput Appl, 191 (2021), p 103160, 101016/j.jnca2021103160.

13. M. D. Mauro GG. Experimental review of neural-based approaches for network intrusion management. IEEE Trans Netw Serv Manage, 17 (4) (2020), pp 2480- 2495, 101109/TNSM20203024225.

14. Hao SL. BL-IDS: Detecting Web Attacks Using Bi-LSTM Model Based on Deep Learning. Crossref DOI link: https://doi.org/101007/978-3-030-21373-2_45 Published Online: 2019-06-08 Published Print: 2019.

15. Chen W, Shi K. Multi-scale Attention Convolutional Neural Network for time series classification. Neural Networks. 2021;136:126‑40.

16. Zhang J, Zhang X, Liu Z, Fu F, Jiao Y, Xu F. A Network Intrusion Detection Model Based on BiLSTM with Multi-Head Attention Mechanism. Electronics. 2023;12(19):4170.

17. Song Y, Luktarhan N, Shi Z, Wu H. TGA: A Novel Network Intrusion Detection Method Based on TCN, BiGRU and Attention Mechanism. Electronics. 2023;12(13):2849.

18. Fu Y; D. A Deep Learning Model for Network Intrusion Detection with Imbalanced Data. Electronics 2022, 11, 898 https://doi.org/103390/electronics11060898. 2022.

19. Herve Nkiama SZMS. A Subset Feature Elimination Mechanism for Intrusion Detection System. (IJACSA) International Journal of Advanced Computer Science and Applications,. 2016;Vol. 7, No. 4.

20. Knowledge Discovery and Data Mining. http://kdd.ics.uci.edu/databases/kddcup99/kddcup99.html. The Fifth International Conference on Knowledge Discovery and Data Mining.

Downloads

Published

2024-01-01

How to Cite

1.
BENCHAMA A, ZEBBARA K. Fine-Tuning CNN-BiGRU for Intrusion Detection with SMOTE Optimization Using Optuna. Salud, Ciencia y Tecnología - Serie de Conferencias [Internet]. 2024 Jan. 1 [cited 2024 Nov. 21];3:968. Available from: https://conferencias.ageditor.ar/index.php/sctconf/article/view/826