WT-CFormer:基于时空分析的高性能Web流量异常检测
WT-CFormer: High-Performance Web Traffic Anomaly Detection Based on Spatiotemporal Analysis
AI总结:
针对Web流量来源分布差异与类别不平衡导致的异常检测难题,提出融合Transformer与CNN的WT-CFormer模型,可高效捕获时空特征,在多项指标上优于现有方法且收敛更快。
摘要:
Web流量(WT)是指捕获用户访问网站期间与Web服务器之间传输的数据量的时间序列数据。然而,Web流量因来源不同存在分布差异,且正常与异常类别间存在不平衡性,因此难以准确高效地识别异常Web流量。用于Web流量异常检测的深度神经网络方法已取得了前沿的分类性能。为实现网络攻击的高性能时空检测,我们创新性地设计了WT-CFormer,该模型融合了Transformer与CNN,可有效捕获时间和空间特征。我们开展了大量实验评估所提出的方法。结果表明,WT-CFormer性能最优,召回率高达96.79%,精确率达97.35%,F1分数达97.07%,准确率达99.43%,分别比当前最优方法高出7.09%、1.15%、4.77%和0.83%,性能紧随其后的依次是C-LSTM、CTGA、随机森林和KNN算法。此外,我们发现仅训练50个epoch的WT-CFormer的分类性能就优于训练500个epoch的C-LSTM,极大提升了收敛性能。最后,我们通过消融实验验证了WT-CFormer内部各组件的必要性。
英文摘要:
Web traffic (WT) refers to time-series data that captures the volume of data transmitted to and from a web server during a user's visit to a website. However, web traffic has different distributions coming from various sources as well as the imbalance between normal and abnormal categories, it is difficult to accurately and efficiently identify abnormal web traffic. Deep neural network approaches for web traffic anomaly detection have achieved cutting-edge classification performance. In order to achieve high-performance spatiotemporal detection of network attacks, we innovatively design WT-CFormer, which integrates Transformer and CNN, effectively capturing the temporal and spatial characteristics. We conduct a large numbr of experiments to evaluate the method we proposed. The results show that WT-CFormer has the highest performance, obtaining a recall as high as 96.79%, a precision of 97.35%, an F1 score of 97.07%, and an accuracy of 99.43%, which is 7.09%,1.15%, 4.77%, and 0.83% better than the state-of-the-art method, followed by C-LSTM, CTGA, random forest, and KNN algorithms. In addition, we find that the classification performance of WT-CFormer with only 50 training epochs outperforms C-LSTM with 500 training epochs, which greatly improves the convergence performance. Finally, we perform ablation experiments to demonstrate the necessity of each component within WT-CFormer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。