基于卷积神经网络和知识蒸馏的网络异常流量检测方法
作者:
作者单位:

1.安徽建筑大学电子与信息工程学院,安徽合肥 230601 ;2.南京莱克贝尔信息技术有限公司,江苏南京 210014

作者简介:

陈娟女,副教授,研究方向为信号优化与机器学习
王寒野男,硕士研究生,研究方向为网络安全、异常流量检测
王占丰男,高级工程师,研究方向为网络空间测绘、网络空间安全、分布式计算、语义网与知识图
葛先玉男,讲师,研究方向为图像处理与计算机视觉

通讯作者:

陈娟,E-mail:500260@ahjzu.edu.cn

中图分类号:

TP393

基金项目:

国家自然科学基金资助项目(62401013);江苏省重点研发计划项目(BE2022081);安徽建筑大学横向项目(HYB20230248,HYB20250222)


Network anomaly traffic detection framework based on convolutional neural network and knowledge distillation
Author:
Affiliation:

1.School of Electronics and Information Engineering, Anhui Jianzhu University, Hefei 230601 , China ;2.Nanjing Lexbell Information Technology Co., Ltd, Nanjing 210014 , China

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    现有网络异常流量检测方法在应对高维复杂流量特征时,普遍面临特征学习能力薄弱、模型参数量冗余2大问题。为此,提出一种融合一维卷积神经网络与知识蒸馏的异常流量检测方法 AdaCBAM-LCRS-BOKD。设计基于自适应卷积注意力模块的 AdaCBAM-1D-CNN 作为教师模型,通过自适应卷积核空间注意力和双重池化通道注意力提升特征学习能力;构建轻量化通道压缩网络 LCRS-1D-CNN 作为学生模型,引入基于贝叶斯优化的动态温度衰减蒸馏策略(BOKD)进行知识蒸馏,在保证流量检测精度的同时压缩学生模型参数。在 CICUNSW-NB15与 CIC-IDS2017数据集上的实验结果表明:蒸馏后的学生模型参数占用内存均低于2.5MB,检测准确率分别达0.9112和0.9954,较蒸馏前有所提升,性能逼近教师模型。 该方法实现了检测性能与模型效率的动态平衡,为轻量化异常流量检测提供了有效的技术方案。

    Abstract:

    Existing network abnormal traffic detection methods often have the problems of insufficient feature learning ability and excessive model parameters when dealing with high-dimensional complex traffic features. Therefore, an abnormal flow detection method called AdaCBAM-LCRS-BOKD was proposed, which combines one-dimensional convolutional neural network(1D-CNN) and knowledge distillation. AdaCBAM-1D-CNN which was based on adaptive convolutional attention module was designed as a teacher model to improve feature learning ability through adaptive convolutional kernel spatial attention and dual-pooled channel attention. The lightweight channel compression network LCRS-1D-CNN was constructed as the student model, and the Bayesian optimized dynamic temperature attenuation distillation strategy BOKD was introduced for knowledge distillation, which compresses the parameters of the student model while ensuring the accuracy of flow detection. The experimental results on the CIC-UNSW-NB15 and CIC-IDS2017 datasets show that the parameters of the distilled student model occupy less than 2.5 MB of memory, and the accuracy is 0.911 2 and 0.995 4, respectively, which is improved compared with the pre-distillation model and is close to the performance of the teacher model. This method achieves a balance between performance and efficiency, providing an effective and lightweight solution for anomaly traffic detection.

    参考文献
    相似文献
    引证文献
引用本文

陈娟,王寒野,王占丰,等.基于卷积神经网络和知识蒸馏的网络异常流量检测方法[J]. 信息对抗技术,2026, 5(2):112-126.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2025-10-27
  • 最后修改日期:2025-12-29
  • 录用日期:
  • 在线发布日期: 2026-04-01
  • 出版日期:
文章二维码
×
喜报
《信息对抗技术》入选中国科学引文数据库来源期刊列表
(2025-2026年度)