Skip to content
Open access

Comparative performance evaluation of machine learning classifiers for multi-class intrusion detection on the NSL-KDD dataset.

Jul 2026 · Scientific Reports · 0 citations
Medicine

TL;DR

A feature-driven Intrusion Detection (ID) framework that combines XGBoost-based feature selection with multiple ML classifiers to improve attack detection performance while reducing computational complexity is proposed.

Abstract

Intrusion Detection Systems (IDSs) play a vital role in safeguarding modern network infrastructures against increasingly sophisticated cyber threats. However, the high dimensionality of network traffic data and the presence of imbalanced attack classes often limit the effectiveness of conventional Machine Learning (ML) approaches. This study proposes a feature-driven Intrusion Detection (ID) framework that combines XGBoost-based feature selection with multiple ML classifiers to improve attack detection performance while reducing computational complexity. The NSL-KDD dataset is utilized to evaluate the proposed approach across five traffic classes: Benign, Denial of Service (DoS), Probe, Remote-to-Local (R2L), and User-to-Root (U2R). XGBoost feature ranking is employed to identify thirteen highly relevant features for each attack category, thereby reducing data dimensionality and eliminating redundant attributes. The selected features are subsequently evaluated using six ML classifiers, namely LightGBM, Voting Classifier, CatBoost, Multi-Layer Perceptron (MLP), AdaBoost, and Stochastic Gradient Descent (SGD). Performance assessment is conducted using Precision, Recall, F1-Score, confusion matrices, and cross-validation analysis. Experimental results demonstrate that ensemble-based models, particularly CatBoost and LightGBM, achieve superior performance for majority attack classes such as DoS and Probe, while all classifiers exhibit challenges in detecting minority classes such as R2L and U2R due to severe class imbalance. Cross-validation results confirm the robustness and stability of the selected feature subsets across different attack categories. Furthermore, a computational complexity analysis highlights the suitability of the proposed framework for practical and resource-constrained ID environments. The findings emphasize the effectiveness of feature optimization in enhancing classification performance and provide valuable insights for the development of efficient and scalable IDS solutions.

Read PDF

Similar papers

Open access Sep 2026

Enhanced Intrusion Detection System (IDS) Using Machine Learning

The findings support the adoption of hybrid IDS architectures as a balanced and practical solution that enhances detection capability, adaptability, and reliability in evolving cyber threat landscapes.

Bang-Chen Yu · 0 citations
Open access Sep 2026

An Ensemble Machine Learning Based Cybersecurity IntrusionDetection System (C-IDS)

An essential component of network security is intrusion detection, which shields computer systems against attacks and illegal access. Traditional intrusion detection systems (IDS) rely on signature-based detection, which limits their ability to detect unknown complex threats. Machine learning-based methods have demonst...

A. Ilyas, Muhammad Faisal Laiq Siddiqui, Farheen Siddiqui et al. · 0 citations
Open access Sep 2026

Intrusion detection in evolving internet of things environments using decentralized data systems

A hybrid IDS framework built on a stacking ensemble of four heterogeneous base classifiers, namely random forest, extreme gradient boosting, light gradient-boosting machine, and a shallow multi-layer perceptron (MLP), coupled with a PyTorch-based neural network meta-classifier, establishing that pairing meta-learning w...

Zobayer Alam, A. Sarker, Jariatun Islam et al. · 0 citations
Conference Aug 2026

From KNN to Ensemble Learning: Advancing Real-Time Network Intrusion Detection with Asymmetric SMOTE-ENN Balancing on the CSE-CIC-IDS2018 Benchmark

The increasing occurrence and sophistication of attacks on current enterprise-grade computer networks require the development of IDSs with real-time, per-flow traffic categorization capability while ensuring a low rate of false positives. Most traditional architectures based on machine learning models are typically pla...

Piyush Parate, Vashisht Urgonda, Chintan Parmar et al. · 0 citations
#machine learning Preprint Sep 2026

Multi-Class, Multi-Tier Network Intrusion Detection: A Comprehensive and Reproducible Benchmark

Machine learning (ML) and deep learning (DL) have dominated Intrusion Detection System (IDS) research in recent years. Unfortunately, many existing studies have produced inflated results and unreliable benchmarks due to critical oversights and mistakes in the ML and DL pipeline, from data collection and labeling to fea...

Yu-Feng Xin, Bryant Goseland, Mohamed Rahouti · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.