基于CNN-BiLSTM和注意力机制的入侵检测算法

赵金宪 ,  侯海冬

黑龙江科技大学学报 ›› 2026, Vol. 36 ›› Issue (2) : 261 -267.

PDF (2442KB)
黑龙江科技大学学报 ›› 2026, Vol. 36 ›› Issue (2) : 261 -267. DOI: 10.3969/j.issn.2095-7262.2026.02.014

基于CNN-BiLSTM和注意力机制的入侵检测算法

作者信息 +

Intrusion detection algorithm based on CNN-BiLSTM and attention mechanism

Author information +
文章历史 +
PDF (2500K)

摘要

为提升网络入侵检测模型对复杂流量数据的表征能力与分类精度,构建一种融合注意力机制的混合模型CBiLSTM-CA。采用多尺度卷积结构,与注意力机制相结合,以高效提取数据的局部关键特征。通过双向长短期记忆网络捕获数据的时序依赖关系,并将两类特征拼接融合,通过原始一维数据特征进行改进坐标注意力机制,强化模型对关键通道与位置信息的感知能力。结果表明,在UNSW-NB15数据集上进行测试,CBiLSTM-CA的总体分类精度和F1分数分别达90.64%和92.37%,优于现有主流方法,验证了其在网络入侵检测中的有效性与先进性。

Abstract

This paper aims to enhance the feature representation capability and classification accuracy of the network intrusion detection models on complex traffic data. The study involves establishing a hybrid model CBiLSTM-CA integrating attention mechanisms, with a multi-scale one-dimensional convolutional architecture combined with an improved coordinate attention mechanism to effectively extract local discriminative features and enhance perception of critical channels and positional information; obtaining the temporal dependencies through a bidirectional long short-term memory network, and achieving multi-dimensional collaborative features by splicing and fusing the convolutional and features extracted from the BiLSTM components. The experimental results demonstrate that the overall classification accuracy of CBiLSTM-CA and F1-score in the UNSW-NB15 data reach 90.64% and 92.37%, outperforming the state-of-the-art methods, and confirming its effectiveness and superiority in network intrusion detection.

关键词

入侵检测 / 深度学习 / CNN / BiLSTM / 注意力机制

Key words

intrusion detection / deep learning / CNN / BiLSTM / attention mechanisms

引用本文

引用格式 ▾
赵金宪,侯海冬. 基于CNN-BiLSTM和注意力机制的入侵检测算法[J]. 黑龙江科技大学学报, 2026, 36(2): 261-267 DOI:10.3969/j.issn.2095-7262.2026.02.014

登录浏览全文

4963

注册一个新账户 忘记密码

参考文献

[1]

陈良臣, 傅德印, 刘宝旭, 等. 基于机器学习的网络未知攻击检测方法研究综述[J]. 信息安全研究, 2025, 11(9): 807-813.

[2]

周品希, 沈岳, 李伟. 基于深度学习的物联网入侵检测系统综述[J]. 网络安全与数据治理, 2025, 44(6): 1-10.

[3]

邓淼磊, 阚雨培, 孙川川, 等. 基于深度学习的网络入侵检测系统综述[J]. 计算机应用, 2025, 45(2): 453-466.

[4]

Aleesa A, Younis M, Mohammed A A, et al. Deep-intrusion detection system with enhanced UNSW-NB15 dataset based on deep learning techniques[J]. Journal of Engineering Science and Technology, 2021, 16(1): 711-727.

[5]

Azmi M A H, Foozy C F M, Sukri K A M, et al. Feature selection approach to detect DDoS attack using machine learning algorithms[J]. International Journal on Informatics Visualization, 2021, 5(4): 395.

[6]

Kushwah G S, Ranga V. Detecting DDoS attacks in cloud computing using extreme learning machine and adaptive differential evolution[J]. Wireless Personal Communications, 2022, 124(3): 2613-2636.

[7]

Kasongo S M. A deep learning technique for intrusion detection system using a recurrent neural networks based framework[J]. Computer Communications, 2023, 199: 113-125.

[8]

Sebastian A. Enhancing intrusion detection in internet of vehicles through federated learning[J]. Arxiv Preprint Arxiv, 2023, 2311: 13800.

[9]

尹向雷, 苏妮, 解永芳, 等. 基于坐标注意力和软化非极大值抑制的密集安全帽检测[J]. 现代电子技术, 2025, 48(2):153-161.

[10]

Tong J Y, Liu C, Zheng J D, et al. Multi-sensor information fusion and coordinate attention-based fault diagnosis method and its interpretability research[J]. Engineering Applications of Artificial Intelligence, 2023, 124: 106614.

[11]

陈虹, 由雨竹, 金海波, 等. 改进特征选择和CNN-BiLSTM的网络入侵检测方法[J]. 微电子学与计算机, 2025, 42(8): 132-143.

[12]

赵为光, 梁桐, 杨莹, 等. EO-REEVMD-BILSTM的两阶段超短期风电功率预测[J]. 黑龙江科技大学学报, 2024, 34(2): 302-309.

[13]

Moustafa N, Slay J. UNSW-NB15: A comprehensive data set for network intrusion detection systems(UNSW-NB15 network data set)[C]// 2015 Military Communications and Information Systems Conference(MilCIS). Canberra, Australia. IEEE, 2015.

[14]

Moustafa N, Slay J. The evaluation of network anomaly detection systems: statistical analysis of the UNSW-NB15 data set and the comparison with the KDD99 data set[J]. Information Security Journal: A Global Perspective, 2016, 25(1/3): 18-31.

[15]

陈虹, 程明佳, 金海波, 等. 融合对比学习和特征选择的入侵检测模型[J]. 信息安全研究, 2024, 10(5): 453-461.

[16]

Yin Y H, Jiang J J, Xu W, et al. IGRF-RFE: A hybrid feature selection method for MLP-based network intrusion detection on UNSW-NB15 dataset[J]. Journal of Big Data, 2023, 10(1): 15-27.

[17]

Ayantayo A, Kaur A, Kour A, et al. Network intrusion detection using feature fusion with deep learning[J]. Journal of Big Data, 2023, 10(1): 167-173.

[18]

李卓龙, 肖荣辉, 王子瞳, 等. 双特征处理结构语种识别模型研究[J]. 电子设计工程, 2025, 33(22): 1-5.

基金资助

黑龙江省省属高校基本科研业务费项目(2023-KYYWF-0546)

AI Summary AI Mindmap
PDF (2442KB)

3

访问

0

被引

详细

导航
相关文章

AI思维导图

/

〈 〉