Proceedings

AnoMamba: Aligning Reconstruction with Time Series Anomaly Detection via Selective Global Dependency Modeling

Download BibTeX Cite

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

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

Abstract

Reconstruction-based frameworks are widely adopted in Time Series Anomaly Detection (TSAD), assuming that models reconstruct normal behavior well but yield larger errors on anomalies. However, in unsupervised TSAD, minimizing reconstruction loss alone often breaks this assumption. Models tend to overfit local patterns for trivial reconstruction and fail to capture the global dependencies that characterize normal behavior. Consequently, anomalies that violate global dependencies can also be reconstructed well, leading to a misalignment between reconstruction and detection. To address this challenge, we propose AnoMamba, a novel TSAD framework that aligns reconstruction with anomaly detection by enhancing global dependency modeling. Specifically, AnoMamba employs patch embedding to reduce local redundancy and introduces a Mamba variant with global step-size reweighting to select meaningful global dependencies. The reweighting process is guided by multi-scale long-tail priors, which adaptively balance global and local dependencies to mitigate overfitting in the unsupervised setting. Extensive experiments on both univariate and multivariate benchmarks demonstrate that AnoMamba consistently outperforms state-of-the-art methods in both accuracy and efficiency, while offering interpretability through its hidden attention map.

  1. [Ali et al., 2025] Ameen Ali Ali, Itamar Zimerman, and Lior Wolf. The hidden attention of mamba models. In Proc. 63rd Annu. Meet. Assoc. Comput. Linguist., pages 1516- 1534, 2025.
  2. [An and Cho, 2015] Jinwon An and Sungzoon Cho. Varia- tional autoencoder based anomaly detection using recon- struction probability. Spec. Lect. on IE, 2(1):1-18, 2015.
  3. [Boniol et al., 2024] Paul Boniol, Qinghua Liu, Mingyi Huang, Themis Palpanas, and John Paparrizos. Dive into time-series anomaly detection: A decade review. arXiv preprint arXiv:2412.20512, 2024.
  4. [Chen et al., 2024] Junqi Chen, Xu Tan, Sylwan Rahardja, Jiawei Yang, and Susanto Rahardja. Joint selective state space model and detrending for robust time series anomaly detection. IEEE Signal Process. Lett., 31:2050-2054, 2024.
  5. [Chen et al., 2025] Lei Chen, Xinzhe Cao, Tingqin He, Yepeng Xu, Xuxin Liu, et al. A lightweight all-mlp time- frequency anomaly detection for iiot time series. Neural Networks, 187:107400, 2025.
  6. [Gu and Dao, 2024] Albert Gu and Tri Dao. Mamba: Linear- time sequence modeling with selective state spaces. In Proc. Conf. Lang. Model., 2024.
  7. [Hoffmann, 2007] Heiko Hoffmann. Kernel pca for novelty detection. Pattern Recognit., 40(3):863-874, 2007.
  8. [Huet et al., 2022] Alexis Huet, Jose Manuel Navarro, and Dario Rossi. Local evaluation of time series anomaly de- tection algorithms. In Proc. ACM SIGKDD Conf. Knowl. Discov. Data Min., pages 635-645, 2022.
  9. [Karadag et al., 2025] Yusuf Meric Karadag, Sinan Kalkan, and Ipek Gursel Dino. ms-mamba: Multi-scale mamba for time-series forecasting. arXiv preprint arXiv:2504.07654, 2025.
  10. [Kim et al., 2022] Siwon Kim, Kukjin Choi, Hyun-Soo Choi, Byunghan Lee, and Sungroh Yoon. Towards a rigor- ous evaluation of time-series anomaly detection. In Proc. AAAI Conf. Artif. Intell., volume 36, pages 7194-7201, 2022.
  11. [Liu and Paparrizos, 2024] Qinghua Liu and John Paparri- zos. The elephant in the room: Towards a reliable time- series anomaly detection benchmark. Proc. Adv. Neural Inf. Process. Syst., 37:108231-108261, 2024.
  12. [Liu et al., 2025] Xinhong Liu, Xiaoliang Li, Yangfan Li, Fengxiao Tang, and Ming Zhao. Rtdetector: Deep trans- former networks for time series anomaly detection based on reconstruction trend. In Proc. Int. Joint Conf. Artif. In- tell., 2025. IJCAI
  13. [Luo and Wang, 2024] donghao Luo and xue Wang. Mod- ernTCN: A modern pure convolution structure for general time series analysis. In Proc. Int. Conf. Learn. Represent., 2024.
  14. [Nie et al., 2023] Yuqi Nie, Nam H Nguyen, Phanwadee Sinthong, and Jayant Kalagnanam. A time series is worth 64 words: Long-term forecasting with transformers. In Proc. Int. Conf. Learn. Represent., 2023.
  15. [Paparrizos et al., 2022] John Paparrizos, Paul Boniol, Themis Palpanas, Ruey S Tsay, Aaron Elmore, and Michael J Franklin. Volume under the surface: a new accuracy evaluation measure for time-series anomaly detection. Proc. VLDB Endow., 15(11):2774-2787, 2022.
  16. [Peng et al., 2025] Furong Peng, Rongxin Ma, Xuan Lu, Yuhua Qian, Yong Xu, Zhiguo Hu, and Hongtao Wu. Mgrd: Multi-granularity reconstruction deviation model- ing for time series anomaly detection. IEEE Trans. In- strum. Meas., 2025.
  17. [Schmidl et al., 2022] Sebastian Schmidl, Phillip Wenig, and Thorsten Papenbrock. Anomaly detection in time se- ries: a comprehensive evaluation. Proc. VLDB Endow., 15(9):1779-1797, 2022.
  18. [Siffer et al., 2017] Alban Siffer, Pierre-Alain Fouque, Alexandre Termier, and Christine Largouet. Anomaly detection in streams with extreme value theory. In Proc. ACM SIGKDD Conf. Knowl. Discov. Data Min., pages 1067-1075, 2017.
  19. [Su et al., 2019] Ya Su, Youjian Zhao, Chenhao Niu, Rong Liu, Wei Sun, and Dan Pei. Robust anomaly detection for multivariate time series through stochastic recurrent neural network. In Proc. ACM SIGKDD Conf. Knowl. Discov. Data Min., pages 2828-2837, 2019.
  20. [Wang et al., 2023] Huiqiang Wang, Jian Peng, Feihu Huang, Jince Wang, Junhui Chen, and Yifei Xiao. Micn: Multi-scale local and global context modeling for long- term series forecasting. In Proc. Int. Conf. Learn. Repre- sent., 2023.
  21. [Wang et al., 2024a] Chengsen Wang, Zirui Zhuang, Qi Qi, Jingyu Wang, Xingyu Wang, Haifeng Sun, and Jianxin Liao. Drift doesn't matter: Dynamic decomposition with diffusion reconstruction for unstable multivariate time se- ries anomaly detection. In Proc. Adv. Neural Inf. Process. Syst., volume 36, pages 10758-10774, 2024.
  22. [Wang et al., 2024b] Shiyu Wang, Haixu Wu, Xiaoming Shi, Tengge Hu, Huakun Luo, Lintao Ma, James Y Zhang, and Jun Zhou. Timemixer: Decomposable multiscale mixing for time series forecasting. In Proc. Int. Conf. Learn. Rep- resent., 2024.
  23. [Wu and Keogh, 2021] Renjie Wu and Eamonn J Keogh. Current time series anomaly detection benchmarks are flawed and are creating the illusion of progress. IEEE Trans. Knowl. Data Eng., 35(3):2421-2429, 2021.
  24. [Wu et al., 2021] Haixu Wu, Jiehui Xu, Jianmin Wang, and Mingsheng Long. Autoformer: Decomposition transform- ers with auto-correlation for long-term series forecasting. In Proc. Adv. Neural Inf. Process. Syst., volume 34, pages 22419-22430, 2021.
  25. [Wu et al., 2023] Haixu Wu, Tengge Hu, Yong Liu, Hang Zhou, Jianmin Wang, and Mingsheng Long. Timesnet: Temporal 2d-variation modeling for general time series analysis. In Proc. Int. Conf. Learn. Represent., 2023.
  26. [Xu et al., 2021] Jiehui Xu, Haixu Wu, Jianmin Wang, and Mingsheng Long. Anomaly transformer: Time series anomaly detection with association discrepancy. In Proc. Int. Conf. Learn. Represent., 2021.
  27. [Xu et al., 2024] Xiongxiao Xu, Canyu Chen, Yueqing Liang, Baixiang Huang, Guangji Bai, Liang Zhao, and Kai Shu. Sst: Multi-scale hybrid mamba-transformer experts for long-short range time series forecasting. arXiv preprint arXiv:2404.14757, 2024.
  28. [Zamanzadeh Darban et al., 2024] Zahra Zamanzadeh Dar- ban, Geoffrey I Webb, Shirui Pan, Charu Aggarwal, and Mahsa Salehi. Deep learning for time series anomaly de- tection: A survey. ACM Comput. Surv., 57(1):1-42, 2024.
  29. [Zeng et al., 2023] Ailing Zeng, Muxi Chen, Lei Zhang, and Qiang Xu. Are transformers effective for time series fore- casting? In Proc. AAAI Conf. Artif. Intell., volume 37, pages 11121-11128, 2023.
  30. [Zhong et al., 2025] Guojin Zhong, Jin Yuan, Zhiyong Li, Long Chen, et al. Multi-resolution decomposable diffu- sion model for non-stationary time series anomaly detec- tion. In Proc. Int. Conf. Learn. Represent., 2025.

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

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