An Imbalance-Aware Machine Learning Approach for Improving Minority-Class Cyberattack Detection
Intrusion detection models trained on skewed network data favor frequent traffic and miss rare, high-impact attacks. We study imbalance-aware learning on NSL-KDD, where U2R attacks constitute 0.04% of the training records, and propose a hybrid pipeline: random-forest feature selection, capped under-sampling with Borderline-SMOTE and Tomek-link cleaning, and a cost-sensitive LightGBM and Random Forest ensemble. We compare it with five standard classifiers and seven…
