MamNet: A Novel Hybrid Model for Time-Series Forecasting and Frequency Pattern Analysis in Network Traffic
Article Information
Abstract
The abnormal fluctuations in network traffic may indicate potential security threats or system failures. Therefore, efficient network traffic prediction and anomaly detection methods are crucial for network security and traffic management. This paper proposes a novel network traffic prediction and anomaly detection model, MamNet, which integrates time-domain modeling and frequency-domain feature extraction. The model first captures the long-term dependencies of network traffic through the Mamba module (time-domain modeling), and then identifies periodic fluctuations in the traffic using Fourier Transform (frequency-domain feature extraction). In the feature fusion layer, multi-scale information is integrated to enhance the model’s ability to detect network traffic anomalies. Experiments conducted on the UNSW-NB15 and CAIDA datasets demonstrate that MamNet outperforms several recent mainstream models in terms of accuracy, recall, and F1-Score. Specifically, it achieves an improvement of approximately 2\% to 4\% in detection performance for complex traffic patterns and long-term trend detection. The results indicate that MamNet effectively captures anomalies in network traffic across different time scales and is suitable for anomaly detection tasks in network security and traffic management. Future work could further optimize the model structure by incorporating external network event information, thereby improving the model’s adaptability and stability in complex network environments.
Graphical Abstract
Keywords
Data Availability Statement
Funding
Conflicts of Interest
Ethical Approval and Consent to Participate
References
- Aouedi, O., Le, V. A., Piamrat, K., & Ji, Y. (2025). Deep learning on network traffic prediction: Recent advances, analysis, and future directions. ACM Computing Surveys, 57(6), 1-37.
[CrossRef] [Google Scholar] - Joshi, M., & Hadi, T. H. (2015). A review of network traffic analysis and prediction techniques. arXiv preprint arXiv:1507.05722.
[CrossRef] [Google Scholar] - Hua, Y., Zhao, Z., Li, R., Chen, X., Liu, Z., & Zhang, H. (2019). Deep learning with long short-term memory for time series prediction. IEEE Communications Magazine, 57(6), 114-119.
[CrossRef] [Google Scholar] - Ferreira, G. O., Ravazzi, C., Dabbene, F., Calafiore, G. C., & Fiore, M. (2023). Forecasting network traffic: A survey and tutorial with open-source comparative evaluation. IEEE Access, 11, 6018-6044.
[CrossRef] [Google Scholar] - Ramakrishnan, N., & Soni, T. (2018, December). Network traffic prediction using recurrent neural networks. In 2018 17th IEEE international conference on machine learning and applications (ICMLA) (pp. 187-193). IEEE.
[CrossRef] [Google Scholar] - Xiong, Y., Dong, S., Liu, R., Shi, F., & Jing, X. (2023). IoT network traffic classification: a deep learning method with Fourier transform-assisted hyperparameter optimization. Frontiers in Physics, 11, 1273862.
[CrossRef] [Google Scholar] - Yang, R., Cao, L., & YANG, J. (2024). Rethinking fourier transform from a basis functions perspective for long-term time series forecasting. Advances in Neural Information Processing Systems, 37, 8515-8540.
[Google Scholar] - Cui, H., & Gong, M. (2024). Network traffic prediction based on short-time Fourier transform and Koopa. In 2024 3rd International Conference on Cloud Computing, Big Data Application and Software Engineering (pp. 163-166). IEEE.
[CrossRef] [Google Scholar] - Yang, H., Li, X., Qiang, W., Zhao, Y., Zhang, W., & Tang, C. (2021). A network traffic forecasting method based on SA optimized ARIMA–BP neural network. Computer Networks, 193, 108102.
[CrossRef] [Google Scholar] - Vinayakumar, R., Soman, K. P., & Poornachandran, P. (2017, September). Applying deep learning approaches for network traffic prediction. In 2017 International Conference on Advances in Computing, Communications and Informatics (ICACCI) (pp. 2353-2358). IEEE.
[CrossRef] [Google Scholar] - Lazaris, A., & Prasanna, V. K. (2019, April). An LSTM framework for modeling network traffic. In 2019 IFIP/IEEE Symposium on Integrated Network and Service Management (IM) (pp. 19-24). IEEE.
[Google Scholar] - Wan, X., Liu, H., Xu, H., & Zhang, X. (2022). Network traffic prediction based on LSTM and transfer learning. IEEE Access, 10, 86181-86190.
[CrossRef] [Google Scholar] - Shubo, S., & Haipeng, H. (2024). Network traffic prediction based on the multi-time granularity GRU-BP neural network. IEEE Access, 12, 96997-97003.
[CrossRef] [Google Scholar] - Liu, Z., Li, W., Feng, J., & Zhang, J. (2022). Research on satellite network traffic prediction based on improved GRU neural network. Sensors, 22(22), 8678.
[CrossRef] [Google Scholar] - Wass, D. (2021). Transformer learning for traffic prediction in mobile networks (Dissertation). Retrieved from https://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-304575
[Google Scholar] - Cao, J., Wang, D., Qu, Z., Sun, H., Li, B., & Chen, C. L. (2020). An improved network traffic classification model based on a support vector machine. Symmetry, 12(2), 301.
[CrossRef] [Google Scholar] - Dong, S. (2021). Multi class SVM algorithm with active learning for network traffic classification. Expert Systems with Applications, 176, 114885.
[CrossRef] [Google Scholar] - Zhao, S., Xing, S., & Mao, G. (2022). An attention and wavelet based spatial-temporal graph neural network for traffic flow and speed prediction. Mathematics, 10(19), 3507.
[CrossRef] [Google Scholar] - Lei, T., Li, J., & Yang, K. (2024). Time and frequency-domain feature fusion network for multivariate time series classification. Expert Systems with Applications, 252, 124155.
[CrossRef] [Google Scholar] - Wu, H., Hu, T., Liu, Y., Zhou, H., Wang, J., & Long, M. (2022). Timesnet: Temporal 2d-variation modeling for general time series analysis. arXiv preprint arXiv:2210.02186.
[Google Scholar] - Ni, J., Chen, W., Tong, J., Wang, H., & Wu, L. (2023). High-speed anomaly traffic detection based on staged frequency domain features. Journal of Information Security and Applications, 77, 103575.
[CrossRef] [Google Scholar] - Jiang, D., Xu, Z., Chen, Z., Han, Y., & Xu, H. (2011). Joint time–frequency sparse estimation of large-scale network traffic. Computer Networks, 55(15), 3533-3547.
[CrossRef] [Google Scholar] - Huang, X., Yang, Y., Yang, C., & Cui, Y. (2024, August). TFDTSTGCN: Time-frequency domain transformation space-time graph convolution. In 2024 WRC Symposium on Advanced Robotics and Automation (WRC SARA) (pp. 430-436). IEEE.
[CrossRef] [Google Scholar] - Salamanis, A. I., Lipitakis, A. D., Gravvanis, G. A., Kotsiantis, S., & Anagnostopoulos, D. (2021). An adaptive cluster-based sparse autoregressive model for large-scale multi-step traffic forecasting. Expert Systems with Applications, 180, 115093.
[CrossRef] [Google Scholar] - Abry, P., & Veitch, D. (2002). Wavelet analysis of long-range-dependent traffic. IEEE transactions on information theory, 44(1), 2-15.
[CrossRef] [Google Scholar] - Tian, Z. (2020). Network traffic prediction method based on wavelet transform and multiple models fusion. International Journal of Communication Systems, 33(11), e4415.
[CrossRef] [Google Scholar] - Tang, J., Li, J., Gao, Z., & Li, J. (2022, June). Rethinking graph neural networks for anomaly detection. In International conference on machine learning (pp. 21076-21089). PMLR.
[Google Scholar] - Xing, J., Xiao, Z., Wu, Y., Zhang, J., Xu, Z., & Mai, Z. (2024, November). Network traffic forecasting via fuzzy spatial-temporal fusion graph neural networks. In 2024 11th International Conference on Soft Computing & Machine Intelligence (ISCMI) (pp. 282-286). IEEE.
[CrossRef] [Google Scholar] - Lin, W., Zhang, Z., Ren, G., Zhao, Y., Ma, J., & Cao, Q. (2025). MGCN: Mamba-integrated spatiotemporal graph convolutional network for long-term traffic forecasting. Knowledge-Based Systems, 309, 112875.
[CrossRef] [Google Scholar] - Mongelli, M., Aiello, M., Cambiaso, E., & Papaleo, G. (2015, June). Detection of DoS attacks through Fourier transform and mutual information. In 2015 IEEE International Conference on Communications (ICC) (pp. 7204-7209). IEEE.
[CrossRef] [Google Scholar] - Herrera, M., Proselkov, Y., Perez-Hernandez, M., & Parlikad, A. K. (2021). Mining graph-Fourier transform time series for anomaly detection of internet traffic at core and metro networks. IEEE Access, 9, 8997-9011.
[CrossRef] [Google Scholar] - Moustafa, N., & Slay, J. (2015, November). UNSW-NB15: a comprehensive data set for network intrusion detection systems (UNSW-NB15 network data set). In 2015 military communications and information systems conference (MilCIS) (pp. 1-6). IEEE.
[CrossRef] [Google Scholar] - Gu, A., & Dao, T. (2023). Mamba: Linear-time sequence modeling with selective state spaces. arXiv preprint arXiv:2312.00752.
[CrossRef] [Google Scholar] - Kang, X., Song, B., & Sun, F. (2019). A deep similarity metric method based on incomplete data for traffic anomaly detection in IoT. Applied Sciences, 9(1), 135.
[CrossRef] [Google Scholar] - Nychis, G., Sekar, V., Andersen, D. G., Kim, H., & Zhang, H. (2008, October). An empirical evaluation of entropy-based traffic anomaly detection. In Proceedings of the 8th ACM SIGCOMM conference on Internet measurement (pp. 151-156).
[CrossRef] [Google Scholar] - Zhang, H., Zou, Y., Yang, X., & Yang, H. (2022). A temporal fusion transformer for short-term freeway traffic speed multistep prediction. Neurocomputing, 500, 329-340.
[CrossRef] [Google Scholar] - Zhou, H., Zhang, S., Peng, J., Zhang, S., Li, J., Xiong, H., & Zhang, W. (2021, May). Informer: Beyond efficient transformer for long sequence time-series forecasting. In Proceedings of the AAAI conference on artificial intelligence (Vol. 35, No. 12, pp. 11106-11115).
[CrossRef] [Google Scholar] - Oreshkin, B. N., Carpov, D., Chapados, N., & Bengio, Y. (2019). N-BEATS: Neural basis expansion analysis for interpretable time series forecasting. arXiv preprint arXiv:1905.10437.
[Google Scholar] - Wu, H., Xu, J., Wang, J., & Long, M. (2021). Autoformer: Decomposition transformers with auto-correlation for long-term series forecasting. Advances in neural information processing systems, 34, 22419-22430.
[Google Scholar] - Xie, R., Wen, J., Chen, X., Xie, K., Xiong, N., Zhang, D., ... & Li, K. (2024). M $^{2} $ STL: Multi-Range Multi-Level Spatial-Temporal Learning Model for Network Traffic Prediction. IEEE Transactions on Network Science and Engineering, 11(5), 4315-4329.
[CrossRef] [Google Scholar]
Cited By (15)
-
Zhongwei Hou, Jin Han, Wenbing Yu, Fenglei Han, Xuefu Zhang. Research on spatial coordinate perception technology for water-rich underground channels based on inertial signal representation analysis.
Measurement, 2026 , 280 .
[CrossRef] -
Rachid Bourday, Ali Zaaouat, Issam Aattouchi, Mounir Ait Kerroum. Explainable hybrid deep learning framework for cryptocurrency price forecasting using CNN-BiLSTM-TCN and SHAP analysis.
Results in Engineering, 2026 , 29 .
[CrossRef] -
Liangliang Li, Guihua Liu, Feng Xu, Wenjin Liao, Wenjie Zhao. Mamba-enhanced multi-view stereo: Geometry-aware feature fusion and 3D cost volume regularization.
Applied Soft Computing, 2026 , 195 .
[CrossRef] -
Haoran Liu, Ke Guo, Yan Li, Shaohua Wang, Jun Yao, Zi Wang. MRLA: A Multi-Scale Time-Frequency Representation Learning Model with Lightweight Attention for Network Traffic Anomaly Detection.
Applied Sciences, 2026 , 16 (6).
[CrossRef] -
Jiecheng Wang, Yanan Lv, Ying Liu. Multilingual sentiment analysis for cross-border e-commerce reviews based on DeepSeek model: the M3SA-Adapter approach.
Applied Intelligence, 2026 , 56 (5).
[CrossRef] -
Wenyi Liu, Tongming Jian, Lei Meng, Di Song, Jianbin Cao. A novel wind turbine fault diagnosis method based on improved TFMST and DSC-CNN-GRU model.
Journal of Measurements in Engineering, 2026 , 14 (1).
[CrossRef] -
Yuxin Jia, Nan Guo, |Tiewei Shang, Wenlu Li, Yueyang Sun, Junfei Qiao. A Bayesian‐Optimized GRU Network With WMD‐EFAST Self‐Organizing Mechanism for Multimodal Atmospheric Pollutant Prediction.
International Journal of Adaptive Control and Signal Processing, 2026 .
[CrossRef] -
Xiangyan Wang, Shuangcheng Huang, Qingbo Lu, Xinyi Guo. Environmental Control for Edible Fungi Cultivation Based on Temporal Information and Deep Learning.
Food Bioengineering, 2026 .
[CrossRef] -
Yating Yu, Hongyue Guo, Peng Jia, Lidong Wang, Witold Pedrycz. Trend granulation-based time series long-term prediction under privacy protection.
Applied Soft Computing, 2026 , 203 .
[CrossRef] -
Yuting Bai, Haoran Tian, Xinyi Xue, Tingli Su, Xuebo Jin, Jianlei Kong. Echo state network and variational autoencoder integrated with online optimization for robust pose estimation in unmanned surface vehicles.
Measurement, 2026 , 276 .
[CrossRef] -
Guanglei Zhang. Vehicle component defect detection method based on transformer and multi-scale feature fusion.
Scientific Reports, 2026 , 16 (1).
[CrossRef] -
Yahya Yakhlaf, Roumaissa Bekkouche, Hadhami Garbouge, Mohamed Belaoued, Samir Dawaliby. .
2025 9th Cyber Security in Networking Conference (CSNet), 2025 .
[CrossRef] -
Vaishnavi Thesma, Glen C. Rains, Javad Mohammadpour Velni. Long-Term Cotton Node Count Prediction Using Feature Selection, Data Augmentation, and Multivariate Time-Series Forecasting.
Applied Sciences, 2025 , 15 (16).
[CrossRef] -
Xue-Bo Jin, Ye-Qing Wang, Jian-Lei Kong, Yu-Ting Bai, Ting-Li Su. AttSCNs: A Bayesian-Optimized Hybrid Model with Attention-Guided Stochastic Configuration Networks for Robust GPS Trajectory Prediction.
Entropy, 2025 , 27 (11).
[CrossRef] -
Zekai Yan, Bowen Cai, Jinlei Zhang. STAC-Net: A hierarchical framework for modeling and predicting urban traffic flow with uncertainty quantification.
PLOS One, 2025 , 20 (12).
[CrossRef]
Cite This Article
TY - JOUR AU - Zhang, Yujun AU - Li, Runlong AU - Liang, Xiaoxiang AU - Yang, Xinhao AU - Su, Tian AU - Liu, Bo AU - Zhou, Yan PY - 2025 DA - 2025/06/19 TI - MamNet: A Novel Hybrid Model for Time-Series Forecasting and Frequency Pattern Analysis in Network Traffic JO - ICCK Transactions on Intelligent Systematics T2 - ICCK Transactions on Intelligent Systematics JF - ICCK Transactions on Intelligent Systematics VL - 2 IS - 2 SP - 109 EP - 124 DO - 10.62762/TIS.2025.347925 UR - https://www.icck.org/article/abs/tis.2025.347925 KW - network traffic KW - time-series KW - long-term dependency KW - frequency domain KW - mamba KW - fourier transform AB - The abnormal fluctuations in network traffic may indicate potential security threats or system failures. Therefore, efficient network traffic prediction and anomaly detection methods are crucial for network security and traffic management. This paper proposes a novel network traffic prediction and anomaly detection model, MamNet, which integrates time-domain modeling and frequency-domain feature extraction. The model first captures the long-term dependencies of network traffic through the Mamba module (time-domain modeling), and then identifies periodic fluctuations in the traffic using Fourier Transform (frequency-domain feature extraction). In the feature fusion layer, multi-scale information is integrated to enhance the model’s ability to detect network traffic anomalies. Experiments conducted on the UNSW-NB15 and CAIDA datasets demonstrate that MamNet outperforms several recent mainstream models in terms of accuracy, recall, and F1-Score. Specifically, it achieves an improvement of approximately 2\% to 4\% in detection performance for complex traffic patterns and long-term trend detection. The results indicate that MamNet effectively captures anomalies in network traffic across different time scales and is suitable for anomaly detection tasks in network security and traffic management. Future work could further optimize the model structure by incorporating external network event information, thereby improving the model’s adaptability and stability in complex network environments. SN - 3068-5079 PB - Institute of Central Computation and Knowledge LA - English ER -
@article{Zhang2025MamNet,
author = {Yujun Zhang and Runlong Li and Xiaoxiang Liang and Xinhao Yang and Tian Su and Bo Liu and Yan Zhou},
title = {MamNet: A Novel Hybrid Model for Time-Series Forecasting and Frequency Pattern Analysis in Network Traffic},
journal = {ICCK Transactions on Intelligent Systematics},
year = {2025},
volume = {2},
number = {2},
pages = {109-124},
doi = {10.62762/TIS.2025.347925},
url = {https://www.icck.org/article/abs/tis.2025.347925},
abstract = {The abnormal fluctuations in network traffic may indicate potential security threats or system failures. Therefore, efficient network traffic prediction and anomaly detection methods are crucial for network security and traffic management. This paper proposes a novel network traffic prediction and anomaly detection model, MamNet, which integrates time-domain modeling and frequency-domain feature extraction. The model first captures the long-term dependencies of network traffic through the Mamba module (time-domain modeling), and then identifies periodic fluctuations in the traffic using Fourier Transform (frequency-domain feature extraction). In the feature fusion layer, multi-scale information is integrated to enhance the model’s ability to detect network traffic anomalies. Experiments conducted on the UNSW-NB15 and CAIDA datasets demonstrate that MamNet outperforms several recent mainstream models in terms of accuracy, recall, and F1-Score. Specifically, it achieves an improvement of approximately 2\\% to 4\\% in detection performance for complex traffic patterns and long-term trend detection. The results indicate that MamNet effectively captures anomalies in network traffic across different time scales and is suitable for anomaly detection tasks in network security and traffic management. Future work could further optimize the model structure by incorporating external network event information, thereby improving the model’s adaptability and stability in complex network environments.},
keywords = {network traffic, time-series, long-term dependency, frequency domain, mamba, fourier transform},
issn = {3068-5079},
publisher = {Institute of Central Computation and Knowledge}
}
Publisher's Note
ICCK stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and Permissions
Portico