Stacked Ensemble Method: An Advanced Machine Learning Approach for Anomaly-based Intrusion Detection System
Keywords:
Intrusion Detection System, Stacked Intrusion Detection System, NSL-KDD, Machine Learning, Stack Model
Abstract
The subject of this article is IDS-Intrusion Detection Systems, which are strongly related to a comprehensive cyber attack prevention system. In the present day, an IDS for network infrastructure is a crucial topic. The advancement of SDN-Software Defined Networking has led to a rising need for software-based IDS-Intrusion Detection Systems. Diverse methodologies, including machine learning algorithms and other statistical models, have been used to develop distinct kinds of IDS-Intrusion Detection Systems to enhance performance. But still, that needs to be improved. Several studies have focused on solving these problems for this reason, utilizing methods like conventional machine learning models. However, existing systems need to improve, including low detection rate and high false alarm rate. The aim is to improve performance, specifically in terms of increases in detection rate. This work introduces a new IDS-Intrusion Detection System named SIDS-Stacked Intrusion Detection System, which utilizes a stack-based approach to improve detection accuracy and resilience. The objective is to utilize various predictive algorithms most efficiently. An ensemble classifier method is used to enhance the precision of the final prediction by amalgamating the outputs of multiple models. This research implemented numerous ML-machine learning methodologies, including Stochastic Gradient Descent, Logistic Regression, Random Forest, and Deep Neural Networks, to construct a multilayered model that would optimize network intrusion detection accuracy. This challenging research project employs the NSL-KDD dataset. In previous studies, the stacked model (DNN1 + DNN2) has a maximum accuracy of 97.90% for intrusion detection. However, the suggested trained model outperforms existing models by 98.40%. Additionally, the offered stacked model attains F1-score 99.2%, a FPR-false positive rate 95.6%, and a FNR-false negative rate 1.42%. In conclusion, the findings indicate that a stacked ensemble method can enhance evaluation metrics and provide more consistent performance.
Published
2025-05-14
How to Cite
Rahman, A., Islam Khan, M. S., Eidmum, M. Z. A., Shaha, P., Muiz, B., Hasan, N., Debnath, T., Kundu, D., Tamanna, J. T., Sayduzzaman, M., & Rahman, M. (2025). Stacked Ensemble Method: An Advanced Machine Learning Approach for Anomaly-based Intrusion Detection System. Statistics, Optimization & Information Computing, 14(1), 434-453. https://doi.org/10.19139/soic-2310-5070-2352
Issue
Section
Research Articles
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).