Proceedings

No More Shortcuts: Network Traffic Anomaly Detection via Bidirectional Prediction

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 2807-2815.

https://doi.org/10.24963/ijcai.2026/312

Abstract

Network Traffic Anomaly Detection (NTAD), particularly under zero-positive settings, is a critical task in cybersecurity. Existing zero-positive NTAD approaches primarily rely on reconstruction-based pipelines. Nevertheless, these methods are susceptible to an identical shortcut issue, where models indiscriminately reconstruct both normal and anomalous inputs, leading to anomaly overgeneralization. To address this limitation, we propose BiPred, the first prediction-based detection paradigm for NTAD. BiPred symmetrically divides each network traffic sample into two segments and reformulates the NTAD task as a bidirectional prediction across these two segments. Unlike reconstruction-based methods, our BiPred not only eliminates shortcut learning by design but also establishes explicit bidirectional contextual dependencies, making it more sensitive to anomalous traffic. Moreover, we develop a novel Residual Scanning Mamba block that encodes multi-view contextual information to support bidirectional prediction. A residual fusion mechanism is proposed for the multi-view scanning Mamba to suppress the accumulation of inter-view redundancy. This design prevents representation degradation and provides multi-view contextual details for prediction. Extensive experiments demonstrate the superiority of our BiPred paradigm, highlighting a new research direction for NTAD. Code is available at https://github.com/ikun0124/BiPred.

  1. [Cai et al., 2026] Jiati Cai, Yuxun Zhao, Yan Liu, Ting Zhong, and Fan Zhou. Scope-diff: A spatiotemporal comprehensive perception diffusion framework for video anomaly detection. Neurocomputing, 678:133157, 2026.
  2. [Chen et al., 2026a] Bin Chen, Hanting Shen, Zhangtao Cheng, Xueting Liu, Ting Zhong, and Fan Zhou. Un- veiling cross-modal consistency: Taming inter-and intra- modal noise for robust multi-modal knowledge graph completion. Information Processing & Management, 63(2):104472, 2026.
  3. [Chen et al., 2026b] Mengyang Chen, Lingwei Wei, Wei Zhou, and Songlin Hu. An information-theoretic propa- gation denoising and fusion framework for fake news de- tection. arXiv: 2605.02259, 2026. IJCAI
  4. [Dang et al., 2025] Zhangxuan Dang, Yu Zheng, Xinglin Lian, Chunlei Peng, Qiuyu Chen, and Xinbo Gao. Semi- supervised learning for anomaly traffic detection via bidi- rectional normalizing flows. IEEE Transactions on Net- work and Service Management, 22(5):5106-5117, 2025.
  5. [Deng et al., 2025] Xianwen Deng, Ruijie Zhao, Yanhao Wang, Mingwei Zhan, Zhi Xue, and Yijun Wang. Count- mamba: A generalized website fingerprinting attack via coarse-grained representation and fine-grained prediction. In IEEE Symposium on Security and Privacy, pages 1419- 1437, 2025.
  6. [Eldele et al., 2024] Emadeldeen Eldele, Mohamed Ragab, Zhenghua Chen, Min Wu, and Xiaoli Li. Tslanet: Re- thinking transformers for time series representation learn- ing. In International Conference on Machine Learning, pages 12409-12428, 2024.
  7. [Fu et al., 2024] Jiadong Fu, Jiang Fang, Jiyan Sun, Shangyuan Zhuang, Liru Geng, and Yinlong Liu. Loft: Lora-based efficient and robust fine-tuning framework for adversarial training. In International Joint Conference on Neural Networks, pages 1-8, 2024.
  8. [Fu et al., 2026a] Jiadong Fu, Jiang Fang, Jiyan Sun, Laile Xi, Shangyuan Zhuang, Yinlong Liu, and ZhiQiang Lv. Capt: A lightweight continual adversarial pre-training framework for traffic analysis model. In IEEE Interna- tional Conference on Acoustics, Speech and Signal Pro- cessingP, pages 14367-14371, 2026.
  9. [Fu et al., 2026b] Jiadong Fu, Jiang Fang, Jiyan Sun, Shangyuan Zhuang, Yinlong Liu, and Zhiqiang Lv. To- ward efficient distributed network security: A lightweight multitask traffic analysis framework. IEEE Transactions on Networking, 34:2271-2286, 2026.
  10. [Ge et al., 2025] Yunfeng Ge, Jiawei Li, Yiji Zhao, Haomin Wen, Zhao Li, Meikang Qiu, Hongyan Li, Ming Jin, and Shirui Pan. T2S: high-resolution time series generation with text-to-series diffusion models. In International Joint Conference on Artificial Intelligence, pages 5208-5216, 2025. IJCAI
  11. [Gu and Dao, 2024] Albert Gu and Tri Dao. Mamba: Linear- time sequence modeling with selective state spaces. In Conference on Language Mdeling, 2024.
  12. [Guo et al., 2024] Hang Guo, Jinmin Li, Tao Dai, Zhihao Ouyang, Xudong Ren, and Shu-Tao Xia. Mambair: A sim- ple baseline for image restoration with state-space model. In European Conference on Computer Vision, pages 222- 241, 2024.
  13. [He et al., 2026] Yaru He, Jiaqi Gao, Daoqi Han, Yueming Lu, and Yaojun Qiao. Hierarchical traffic fingerprint- assisted graph neural networks for encrypted traffic classi- fication in internet of vehicles. Knowledge-Based Systems, 343:116027, 2026.
  14. [Lashkari et al., 2017] Arash Habibi Lashkari, Gerard Draper-Gil, Mohammad Saiful Islam Mamun, and Ali A. Ghorbani. Characterization of tor traffic using time based features. In ICISSP, pages 253-262. SciTePress, 2017.
  15. [Li et al., 2023] Yuxin Li, Wenchao Chen, Bo Chen, Dong- sheng Wang, Long Tian, and Mingyuan Zhou. Prototype- oriented unsupervised anomaly detection for multivari- ate time series. In International Conference on Machine Learning, pages 19407-19424, 2023.
  16. [Li et al., 2025] Zetao Li, Zheng Hu, Peng Han, Yu Gu, and Shimin Cai. Ssl-stmformer self-supervised learning spatio-temporal entanglement transformer for traffic flow prediction. In AAAI Conference on Artificial Intelligence, pages 12130-12138, 2025.
  17. [Lian et al., 2024] Xinglin Lian, Yang Liu, Shanfeng Wang, and Yu Zheng. Payload level anomaly network traffic de- tection via semi-supervised contrastive learning. In Trust, Security and Privacy in Computing and Communications, pages 2559-2566, 2024.
  18. [Lian et al., 2025a] Xinglin Lian, Chengtai Cao, Yan Liu, Xovee Xu, Yu Zheng, and Fan Zhou. Facing anoma- lies head-on: Network traffic anomaly detection via uncertainty-inspired inter-sample differences. In the ACM on Web Conference, pages 3908-3917, 2025.
  19. [Lian et al., 2025b] Xinglin Lian, Yu Zheng, Zhangxuan Dang, Chunlei Peng, and Xinbo Gao. Semi-supervised anomaly traffic detection via multi-frequency reconstruc- tion. Pattern Recognition, 161:111215, 2025.
  20. [Lian et al., 2026a] Xinglin Lian, Chengtai Cao, Ting Zhong, Yong Wang, Kai Chen, and Fan Zhou. Decom- pose to understand, fuse to detect: Frequency-decoupled anomaly detection for encrypted network traffic. arXiv: 2605.02970, 2026.
  21. [Lian et al., 2026b] Xinglin Lian, Yu Zheng, Yan Liu, Fan Zhou, Chunlei Peng, and Xinbo Gao. Contextual mask- ing distillation for network traffic anomaly detection. IEEE Transactions on Information Forensics and Security, 21:1273-1286, 2026.
  22. [Liu et al., 2024] Yong Liu, Tengge Hu, Haoran Zhang, Haixu Wu, Shiyu Wang, Lintao Ma, and Mingsheng Long. itransformer: Inverted transformers are effective for time series forecasting. In International Conference on Learn- ing Representations, 2024.
  23. [Lunardi et al., 2023] Willian Tessaro Lunardi, Martin An- dreoni Lopez, and Jean Pierre Giacalone. ARCADE: ad- versarially regularized convolutional autoencoder for net- work anomaly detection. IEEE Transactions on Network and Service Management, 20(2):1305-1318, 2023.
  24. [MontazeriShatoori et al., 2020] Mohammadreza Mon- tazeriShatoori, Logan Davidson, Gurdip Kaur, and Arash Habibi Lashkari. Detection of doh tunnels using time-series classification of encrypted traffic. In IEEE DASC/PiCom/CBDCom/CyberSciTech, pages 63-70, 2020.
  25. [Neto et al., 2023] Euclides Carlos Pinto Neto, Sajjad Dad- khah, Raphael Ferreira, Alireza Zohourian, Rongxing Lu, and Ali A. Ghorbani. Ciciot2023: A real-time dataset and benchmark for large-scale attacks in iot environment. Sen- sors, 23(13):5941, 2023.
  26. [Patro and Agneeswaran, 2025] Badri Narayana Patro and Vijay Srinivas Agneeswaran. Mamba-360: Survey of state space models as transformer alternative for long sequence modelling: Methods, applications, and chal- lenges. Engineering Applications of Artificial Intelligence, 159:111279, 2025.
  27. [Qin et al., 2025] Shuxin Qin, Jing Zhu, Aipeng Guo, Yan- song Yang, Lu Wang, and Gaofeng Tao. Mambaad: Multi- variate time series anomaly detection in iot via multi-view mamba. Neurocomputing, 655:131385, 2025.
  28. [Qu et al., 2024] Haohao Qu, Liangbo Ning, Rui An, Wenqi Fan, Tyler Derr, Hui Liu, Xin Xu, and Qing Li. A survey of mamba. arXiv preprint arXiv:2408.01129, 2024.
  29. [Shi et al., 2024] Yuheng Shi, Minjing Dong, and Chang Xu. Multi-scale vmamba: Hierarchy in hierarchy visual state space model. In Annual Conference on Neural Information Processing Systems, pages 25687-25708, 2024.
  30. [Tran et al., 2025] Hoan My Tran, Damien Lolive, Aghilas Sini, Arnaud Delhay, Pierre-Franc ¸ois Marteau, and David Guennec. Multi-level ssl feature gating for audio deepfake detection. In ACM International Conference on Multime- dia, pages 11766-11775, 2025.
  31. [Wang et al., 2024] Tongze Wang, Xiaohui Xie, Wenduo Wang, Chuyi Wang, Youjian Zhao, and Yong Cui. Net- mamba: Efficient network traffic classification via pre- training unidirectional mamba. In International Confer- ence on Network Protocols, pages 1-11, 2024.
  32. [Xia et al., 2025] Linhan Xia, Mingzhan Yang, Jingjing Wang, Ziwei Yan, Yakun Ren, Guo Yu, and Kai Lei. Mamba4net: Distilled hybrid mamba large language mod- els for networking. In International Conference on Net- work Protocols, pages 1-10, 2025.
  33. [Xiao et al., 2025] Haoke Xiao, Lv Tang, Peng-Tao Jiang, Hao Zhang, Jinwei Chen, and Bo Li. Boosting vision state space model with fractal scanning. In AAAI Conference on Artificial Intelligence, pages 8646-8654, 2025.
  34. [Xu et al., 2022] Jiehui Xu, Haixu Wu, Jianmin Wang, and Mingsheng Long. Anomaly transformer: Time series anomaly detection with association discrepancy. In Inter- national Conference on Learning Representations, 2022.
  35. [Yang et al., 2025] Luming Yang, Yongjun Wang, Lin Liu, Junjie Huang, Jiangyong Shi, Shaojing Fu, and Shize Guo. unflows: An unsupervised construction scheme of flow spectrum for network traffic detection. IEEE Transac- tions on Information Forensics and Security, 20:3330- 3345, 2025.
  36. [Zhang et al., 2022] Lianming Zhang, Xiaowei Xie, Kai Xiao, Wenji Bai, Kui Liu, and Pingping Dong. Manomaly: Mutual adversarial networks for semi-supervised anomaly detection. Information Sciences, 611:65-80, 2022.
  37. [Zhang et al., 2024] Xinchen Zhang, Running Zhao, Zhihan Jiang, Zhicong Sun, Yulong Ding, Edith C. H. Ngai, and Shuang-Hua Yang. AOC-IDS: autonomous online frame- work with contrastive learning for intrusion detection. In IEEE Conference on Computer Communications, pages 581-590, 2024.
  38. [Zhang et al., 2025a] Haozhen Zhang, Haodong Yue, Xi Xiao, Le Yu, Qing Li, Zhen Ling, and Ye Zhang. Revolutionizing encrypted traffic classification with mh- net: A multi-view heterogeneous graph model. In AAAI Conference on Artificial Intelligence, pages 1048-1056, 2025.
  39. [Zhang et al., 2025b] Qiao Zhang, Mingwen Shao, Xinyuan Chen, Xiang Lv, and Kai Xu. Wave-mambaad: Wavelet- driven state space model for multi-class unsupervised anomaly detection. In IEEE/CVF International Confer- ence on Computer Vision, pages 20868-20877, 2025.
  40. [Zhao et al., 2024a] Ruijie Zhao, Mingwei Zhan, Xianwen Deng, Fangqi Li, Yanhao Wang, Yijun Wang, Guan Gui, and Zhi Xue. A novel self-supervised framework based on masked autoencoder for traffic classification. IEEE/ACM Transactions on Networking, 32(3):2012-2025, 2024.
  41. [Zhao et al., 2024b] Ziming Zhao, Zhaoxuan Li, Zhuoxue Song, Wenhao Li, and Fan Zhang. Trident: A univer- sal framework for fine-grained and class-incremental un- known traffic detection. In the ACM on Web Conference, pages 1608-1619, 2024.
  42. [Zheng et al., 2023] Yu Zheng, Xinglin Lian, Zhangxuan Dang, Chunlei Peng, Chao Yang, and Jianfeng Ma. A semi-supervised anomaly network traffic detection frame- work via multimodal traffic information fusion. In Inter- national Conference on Information and Knowledge Man- agement, pages 4455-4459, 2023.
  43. [Zheng et al., 2024] Yu Zheng, Zhangxuan Dang, Xinglin Lian, Chunlei Peng, and Xinbo Gao. Multi-view multi- label network traffic classification based on mlp-mixer neural network. Computer Networks, 253:110746, 2024.
  44. [Zong et al., 2018] Bo Zong, Qi Song, Martin Renqiang Min, Wei Cheng, Cristian Lumezanu, Dae-ki Cho, and Haifeng Chen. Deep autoencoding gaussian mixture model for unsupervised anomaly detection. In Interna- tional Conference on Learning Representations, 2018.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards