Tianhao Hou , Zheng Zhang , Qiuling Wu , Yan Yan , Hao Li
{"title":"Network traffic anomaly detection method based on stacked fusion time features","authors":"Tianhao Hou , Zheng Zhang , Qiuling Wu , Yan Yan , Hao Li","doi":"10.1016/j.comnet.2025.111729","DOIUrl":null,"url":null,"abstract":"<div><div>The rapid growth of Network Traffic (NT) necessitates reliable anomaly detection to mitigate security threats and ensure system stability. An accurate NT prediction strategy is key in this process. However, current network traffic anomaly detection (NTAD) methods are limited in accuracy due to their inability to adequately balance the modeling of short-term and long-term temporal dependencies in network traffic. This paper proposes an NTAD method based on a Stacked Fusion Time Feature (SFTF) framework to overcome this limitation. Specifically, a stacked time feature encoder is first constructed to capture time-series patterns across multiple resolutions, generating hierarchical feature sequences. These sequences are then fed into a multi-timescale feature fusion module based on a temporal convolutional network to integrate local and global temporal features. In addition, an interquartile range-based detection mechanism is established to identify anomalies from the prediction results. Experiments are conducted on two representative datasets, Yahoo S5 and SMD. On Yahoo S5, SFTF achieves an average AUC of 0.9647 and an <span><math><msub><mi>F</mi><mn>1</mn></msub></math></span> score of 0.9750; on SMD, SFTF attains an <span><math><msub><mi>F</mi><mn>1</mn></msub></math></span> score of 0.9713, with precision and recall of 0.9803 and 0.9622, respectively. These results demonstrate that SFTF can effectively identify abnormal states and accurately locate network anomalies across datasets with different temporal characteristics. The proposed method offers a robust and accurate solution for NTAD in large-scale, low-latency environments, with promising applications in bandwidth optimization and cybersecurity.</div></div>","PeriodicalId":50637,"journal":{"name":"Computer Networks","volume":"272 ","pages":"Article 111729"},"PeriodicalIF":4.6000,"publicationDate":"2025-09-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Networks","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1389128625006954","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
The rapid growth of Network Traffic (NT) necessitates reliable anomaly detection to mitigate security threats and ensure system stability. An accurate NT prediction strategy is key in this process. However, current network traffic anomaly detection (NTAD) methods are limited in accuracy due to their inability to adequately balance the modeling of short-term and long-term temporal dependencies in network traffic. This paper proposes an NTAD method based on a Stacked Fusion Time Feature (SFTF) framework to overcome this limitation. Specifically, a stacked time feature encoder is first constructed to capture time-series patterns across multiple resolutions, generating hierarchical feature sequences. These sequences are then fed into a multi-timescale feature fusion module based on a temporal convolutional network to integrate local and global temporal features. In addition, an interquartile range-based detection mechanism is established to identify anomalies from the prediction results. Experiments are conducted on two representative datasets, Yahoo S5 and SMD. On Yahoo S5, SFTF achieves an average AUC of 0.9647 and an score of 0.9750; on SMD, SFTF attains an score of 0.9713, with precision and recall of 0.9803 and 0.9622, respectively. These results demonstrate that SFTF can effectively identify abnormal states and accurately locate network anomalies across datasets with different temporal characteristics. The proposed method offers a robust and accurate solution for NTAD in large-scale, low-latency environments, with promising applications in bandwidth optimization and cybersecurity.
期刊介绍:
Computer Networks is an international, archival journal providing a publication vehicle for complete coverage of all topics of interest to those involved in the computer communications networking area. The audience includes researchers, managers and operators of networks as well as designers and implementors. The Editorial Board will consider any material for publication that is of interest to those groups.