journal article·2024-08-08Open access

Comparative Analysis of Deep Convolutional Neural Network—Bidirectional Long Short-Term Memory and Machine Learning Methods in Intrusion Detection Systems

Miracle Udurume, Vladimir Shakhov, Insoo Koo

Applied Sciences· Volume 14· Issue 16

Abstract

Particularly in Internet of Things (IoT) scenarios, the rapid growth and diversity of network traffic pose a growing challenge to network intrusion detection systems (NIDs). In this work, we perform a comparative analysis of lightweight machine learning models, such as logistic regression (LR) and k-nearest neighbors (KNNs), alongside other machine learning models, such as decision trees (DTs), support vector machines (SVMs), multilayer perceptron (MLP), and random forests (RFs) with deep learning architectures, specifically a convolutional neural network (CNN) coupled with bidirectional long short-term memory (BiLSTM), for intrusion detection. We assess these models’ scalability, performance, and robustness using the NSL-KDD and UNSW-NB15 benchmark datasets. We evaluate important metrics, such as accuracy, precision, recall, F1-score, and false alarm rate, to offer insights into the effectiveness of each model in securing network systems within IoT deployments. Notably, the study emphasizes the utilization of lightweight machine learning models, highlighting their efficiency in achieving high detection accuracy while maintaining lower computational costs. Furthermore, standard deviation metrics have been incorporated into the accuracy evaluations, enhancing the reliability and comprehensiveness of our results. Using the CNN-BiLSTM model, we achieved noteworthy accuracies of 99.89% and 98.95% on the NSL-KDD and UNSW-NB15 datasets, respectively. However, the CNN-BiLSTM model outperforms lightweight traditional machine learning methods by a margin ranging from 1.5% to 3.5%. This study contributes to the ongoing efforts to enhance network security in IoT scenarios by exploring a trade-off between traditional machine learning and deep learning techniques.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Network Security and Intrusion Detection · Anomaly Detection Techniques and Applications · Internet Traffic Analysis and Secure E-voting

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Electrical Electronic and Computer Engineering, Ulsan University, 93 Daehak-ro, Namgu, Ulsan 44610, Republic of Korea

Funding

National Research Foundation of Korea (NRF) · Ministry of Education (MOE)

References (49)

Show source-provided references
1. Anomaly-Based Intrusion Detection from Network Flow Features Using Variational Autoencoder10.1109/ACCESS.2020.3001350 ↗
2. Early Detection of Network Intrusions Using a GAN-Based One-Class Classifier10.1109/ACCESS.2022.3221400 ↗
3. Toward a Lightweight Intrusion Detection System for the Internet of Things10.1109/ACCESS.2019.2907965 ↗
4. A Detailed Investigation and Analysis of Using Machine Learning Techniques for Intrusion Detection10.1109/COMST.2018.2847722 ↗
5. A Novel Two-Stage Deep Learning Model for Network Intrusion Detection: LSTM-AE10.1109/ACCESS.2023.3266979 ↗
6. DL-IDS: Extracting features using CNN-LSTM hybrid network for intrusion detection system10.1155/2020/8890306 ↗
7. Intrusion Detection Framework for the Internet of Things Using a Dense Random Neural Network10.1109/TII.2021.3130248 ↗
8. Efficient mining of the multidimensional traffic cluster hierarchy for digesting visualization and anomaly identification10.1109/JSAC.2006.877216 ↗
9. Huang, N.-F., Kao, C.-N., Hun, H.-W., Jai, G.-Y., and Lin, C.-L. (2005, January 28–30). Apply data mining to defense-in-depth network security system. Proceedings of the 19th International Conference on Advanced Information Networking and Applications (AINA’05) Volume 1 (AINA Papers), Taipei, Taiwan.
10. Thaseen, I.S., and Kumar, C.A. (2014, January 27–29). Intrusion detection model using fusion of PCA and optimized SVM. Proceedings of the International Conference Contemporary Computer Informatics, Mysore, India.10.1109/IC3I.2014.7019692 ↗
11. Anomaly-based intrusion detection for 802.11 networks with optimal features using SVM classifier10.1007/s11276-016-1300-5 ↗
12. A two-layer dimension reduction and two-tier classification model for anomaly-based intrusion detection in IoT backbone networks10.1109/TETC.2016.2633228 ↗
13. An effective intrusion detection framework based on SVM with feature augmentation10.1016/j.knosys.2017.09.014 ↗
14. Use the ensemble methods when detecting DoS attacks in network intrusion detection systems
15. Multi-source adversarial sample attack on autonomous vehicles10.1109/TVT.2021.3061065 ↗
16. Generative adversarial networks: A survey toward private and secure applications10.1145/3459992 ↗
17. 6G: Opening new horizons for integration of comfort security and intelligence10.1109/MWC.001.1900516 ↗
18. A deep learning approach for intrusion detection using recurrent neural networks10.1109/ACCESS.2017.2762418 ↗
19. A novel multimodal-sequential approach based on multi-view features for network intrusion detection10.1109/ACCESS.2019.2959131 ↗
20. Jaber, A.N., Zolkipli, M.F., Shakir, H.A., and Jassim, M.R. (2017). Host-based intrusion detection and prevention model against DDoS attack in cloud computing. Advances on P2P, Parallel, Grid, Cloud and Internet Computing, Springer. 3PGCIC 2017. Lecture Notes on Data Engineering and Communications Technologies.10.1007/978-3-319-69835-9_23 ↗
21. A hybrid deep learning-based model for anomaly detection in cloud data center networks10.1109/TNSM.2019.2927886 ↗
22. Vinayakumar, R., Soman, K.P., and Poornachandran, P. (2017, January 13–16). Applying convolutional neural network for network intrusion detection. Proceedings of the International Conference Advance Computer Informatics (ICACCI), Udupi, India.10.1109/ICACCI.2017.8126009 ↗
23. Network intrusion detection: Based on deep hierarchical network and original flow data10.1109/ACCESS.2019.2905041 ↗
24. Deep learning approach for intelligent intrusion detection system10.1109/ACCESS.2019.2895334 ↗
25. A deep long short-term memory-based classifier for wireless intrusion detection system10.1016/j.icte.2019.08.004 ↗
26. Zhang, J., Ye, L., and Lai, Y. (2023). Stock Price Prediction Using CNN-BiLSTM-Attention Model. Mathematics, 11.10.3390/math11091985 ↗
27. Staffini, A. (2023). A CNN–BiLSTM Architecture for Macroeconomic Time Series Forecasting. Eng. Proc., 39.10.3390/engproc2023039033 ↗
28. Tang, C., Zhang, Y., Wu, F., and Tang, Z. (2024). An Improved CNN-BILSTM Model for Power Load Prediction in Uncertain Power Systems. Energies, 17.10.3390/en17102312 ↗
29. Cui, K.X., and Xia, X.J. (2022, January 4–6). ECG Signal Anomaly Detection Algorithm Based on CNN-BiLSTM. Proceedings of the 2022 11th International Conference of Information and Communication Technology (ICTech)), Wuhan, China.10.1109/ICTech55460.2022.00046 ↗
30. Enhanced Network Anomaly Detection Based on Deep Neural Networks10.1109/ACCESS.2018.2863036 ↗
31. Adversarial Machine Learning for Network Intrusion Detection Systems: A Comprehensive Survey10.1109/COMST.2022.3233793 ↗
32. Reinforcement Learning Meets Network Intrusion Detection: A Transferable and Adaptable Framework for Anomaly Behavior Identification10.1109/TNSM.2024.3352586 ↗
33. CNN-LSTM: Hybrid Deep Neural Network for Network Intrusion Detection System10.1109/ACCESS.2022.3206425 ↗
34. Khan, M.A., Khan, M.A., Jan, S.U., Ahmad, J., Jamal, S.S., Shah, A.A., Pitropakis, N., and Buchanan, W.J. (2021). A Deep Learning-Based Intrusion Detection System for MQTT Enabled IoT. Sensors, 21.10.3390/s21217016 ↗
35. An End-to-End Framework for Machine Learning-Based Network Intrusion Detection System10.1109/ACCESS.2021.3101188 ↗
36. Comparative Analysis of Intrusion Detection Systems and Machine Learning-Based Model Analysis Through Decision Tree10.1109/ACCESS.2023.3296444 ↗
37. An Efficient Intrusion Detection Model Based on Hybridization of Artificial Bee Colony and Dragonfly Algorithms for Training Multilayer Perceptrons10.1109/ACCESS.2020.3009533 ↗
38. An Intrusion Detection System Using a Deep Neural Network with Gated Recurrent Units10.1109/ACCESS.2018.2867564 ↗
39. A Hybrid Intrusion Detection System Based on Scalable K-Means+ Random Forest and Deep Learning10.1109/ACCESS.2021.3082147 ↗
40. An Advanced Intrusion Detection System for IIoT Based on GA and Tree-Based Algorithms10.1109/ACCESS.2021.3104113 ↗
41. Putchala, M.K. (2017). Deep Learning Approach for Intrusion Detection System (IDS) in the Internet of Things (IoT) Network Using Gated Recurrent Neural Networks (GRU). [Master’s Thesis, Wright State University].
42. Improving Performance of Autoencoder-Based Network Anomaly Detection on NSL-KDD Dataset10.1109/ACCESS.2021.3116612 ↗
43. Moustafa, N., and Slay, J. (2015, January 10–12). UNSW-NB15: A comprehensive data set for network intrusion detection systems (UNSW-NB15 network data set). Proceedings of the IEEE Military Communication Information System Conference (MilCIS), Canberra, Australia.10.1109/MilCIS.2015.7348942 ↗
44. Martinez-Vega, B., Tkachenko, M., Matkabi, M., Ortega, S., Fabelo, H., Balea-Fernandez, F., La Salvia, M., Torti, E., Leporati, F., and Callico, G.M. (2022). Evaluation of Preprocessing Methods on Independent Medical Hyperspectral Databases to Improve Analysis. Sensors, 22.10.3390/s22228917 ↗
45. A Distributed Network Intrusion Detection System for Distributed Denial of Service Attacks in Vehicular Ad Hoc Network10.1109/ACCESS.2019.2948382 ↗
46. Semi-supervised machine learning approach for DDoS detection10.1007/s10489-018-1141-2 ↗
47. A Comparative Study of Using Deep Learning Algorithms in Network Intrusion Detection
48. A Survey of Machine and Deep Learning Methods for Internet of Things Security10.1109/COMST.2020.2988293 ↗
49. A Deep Learning Approach to Network Intrusion Detection10.1109/TETCI.2017.2772792 ↗