A Network Intrusion Detection Model Based on BiLSTM with Multi-Head Attention Mechanism

被引:12
|
作者
Zhang, Jingqi [1 ]
Zhang, Xin [1 ]
Liu, Zhaojun [1 ]
Fu, Fa [1 ]
Jiao, Yihan [1 ]
Xu, Fei [2 ]
机构
[1] Hainan Univ, Coll Comp Sci & Technol, Haikou 570228, Peoples R China
[2] Hainan Univ, Coll Civil & Architecture Engn, Haikou 570228, Peoples R China
关键词
intrusion detection; deep learning; multi-head attention; BiLSTM; MACHINE;
D O I
10.3390/electronics12194170
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
A network intrusion detection tool can identify and detect potential malicious activities or attacks by monitoring network traffic and system logs. The data within intrusion detection networks possesses characteristics that include a high degree of feature dimension and an unbalanced distribution across categories. Currently, the actual detection accuracy of some detection models is relatively low. To solve these problems, we propose a network intrusion detection model based on multi-head attention and BiLSTM (Bidirectional Long Short-Term Memory), which can introduce different attention weights for each vector in the feature vector that strengthen the relationship between some vectors and the detection attack type. The model also utilizes the advantage that BiLSTM can capture long-distance dependency relationships to obtain a higher detection accuracy. This model combined the advantages of the two models, adding a dropout layer between the two models to improve the detection accuracy while preventing training overfitting. Through experimental analysis, the network intrusion detection model that utilizes multi-head attention and BilSTM achieved an accuracy of 98.29%, 95.19%, and 99.08% on the KDDCUP99, NSLKDD, and CICIDS2017 datasets, respectively.
引用
收藏
页数:17
相关论文
共 50 条
  • [1] Structural acceleration response reconstruction based on BiLSTM network and multi-head attention mechanism
    Wang, Zifeng
    Peng, Zhenrui
    STRUCTURES, 2024, 64
  • [2] A Novel Trajectory Prediction Method Based on CNN, BiLSTM, and Multi-Head Attention Mechanism
    Xu, Yue
    Pan, Quan
    Wang, Zengfu
    Hu, Baoquan
    AEROSPACE, 2024, 11 (10)
  • [3] BMNet: Enhancing Deepfake Detection Through BiLSTM and Multi-Head Self-Attention Mechanism
    Xiong, Demao
    Wen, Zhan
    Zhang, Cheng
    Ren, Dehao
    Li, Wenzao
    IEEE ACCESS, 2025, 13 : 21547 - 21556
  • [4] Flood change detection model based on an improved U-net network and multi-head attention mechanism
    Wang, Fajing
    Feng, Xu
    SCIENTIFIC REPORTS, 2025, 15 (01):
  • [5] Epilepsy detection based on multi-head self-attention mechanism
    Ru, Yandong
    An, Gaoyang
    Wei, Zheng
    Chen, Hongming
    PLOS ONE, 2024, 19 (06):
  • [6] An Anomaly Detection Approach Based on Bidirectional Temporal Convolutional Network and Multi-Head Attention Mechanism
    Wang, Rui
    Li, Jiayao
    INFORMATION TECHNOLOGY AND CONTROL, 2024, 53 (01): : 37 - 52
  • [7] Network Intrusion Detection Method Based on CNN-BiLSTM-Attention Model
    Dai, Wei
    Li, Xinhui
    Ji, Wenxin
    He, Sicheng
    IEEE ACCESS, 2024, 12 : 53099 - 53111
  • [8] A malicious network traffic detection model based on bidirectional temporal convolutional network with multi-head self-attention mechanism
    Cai, Saihua
    Xu, Han
    Liu, Mingjie
    Chen, Zhilin
    Zhang, Guofeng
    COMPUTERS & SECURITY, 2024, 136
  • [9] Prediction of Sunspot Number with Hybrid Model Based on 1D-CNN, BiLSTM and Multi-Head Attention Mechanism
    Chen, Huirong
    Liu, Song
    Yang, Ximing
    Zhang, Xinggang
    Yang, Jianzhong
    Fan, Shaofen
    ELECTRONICS, 2024, 13 (14)
  • [10] Machine Reading Comprehension Model Based on Multi-head Attention Mechanism
    Xue, Yong
    ADVANCED INTELLIGENT TECHNOLOGIES FOR INDUSTRY, 2022, 285 : 45 - 58