Skip to main navigation Skip to search Skip to main content

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

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

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.
Original languageEnglish
Title of host publicationAdvances in Intelligent Computing Techniques and Applications II
Subtitle of host publicationIntelligent Systems, Health Informatics, Data Analytics and Internet of Things, Volume 1
PublisherSpringer
Pages181-192
Volume1
ISBN (Electronic)9783032230218
ISBN (Print)9783032230201
DOIs
Publication statusPublished (VoR) - 1 May 2026
EventInternational Conference of Reliable Information and Communication Technology - Morocco
Duration: 18 Nov 2025 → 20 Nov 2025

Conference

ConferenceInternational Conference of Reliable Information and Communication Technology
Period18/11/25 → 20/11/25

Keywords

  • Intrusion Detection System (IDS);
  • Cybersecurity.
  • XGBoost;
  • Re-sidual Learning;
  • Attention Mechanism;
  • Convolutional Neural Network (CNN);
  • NSL-KDD;
  • CICIDS2017;
  • UNSW-NB15;

Fingerprint

Dive into the research topics of 'Attention-Enhanced CNN–ResNet with XGBoost Ensem-ble and DAMCE Loss for Intrusion Detection'. Together they form a unique fingerprint.

Cite this