English

HPAC-IDS: A Hierarchical Packet Attention Convolution for Intrusion Detection System

Cryptography and Security 2025-01-14 v1

Abstract

This research introduces a robust detection system against malicious network traffic, leveraging hierarchical structures and self-attention mechanisms. The proposed system includes a Packet Segmenter that divides a given raw network packet into fixed-size segments that are fed to the HPAC-IDS. The experiments performed on CIC-IDS2017 dataset show that the system exhibits high accuracy and low false positive rates while demonstrating resilience against diverse adversarial methods like Fast Gradient Sign Method (FGSM), Projected Gradient Descent (PGD), and Wasserstein GAN (WGAN). The model's ability to withstand adversarial perturbations is attributed to the fusion of hierarchical attention mechanisms and convolutional neural networks, resulting in a 0% to 10% adversarial attack severity under tested adversarial attacks with different segment sizes, surpassing the state-of-the-art model in detection performance and adversarial attack robustness.

Keywords

Cite

@article{arxiv.2501.06264,
  title  = {HPAC-IDS: A Hierarchical Packet Attention Convolution for Intrusion Detection System},
  author = {Anass Grini and Btissam El Khamlichi and Abdellatif El Afia and Amal El Fallah-Seghrouchni},
  journal= {arXiv preprint arXiv:2501.06264},
  year   = {2025}
}
R2 v1 2026-06-28T21:03:03.920Z