• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2025, Vol. 47 ›› Issue (11): 1953-1963.

• Computer Network and Znformation Security • Previous Articles     Next Articles

Network traffic anomaly detection based on gated fusion and multi-scale convolution

YIN Chunyong,LI Rongbiao   

  1. (School of Computer Science,School of Cyber Science and Engineering,
    Nanjing University of Information Science & Technology,Nanjing 210044,China)
  • Received:2024-03-18 Revised:2024-05-20 Online:2025-11-25 Published:2025-12-05

Abstract: In the current field of network traffic anomaly detection, problems such as complex model structures and high computational resource requirements are widespread, making it difficult to deploy and perform detection on resource-constrained devices. To address these problems, a network traffic anomaly detection model  based on gated feature fusion and multi-scale convolution, named GFMCAD, is proposed. Firstly, principal component analysis is combined with a clustering method to reduce the complexity of network traffic data. Secondly, parallel multi-scale convolution blocks composed of one-dimensional convolutional neural networks and multi-layer long short-term memory networks are used to extract spatial and temporal features of network traffic at different scales, respectively. Then, the extracted spatial and temporal features are adaptively fused through a gated feature fusion module. Finally, residual fully connected layers and the Softmax function are used to identify abnormal traffic. According to the experimental results on three benchmark datasets, GFMCAD achieves accuracies of 0.971 6, 0.965 8, and 0.987 5, respectively. Experimental results show that GFMCAD reduces the consumption of computational resources while improving the detection capability of the model.


Key words: anomaly detection, network traffic, convolutional neural network, long short-term memory, deep learning