Attention-Enhanced CNN–ResNet with XGBoost Ensem-ble and DAMCE Loss for Intrusion Detection

Intrusion detection is a critical component of modern cybersecu-rity yet building systems that are both accurate and generalisable remains a sig-nificate challenge due to diverse attack types, imbalanced datasets, and evolving threat patterns. This study proposes a hybrid intrusion detection framework evaluated on the UNSW-NB15, CICIDS2017, and NSL-KDD datasets. The framework combines a one-dimensional convolutional neural network en-hanced with attention and residual blocks for feature generalisation, with an XGBoost classifier tailored for tabular decision boundaries. The preprocessing pipeline integrates categorical encoding, mutual information feature selection, synthetic oversampling, and feature standardisation. To address the limitations of conventional objective functions, we introduce the Difficulty-Aware MSE+CE (DAMCE) loss, which adaptively balances cross-entropy and mean squared error based on sample difficulty. Experimental results demonstrate that the proposed ensemble consistently outperforms standalone models, while DAMCE improves stability and class-wise calibration compared to standard loss functions. These findings underline the value of integrating deep learning with boosting and highlight the importance of adaptive loss design in develop-ing robust and generalisable intrusion detection systems. Code link on GitHub: IRICT/CNN-Xgboost.ipynb at main · BillBs-13/IRICT.

Authors

Publication Details

Journal
BCU Open Access Repository (Birmingham City University)
Published
2025-11-25
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
article

Attention-Enhanced CNN–ResNet with XGBoost Ensem-ble and DAMCE Loss for Intrusion Detection

Mohamed Ihmeida, Billel Bousba
BCU Open Access Repository (Birmingham City University)
Network Security and Intrusion Detection
article

Attention-Enhanced CNN–ResNet with XGBoost Ensem-ble and DAMCE Loss for Intrusion Detection

Mohamed Ihmeida, Billel Bousba
article en

Abstract

Intrusion detection is a critical component of modern cybersecu-rity yet building systems that are both accurate and generalisable remains a sig-nificate challenge due to diverse attack types, imbalanced datasets, and evolving threat patterns. This study proposes a hybrid intrusion detection framework evaluated on the UNSW-NB15, CICIDS2017, and NSL-KDD datasets. The framework combines a one-dimensional convolutional neural network en-hanced with attention and residual blocks for feature generalisation, with an XGBoost classifier tailored for tabular decision boundaries. The preprocessing pipeline integrates categorical encoding, mutual information feature selection, synthetic oversampling, and feature standardisation. To address the limitations of conventional objective functions, we introduce the Difficulty-Aware MSE+CE (DAMCE) loss, which adaptively balances cross-entropy and mean squared error based on sample difficulty. Experimental results demonstrate that the proposed ensemble consistently outperforms standalone models, while DAMCE improves stability and class-wise calibration compared to standard loss functions. These findings underline the value of integrating deep learning with boosting and highlight the importance of adaptive loss design in develop-ing robust and generalisable intrusion detection systems. Code link on GitHub: IRICT/CNN-Xgboost.ipynb at main · BillBs-13/IRICT.

BCU Open Access Repository (Birmingham City University)
Peace, Justice and strong institutions
Openalex Percentile: Top 26%
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.