一种基于半监督的双通道多尺度门控融合的网络流量异常检测模型OA
A Network Traffic Anomaly Detection Model Based on Semi-supervised Two-channel Multi-scale Gating Fusion
随着网络攻击的日益增多,网络流量异常检测对于维护网络安全稳定也越来越重要.然而,现有方法在特征提取方面往往难以同时有效捕捉网络流量的静态统计特征和动态时序特征,导致在复杂多变的网络环境下检测性能受限.为解决这些问题,提出了一种基于半监督学习的双通道多尺度门控融合异常检测模型(MSAD).该模型首先通过多尺度卷积神经网络提取流量的静态统计特征,包括包数量、总字节数等.其次,通过双向GRU网络并结合多头注意力机制对网络流量数据的时序特征进行捕捉.最后通过门控融合机制对不同模态特征进行自适应融合.同时,针对半监督学习中伪标签生成可信度不足的问题,提出了一种双阶段对抗性伪标签生成策略,有效提升了伪标签的鲁棒性.实验结果表明,在标注数据有限的条件下,该模型在CICIDS2017数据集上准确率、精确率、召回率和F1分数分别达到99.63%,99.54%,99.9%和99.72%,显著优于传统机器学习和深度学习方法.
With the increasing number of network attacks,network traffic anomaly detection is becoming more and more important for maintaining network security and stability.However,existing methods are often difficult to effectively capture both static statistical features and dynamic temporal features of network traffic during feature extraction,resulting in limited detection performance in complex and evolving network environments.To address these issues,this paper proposes a two-channel multiscale gated fusion anomaly detection model(MSAD)based on semi-supervised learning.The model first extracts static statistical features of the traffic,including the number of packets,total bytes,etc.,through a multiscale convolutional neural network.Secondly,the temporal features of network traffic data are captured through a bidirectional GRU network and combined with a multi-head attention mechanism.Finally,adaptive fusion of different modal features is performed through gated fusion mechanism.Meanwhile,for the problem of insufficient credibility of pseudo-label generation in semi-supervised learning,a two-stage adversarial pseudo-label generation strategy is proposed,which effectively improves the robustness of pseudo-labels.The experimental results show that under the condition of limited labeled data,the model proposed in this paper achieves 99.63%,99.54%,99.9%and 99.72%of accuracy,precision,recall and F1 value on the CICIDS 2017 dataset,which is significantly better than traditional machine learning and deep learning methods.
陈颖;范润椿;文锋
北京电子科技学院密码科学与技术系 北京 100070北京电子科技学院密码科学与技术系 北京 100070北京银信长远科技股份有限公司 北京 100080
信息技术与安全科学
异常检测半监督学习多尺度卷积神经网络双向GRU网络门控融合机制
anomaly detectionsemi-supervised learningmulti-scale convolutional neural networksbidirectional GRU networksgated fusion mechanisms
《信息安全研究》 2026 (6)
566-574,9
评论