Adaptive SMOTE for Extreme Class Imbalance in Network Intrusion Detection on CIC-IDS2017
Journal of Engineering Research and Reports · pp. 357–392 · Published 24 Feb 2026
10.9734/jerr/2026/v28i21810Abstract
This study addresses extreme class imbalance in network intrusion detection systems, a critical challenge where minority attack classes can constitute less than 0.001% of network traffic. Using the CICIDS2017 dataset with an initial imbalance ratio of 191,678:1, we developed an adaptive SMOTE-based framework that applies tiered, class-dependent oversampling (1%, 0.8%, 0.5% of majority class based on minority class rarity). Our preprocessing pipeline combines comprehensive data cleaning, XGBoost-based recursive feature elimination (reducing 78 features to 50), min-max normalization, and targeted synthetic oversampling, achieving 99.9% imbalance reduction (191,678:1 \(\to\) 204:1) while adding only 4.7% additional training samples. Classification using Random Forest achieved 99.79% overall accuracy, with 97–99% recall for network-layer attacks (DoS variants, SSH-Patator, FTP-Patator, Port Scan) and 96–99% precision across all successfully detected classes. The complete pipeline (preprocessing, feature selection, sampling, training, evaluation) executes in 14.2 minutes on standard hardware, making it practical for periodic retraining in cloud-based IDS deployments. However, ultra-rare application-layer attacks (XSS: 0% recall, SQL Injection: 0% recall) remain challenging, highlighting that synthetic oversampling alone cannot address attacks requiring application-layer feature engineering beyond flow-level statistics. This work demonstrates that adaptive, class-dependent SMOTE strategies can effectively handle extreme imbalance for attacks with discriminative flow-based signatures while clearly delineating the limitations requiring complementary approaches.
Cited by 0
No indexed citations yet.
Related research
- Automatic Segmentation of Organ at Risk in Head and Neck Cancer CT Images Using Medical Open Network for Artificial Intelligence (MONAI) with Deep Learning Techniques — shares topic coverage
- Diagnostic Accuracy of Artificial Intelligence for Breast Cancer Detection: A Systematic Review — shares topic coverage
- Leveraging Deep Learning Algorithms for Predicting Power Outages and Detecting Faults: A Review — shares topic coverage
- Bridging Prenatal Diagnostics and AI: A Systematic Review and Meta-Analysis of the Efficacy of Advanced Algorithms in Identifying Congenital Fetal Abnormalities — shares topic coverage
- Applications of Deep Learning in Predicting the Risk of Metabolic Syndrome from Lifestyle and Behavioral Factors: A Scoping Review — shares topic coverage
Article metrics
Real usage data collected on this platform.
29
Page views
0
PDF downloads
3
Outbound clicks
0
Citations
Views over time
Views by country
Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".
Traffic sources
Referring site, by host.
Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.