cs.CRSep 28, 2026

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

Authors: Yufeng Xin, Bryant Goseland, Mohamed Rahouti

Organizations: RENCI, University of North Carolina at Chapel Hill Chapel Hill, NC, USA · Dept. of Computer and Information Science Fordham University New York, NY, USA

Abstract

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 feature engineering and model training and evaluation. CIC-IDS2017 is a standard benchmark for network intrusion detection. Still, many published results on this dataset are difficult to compare due to labeling errors, inconsistent flow extraction, potential leakage, and performance evaluation metrics dominated by benign traffic. In this paper, we present a comprehensive benchmark with corrected PCAP-level labeling and a complete evaluation pipeline with diverse ML models. We evaluate eleven tabular classifiers at three nested levels: binary attack detection, nine-class attack-family attribution, and fifteen-class fine-grained classification. A soft-voting ensemble of Random Forest, XGBoost, and LightGBM obtains the best fine-tier macro-F1 of 0.955, with coarse and binary macro-F1 scores of 0.980 and 0.999, respectively. We further conducted a feature selection study based on an analysis of feature importance. This comprehensive benchmark pipeline is configurable and open-source, enabling new feature extraction and model plugins for new datasets. Future work should use this pipeline as a reference point for richer features, rare-class analysis, and model generalization towards new datasets and attack classes.

Figures & tables

Explore similar work

CardsList
  1. Categorical Robustness Assessment for Machine Learning based Network Intrusion Detection Systems

    Jun 10, 2026Mayank Raj, Nathaniel D. Bastian, Lance Fiondella +1IoT Intrusion DetectionAdversarial Attacks

  2. AMDS: Attack-Aware Multi-Stage Defense System for Network Intrusion Detection with Two-Stage Adaptive Weight Learning

    Mar 1, 2026Oluseyi Olukola, Nick RahimiNetwork Intrusion DetectionAdversarial Robustness

  3. Do Transformers Actually Help Intrusion Detection? A Temporal Sequence Evaluation on CIC-IDS2017

    Jun 9, 2026Zach Moczkodan, Hany RagabData LeakageNetwork Intrusion Detection