首页|期刊导航|沈阳工业大学学报|融合ResNet和SRU的网络数据流实时异常流量检测技术

融合ResNet和SRU的网络数据流实时异常流量检测技术OA

Real-time abnormal traffic detection technology for network data streams based on ResNet and SRU

中文摘要英文摘要

[目的]随着工业互联网的快速发展,网络流量中的异常检测已成为保障网络安全的关键任务.然而,传统机器学习方法在特征提取和泛化能力方面存在明显不足,难以应对高维度、多样化及海量的网络流量数据.为解决上述问题,本文提出 一种融合简单循环单元(simple recurrent unit,SRU)与改进型残差网络(residual network,ResNet)的异常流量检测模型.该模型通过联合提取网络流量的时序与空间特征,旨在提升检测的准确性与效率,同时缓解过拟合与梯度消失等问题,为网络异常检测提供一种更高效、可靠的解决方案.[方法]构建了一个基于SRU与改进型ResNet融合的深度学习模型.SRU网络负责筛选数据并提取时间序列特征,通过遗忘门与重置门实现高效的并行计算,显著提升训练速度;改进型ResNet采用空洞残差结构,引入空洞卷积以扩展感受野,增强空间特征提取能力,并缓解梯度消失问题.两种网络的融合使模型能够全面学习网络流量中的时空特征.为评估模型性能,选用KDD Cup 99数据集进行二分类实验,并与其他主流模型进行对比分析.[结果]实验结果表明,所提出的ResNet-SRU模型在KDD Cup 99数据集上获得了 98.89%的分类准确率和98.66%的精确率,较CNN-LSTM、ResNet-GRU和CNN-GRU等对比模型提升约1%.此外,该模型在训练过程中表现出更快的收敛速度和更高的稳定性.在准确率、精确率、召回率及AUC值上均优于其他模型,验证了其在异常流量检测任务中的有效性与鲁棒性.尽管模型在训练与测试时间上略有增加,但检测性能的显著提升弥补了其计算开销.[结论]基于ResNet与SRU融合的异常流量检测方法,在处理高维网络流量数据时展现出优越的特征提取能力与分类性能.通过结合空洞残差结构的空间建模优势与SRU的时间特征学习能力,有效弥补了传统模型在特征表达和泛化能力方面的不足.然而,该模型在参数规模和运行成本方面仍存在优化空间.未来研究将重点关注模型结构的轻量化设计,提高对不平衡样本的检测性能,并进一步降低计算资源消耗,以增强其在实际网络环境中的应用价值.

[Objective]With the rapid development of the industrial internet,detecting abnormal traffic in network data streams has become a critical task for ensuring network security.Traditional machine learning models struggle with feature extraction and generalization,making it difficult to handle high-dimensional,diverse,and massive network traffic data.To address these challenges,this study proposed a novel abnormal traffic detection method combining a simple recurrent unit(SRU)with an improved residual network(ResNet).This method aims to enhance detection accuracy and efficiency through spatiotemporal feature extraction while mitigating issues such as overfitting and the gradient vanishing problem,thus offering a more efficient and reliable solution for network abnormal traffic detection.[Methods]A deep learning model integrating SRU and the improved ResNet was constructed.The SRU network handled data screening and temporal feature extraction,enabling efficient parallel computation via reset and forget gates,which significantly boosted training speed.The improved ResNet adopted an atrous residual structure,expanding the receptive field with atrous convolution to enhance feature extraction and alleviate gradient vanishing.By combining these networks,both spatial and temporal features of network traffic data were captured comprehensively.Experiments were conducted on the KDD Cup 99 dataset for binary classification to evaluate the model's performance.[Results]The experimental results show that the ResNet-SRU model achieves a classification accuracy of 98.89%and a precision of 98.66%on the KDD Cup 99 dataset.Compared to methods such as CNN-LSTM,ResNet-GRU,and CNN-GRU,it achieves approximately a 1%improvement.During training,the model demonstrates faster convergence and superior stability.It outperforms comparative models in accuracy,precision,recall,and AUC,highlighting its effectiveness and robustness in abnormal traffic detection.Although training and testing times are slightly longer,the significant improvement in detection performance justifies this trade-off.[Conclusions]The abnormal traffic detection method based on ResNet and SRU shows remarkable advantages in processing high-dimensional network traffic data.By integrating the advantages of atrous residual structures for spatial modeling with SRU's temporal feature extraction,it effectively overcomes the limitations of traditional models in feature extraction and generalization,enhancing detection accuracy and efficiency.However,the model's parameter scale and computational cost still require optimization.Future research will focus on lightweight model design,improving detection performance for imbalanced samples,and further reducing computational overhead to enhance its practical application value.

周保红;张玉松;刘道君;沈柯言;石磊

重庆大学计算机学院,重庆 400044||中国长江电力股份有限公司三峡水利枢纽梯级调度通信中心,湖北宜昌 443002中国长江电力股份有限公司三峡水利枢纽梯级调度通信中心,湖北宜昌 443002中国长江电力股份有限公司三峡水利枢纽梯级调度通信中心,湖北宜昌 443002中国长江电力股份有限公司三峡水利枢纽梯级调度通信中心,湖北宜昌 443002泰豪软件股份有限公司数字能源事业部,江西南昌 330012

信息技术与安全科学

异常流量检测长短记忆网络空洞残差时空融合序列模型特征优化

abnormal traffic detectionlong short-term memory networkatrous residualspatiotemporal fusionsequence modelfeature optimization

《沈阳工业大学学报》 2026 (3)

103-110,8

水利部重大科技项目(SKS-2022120)湖北省自然科学基金创新发展联合基金重点项目(2022CFD027)中国长江电力股份有限公司科研项目(2422020006).

10.7688/j.issn.1000-1646.2026.03.14

评论