A hybrid CNN-BiLSTM-attention framework with class-aware gating for network intrusion detection

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.

Authors

Institutions

Publication Details

Journal
International Journal of Advances in Intelligent Informatics
Published
2026-11-30
DOI
https://doi.org/10.26555/ijain.v12i4.2613
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A hybrid CNN-BiLSTM-attention framework with class-aware gating for network intrusion detection

Mohsen Rezvani, Esmaeel Tahanian, Mohammed Saeed Hamid
International Journal of Advances in Intelligent Informatics
Network Security and Intrusion Detection
article

A hybrid CNN-BiLSTM-attention framework with class-aware gating for network intrusion detection

Mohsen Rezvani, Esmaeel Tahanian, Mohammed Saeed Hamid
article en

Abstract

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.

International Journal of Advances in Intelligent InformaticsVol. 12(4)
University of Shahrood (IR)
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon