journal article·2025Open access

A Two-Layer Network Intrusion Detection Method Incorporating LSTM and Stacking Ensemble Learning

Jun Wang, Chaoren Ge, Yihong Li, Huimin Zhao, Qiang Fu, Kerang Cao, Hoekyung Jung

Computers, Materials & Continua· Volume 83· Issue 3

Abstract

Network Intrusion Detection System (NIDS) detection of minority class attacks is always a difficult task when dealing with attacks in complex network environments. To improve the detection capability of minority-class attacks, this study proposes an intrusion detection method based on a two-layer structure. The first layer employs a CNN-BiLSTM model incorporating an attention mechanism to classify network traffic into normal traffic, majority class attacks, and merged minority class attacks. The second layer further segments the minority class attacks through Stacking ensemble learning. The datasets are selected from the generic network dataset CIC-IDS2017, NSL-KDD, and the industrial network dataset Mississippi Gas Pipeline dataset to enhance the generalization and practical applicability of the model. Experimental results show that the proposed model achieves an overall detection accuracy of 99%, 99%, and 95% on the CIC-IDS2017, NSL-KDD, and industrial network datasets, respectively. It also significantly outperforms traditional methods in terms of detection accuracy and recall rate for minority class attacks. Compared with the single-layer deep learning model, the two-layer structure effectively reduces the false alarm rate while improving the minority-class attack detection performance. The research in this paper not only improves the adaptability of NIDS to complex network environments but also provides a new solution for minority-class attack detection in industrial network security.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Network Security and Intrusion Detection

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

References (35)

Show source-provided references
1. A novel multi-module integrated intrusion detection system for high-dimensional imbalanced data10.1007/s10489-022-03361-2 ↗
2. Imbalanced data classification: a KNN and generative adversarial networks-based hybrid approach for intrusion detection10.1016/j.future.2022.01.026 ↗
3. I-SiamIDS: an improved Siam-IDS for handling class imbalance in network-based intrusion detection systems10.1007/s10489-020-01886-y ↗
4. IDS-INT: intrusion detection system using transformer-based transfer learning for imbalanced network traffic10.1016/j.dcan.2023.03.008 ↗
5. ML-IDS: an efficient ML-enabled intrusion detection system for securing IoT networks and applications10.1007/s00500-023-09452-7 ↗
6. The cross-evaluation of machine learning-based network intrusion detection systems10.1109/TNSM.2022.3157344 ↗
7. A voting gray wolf optimizer-based ensemble learning models for intrusion detection in the Internet of Things10.1007/s10207-023-00803-x ↗
8. BoostedEnML: efficient technique for detecting cyberattacks in IoT systems using boosted ensemble machine learning10.3390/s22197409 ↗
9. Enhancing IoT network security through deep learning-powered intrusion detection system10.1016/j.iot.2023.100936 ↗
10. Deep residual convolutional neural network: an efficient technique for intrusion detection system10.1016/j.eswa.2023.121912 ↗
11. CyberAIBot: artificial intelligence in an intrusion detection system for CyberSecurity in the IoT10.1016/j.future.2024.107543 ↗
12. A multi-layer intrusion detection system for SOME/IP-based in-vehicle network10.3390/s23094376 ↗
13. An effective technique for detecting minority attacks in NIDS using deep learning and sampling approach10.1016/j.aej.2023.07.063 ↗
14. A double-layered hybrid approach for network intrusion detection system using combined naive Bayes and SVM10.1109/ACCESS.2021.3118573 ↗
15. Evolutionary multitasking for feature selection in high-dimensional classification via particle swarm optimization10.1109/TEVC.2021.3100056 ↗
16. An adaptive pyramid PSO for high-dimensional feature selection10.1016/j.eswa.2024.125084 ↗
17. An adaptive and altruistic PSO-based deep feature selection method for Pneumonia detection from chest X-rays10.1016/j.asoc.2022.109464 ↗
18. Feature selection using bare-bones particle swarm optimization with mutual information10.1016/j.patcog.2020.107804 ↗
19. Toward generating a new intrusion detection dataset and intrusion traffic characterization
20. Synthesis of a machine learning model for detecting computer attacks based on the CICIDS2017 dataset10.15514/ISPRAS-2020-32(5)-6 ↗
21. CICIDS-2017 dataset feature analysis with information gain for anomaly detection10.1109/ACCESS.2020.3009843 ↗
22. Data mining techniques in intrusion detection systems: a systematic literature review10.1109/ACCESS.2018.2872784 ↗
23. Morris · Critical infrastructure protection VIII · 2014
24. An intrusion detection system based on deep belief networks
25. Yun · Comput Secur · 2022 · 121 · 10283410.1016/j.cose.2022.102834 ↗
26. A new industrial intrusion detection method based on CNN-BiLSTM
27. A novel multi-stage approach for hierarchical intrusion detection10.1109/TNSM.2023.3259474 ↗
28. Network intrusion detection technology based on convolutional neural network and BiGRU10.1155/2022/1942847 ↗
29. The sound of intrusion: a novel network intrusion detection system10.1016/j.compeleceng.2022.108455 ↗
30. Intrusion detection system with customized machine learning techniques for NSL-KDD dataset
31. A hybrid CNN-LSTM approach for intelligent cyber intrusion detection system10.1016/j.cose.2024.104146 ↗
32. FS-IDS: a novel few-shot learning based intrusion detection system for SCADA networks
33. Anomaly-based intrusion detection in industrial data with SVM and random forests
34. On using physical based intrusion detection in SCADA systems10.1016/j.procs.2020.03.007 ↗
35. Network intrusion detection model based on CNN and GRU10.3390/app12094184 ↗