Network intrusion detection is challenging because traffic features are high-dimensional and attack classes are highly imbalanced. This study evaluates a hybrid CNN-BiLSTM-Attention framework with class-aware gating for multiclass intrusion detection using CICIDS2017. Random Forest-based feature selection retained 51 of 78 numerical traffic features. Each flow was represented as an ordered feature vector, not as a chronological traffic sequence. The original evaluation across 13 traffic categories yielded 98.78% accuracy, 98.76% weighted F1-score, and 81.26% macro F1-score. However, recall was only 38.93% for Bot, 11.24% for Web Attack, and 0% for Infiltration. A Random Forest baseline using the same 51 features achieved 99.49% accuracy and 93.14% macro F1-score, outperforming the hybrid model on both measures. In a separate stratified 60/20/20 ablation study, the gating configuration outperformed the attention-only variant but did not outperform the simpler CNN-BiLSTM model. In the original evaluation, mean imputation was performed before the train-test split, introducing a potential source of information leakage. The findings characterize the architecture’s measured performance and its limitations regarding minority-class detection, comparative effectiveness, and evaluation methodology.
Copyrights © 2026