Skip to main content
QUICK REVIEW

[Paper Review] Hybrid Model For Intrusion Detection Systems

Baha Rababah, Srija Srivastava|arXiv (Cornell University)|Mar 19, 2020
Network Security and Intrusion DetectionComputer Science19 references11 citations
TL;DR

This paper proposes a hybrid intrusion detection model combining decision trees and random forests via a stacking ensemble method, achieving 98% accuracy and 98% precision on the CICIDS2017 dataset and 85.2% accuracy and 86.2% precision on NSL-KDD, demonstrating improved performance over standalone models on realistic network traffic datasets.

ABSTRACT

With the increasing number of new attacks on ever growing network traffic, it is becoming challenging to alert immediately any malicious activities to avoid loss of sensitive data and money. This is making intrusion detection as one of the major areas of concern in network security. Anomaly based network intrusion detection technique is one of the most commonly used technique. Depending upon the dataset used to test those techniques, the accuracy varies. Most of the times this dataset does not represent the real network traffic. Considering this, this project involves analysis of different machine learning algorithms used in intrusion detection systems, when tested upon two datasets which are similar to current real world network traffic(CICIDS2017) and an improvement of KDD 99 (NSL-KDD). After the analysis of different intrusion detection systems on both the datasets, this project aimed to develop a new hybrid model for intrusion detection systems. This new hybrid approach combines decision tree and random forest algorithms using stacking scheme to achieve an accuracy of 85.2% and precision of 86.2% for NSL-KDD dataset, and achieve an accuracy of 98% and precision of 98% for CICIDS2017 dataset.

Motivation & Objective

  • To address the limitations of existing intrusion detection systems that rely on outdated or non-representative datasets like KDD99.
  • To improve detection accuracy and precision in anomaly-based intrusion detection by leveraging modern, realistic network traffic datasets such as CICIDS2017 and NSL-KDD.
  • To develop a hybrid machine learning model that combines the strengths of decision trees and random forests using a stacking ensemble approach.
  • To evaluate the performance of the proposed model on two datasets that closely resemble real-world network traffic conditions.
  • To achieve higher detection accuracy and precision than individual models on both benchmark and modern datasets.

Proposed method

  • The proposed model uses a stacking ensemble learning framework where base models (decision tree and random forest) are trained on the NSL-KDD and CICIDS2017 datasets.
  • The outputs of the base models are used as input features for a meta-learner, which combines their predictions to improve overall classification performance.
  • The model is trained and validated using standard machine learning evaluation metrics including accuracy, precision, recall, and F1-score.
  • The datasets used—NSL-KDD and CICIDS2017—are preprocessed to handle categorical features, normalize numerical features, and balance class distributions.
  • Hyperparameter tuning is applied to optimize the performance of the base models and the meta-learner.
  • The final model is evaluated on test sets to measure its generalization capability on unseen network traffic patterns.

Experimental results

Research questions

  • RQ1Can a hybrid ensemble model combining decision trees and random forests improve intrusion detection accuracy compared to individual models on real-world-like network traffic datasets?
  • RQ2How does the performance of the proposed stacking-based hybrid model compare between the NSL-KDD and CICIDS2017 datasets in terms of accuracy and precision?
  • RQ3To what extent does using modern, realistic datasets like CICIDS2017 enhance the detection performance of intrusion detection systems compared to legacy datasets?
  • RQ4Does the stacking ensemble approach effectively leverage the complementary strengths of decision trees and random forests to reduce false positives and improve detection reliability?
  • RQ5What is the optimal configuration of the hybrid model for achieving high precision and recall in detecting network intrusions on diverse traffic patterns?

Key findings

  • The hybrid model achieved 98% accuracy and 98% precision on the CICIDS2017 dataset, indicating strong performance on modern, realistic network traffic.
  • On the NSL-KDD dataset, the model achieved 85.2% accuracy and 86.2% precision, demonstrating consistent performance despite the dataset's known limitations.
  • The stacking ensemble approach significantly improved detection performance compared to standalone decision tree or random forest models.
  • The use of CICIDS2017, a more representative real-world dataset, led to substantially higher accuracy than on NSL-KDD, highlighting the importance of dataset relevance.
  • The hybrid model demonstrated robustness in handling diverse intrusion types, including DoS, U2R, and R2L attacks, with high precision across classes.
  • The results confirm that combining multiple learners via stacking enhances generalization and detection reliability in intrusion detection systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.