Skip to main navigation Skip to search Skip to main content

A hierarchical CNN-Transformer model for network intrusion detection

  • Sijie Luo*
  • , Zhiheng Zhao
  • , Qiyuan Hu
  • , Yang Liu
  • *Corresponding author for this work
  • School of Electrical Engineering and Automation, Harbin Institute of Technology

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The development of the Industrial Internet has promoted the progress of social productivity, but it also faces attacks from abnormal network traffic. Network intrusion detection systems (NIDSs) ensure the safe and reliable operation of networks by monitoring the network traffic status and detecting abnormal traffic and attacks in a timely manner. To detect network intrusions in real time and efficiently, we propose a hierarchical intrusion detection model CNN-Transformer NIDS with traffic spatio-temporal feature fusion, combined with soft feature selection based on attention mechanism. The model is used for multi-attack detection on the UNSW-NB15 dataset. The comparative experimental results show that: i) spatial features can effectively describe the normal and abnormal states of traffic; ii) temporal features can help the model to better distinguish different types of attacks; iii) the fusion of the spatio-temporal features can comprehensively improve the detection performance of the model. The results of the ablation experiments verify that the attention-based soft feature selection enables the model to effectively focus on the differences between normal and abnormal traffic and between different kinds of attacks, resulting in a 0.32% reduction in the missed detection rate, a 1.36% reduction in the false detection rate, and a 1.68% improvement in the detection rate of NIDS.

Original languageEnglish
Title of host publication2nd International Conference on Applied Mathematics, Modelling, and Intelligent Computing, CAMMIC 2022
EditorsHari Mohan Srivastava, Chi-Hua Chen
PublisherSPIE
ISBN (Electronic)9781510655195
DOIs
StatePublished - 2022
Externally publishedYes
Event2nd International Conference on Applied Mathematics, Modelling, and Intelligent Computing, CAMMIC 2022 - Kunming, China
Duration: 25 Mar 202227 Mar 2022

Publication series

NameProceedings of SPIE - The International Society for Optical Engineering
Volume12259
ISSN (Print)0277-786X
ISSN (Electronic)1996-756X

Conference

Conference2nd International Conference on Applied Mathematics, Modelling, and Intelligent Computing, CAMMIC 2022
Country/TerritoryChina
CityKunming
Period25/03/2227/03/22

Keywords

  • Transformer
  • convolutional neural network
  • network intrusion detection
  • spatio-temporal features

Fingerprint

Dive into the research topics of 'A hierarchical CNN-Transformer model for network intrusion detection'. Together they form a unique fingerprint.

Cite this