Network Intrusion Detection Using Wrapper-based Decision Tree for Feature Selection

Mubarak Albarka Umar, Zhanfang Chen, Yan LiuarXiv 2020

Introduction

Modern Network Intrusion Detection Systems (NIDS) face a significant challenge: the "curse of dimensionality." As network traffic grows in volume and complexity, machine learning models must process a firehose of data. Many existing datasets, such as KDD99, are outdated and do not reflect modern attack patterns. Furthermore, real-world datasets like the contemporary UNSW-NB15 are often packed with redundant or noisy features that increase computational complexity and slow down real-time detection.

This paper addresses these challenges by proposing a hybrid machine learning approach. The goal is to improve efficiency by reducing the time required to build and run an IDS without sacrificing detection accuracy.

Methodology

The researchers advocate for a specialized pipeline that separates feature selection from the final classification phase. The core innovation is the use of a Wrapper-Based Decision Tree for feature pruning.

Unlike "filter" methods that evaluate data statistics in isolation, a wrapper method uses a learning algorithm—in this case, the J48/C4.5 Decision Tree—to test various feature subsets. By employing a "BestFirst" forward search strategy, the system starts with an empty set and adds features one by one, stopping only when performance gains plateau.

The proposed NIDS pipeline, illustrating the flow from data acquisition through wrapper-based feature selection to model evaluation.

The Pipeline Stages

  1. Data Filtration: Irrelevant identifiers like IP addresses and IDs are removed.
  2. Feature Selection: The Wrapper-based DT identifies the most impactful attributes.
  3. Transformation: Categorical data is handled via One-Hot encoding, and numeric data is scaled using Min-Max normalization.
  4. Classification: The reduced set is tested against five algorithms: Artificial Neural Networks (ANN), Support Vector Machines (SVM), k-Nearest Neighbor (KNN), Random Forest (RF), and Naïve Bayes (NB).

Feature Selection Results

The wrapper-based approach successfully whittled the original 42 attributes of the UNSW-NB15 dataset down to just 19 critical features. The study found that 23 features were essentially "dead weight"; removing them allowed the models to focus on the signals that actually matter for identifying malicious activity.

Table of the 19 features selected by the Wrapper-Based Decision Tree method, including both nominal and numeric attributes.

Performance Evaluation

The results demonstrate that "less is more" in feature selection. The Random Forest (RF) model, utilizing only the 19 selected features, achieved a state-of-the-art Detection Rate (DR) of 97.95%. This performance outperforms several complex deep learning and hybrid models.

Beyond accuracy, the reduction in dimensionality led to significant speed gains. For instance, the training time for the Artificial Neural Network (ANN) was cut by more than half, dropping from 11.27 minutes to 4.95 minutes. An interesting outlier was the SVM, which saw an increase in training time, suggesting that the specific 19-feature subset created a more complex optimization surface for its kernel.

Conclusion and Future Work

While the system is highly effective at catching attacks, it currently suffers from a High False Alert Rate (FAR), with the RF model flagging normal traffic as suspicious in 27.73% of cases. Future research will focus on tuning these models to reduce false positives while maintaining high sensitivity. Despite the computational cost of the initial wrapper-based selection process, the authors conclude it is a worthwhile trade-off for creating lean, high-performance models suitable for real-time deployment.

Summary updated

BibTeX
@misc{umar2020network,
  author = {Mubarak Albarka Umar and Zhanfang Chen and Yan Liu},
  title = {{Network Intrusion Detection Using Wrapper-based Decision Tree for Feature Selection}},
  year = {2020},
  eprint = {2008.07405},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.07405},
}
Figure