Lune

NeurIPS2024Top-tier venue

MambaAD: Exploring State Space Models for Multi-class Unsupervised Anomaly Detection

Haoyang He, Yuhu Bai, Jiangning Zhang, Qingdong He, Hongxu Chen, Zhenye Gan, Chengjie Wang, Xiangtai Li, Guanzhong Tian, Lei Xie

Abstract

Recent advancements in anomaly detection have seen the efficacy of CNN- and transformer-based approaches. However, CNNs struggle with long-range dependencies, while transformers are burdened by quadratic computational complexity. Mamba-based models, with their superior long-range modeling and linear efficiency, have garnered substantial attention. This study pioneers the application of Mamba to multi-class unsupervised anomaly detection, presenting MambaAD, which consists of a pre-trained encoder and a Mamba decoder featuring (Locality-Enhanced State Space) LSS modules at multi-scales. The proposed LSS module, integrating parallel cascaded (Hybrid State Space) HSS blocks and multi-kernel convolutions operations, effectively captures both long-range and local information. The HSS block, utilizing (Hybrid Scanning) HS encoders, encodes feature maps into five scanning methods and eight directions, thereby strengthening global connections through the (State Space Model) SSM. The use of Hilbert scanning and eight directions significantly improves feature sequence modeling. Comprehensive experiments on six diverse anomaly detection datasets and seven metrics demonstrate state-of-the-art performance, substantiating the method's effectiveness. The code and models are available at https://lewandofskee.github.io/projects/MambaAD.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

34 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model cites Efficiently Modeling Long Sequences with Structured State Spaces
  • Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model cites Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space Layers
  • Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectors cites Towards Total Recall in Industrial Anomaly Detection
  • VMamba: Visual State Space Model cites Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model
  • VMamba: Visual State Space Model cites Efficiently Modeling Long Sequences with Structured State Spaces
  • VMamba: Visual State Space Model cites Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space Layers
  • CNC: Cross-modal Normality Constraint for Unsupervised Multi-class Anomaly Detection cites Towards Total Recall in Industrial Anomaly Detection
  • DGMamba: Domain Generalization via Generalized State Space Model cites Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model
  • DGMamba: Domain Generalization via Generalized State Space Model cites VMamba: Visual State Space Model
  • MVGamba: Unify 3D Content Generation as State Space Sequence Modeling cites Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model
  • MVGamba: Unify 3D Content Generation as State Space Sequence Modeling cites VMamba: Visual State Space Model
  • MVGamba: Unify 3D Content Generation as State Space Sequence Modeling cites Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space Layers
  • PointRWKV: Efficient RWKV-Like Model for Hierarchical Point Cloud Learning cites Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model
  • PointRWKV: Efficient RWKV-Like Model for Hierarchical Point Cloud Learning cites VMamba: Visual State Space Model
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers34

  1. PointRWKV: Efficient RWKV-Like Model for Hierarchical Point Cloud LearningQingdong He, Jiangning Zhang, Jinlong Peng, Haoyang He et al.AAAI 2025 · 41 citations
  2. MVGamba: Unify 3D Content Generation as State Space Sequence ModelingXuanyu Yi, Zike Wu, Qiuhong Shen, Qingshan Xu et al.NeurIPS 2024 · 27 citations
  3. CNC: Cross-modal Normality Constraint for Unsupervised Multi-class Anomaly DetectionXiaolei Wang, Xiaoyang Wang, Huihui Bai, Eng Gee Lim et al.AAAI 2025 · 19 citations
  4. DGMamba: Domain Generalization via Generalized State Space ModelShaocong Long, Qianyu Zhou, Xiangtai Li, Xuequan Lu et al.ACM MM 2024 · 15 citations
  5. Foundation Visual Encoders Are Secretly Few-Shot Anomaly DetectorsGuangyao Zhai, Yue Zhou, Xinyan Deng, Lars Heckler-Kram et al.ICLR 2026 · 9 citations

Builds on24

  1. Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 citations
  2. VMamba: Visual State Space ModelYue Liu, Yunjie Tian, Yuzhong Zhao, Hongtian Yu et al.NeurIPS 2024 · 3,199 citations
  3. Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space ModelLianghui Zhu, Bencheng Liao, Qian Zhang, Xinlong Wang et al.ICML 2024 · 1,725 citations
  4. Towards Total Recall in Industrial Anomaly DetectionKarsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard Schölkopf et al.CVPR 2022 · 1,301 citations
  5. Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space LayersAlbert Gu, Isys Johnson, Karan Goel, Khaled Saab et al.NeurIPS 2021 · 1,280 citations

Related papers

  1. Wave-Mambaad: Wavelet-Driven State Space Model for Multi-Class Unsupervised Anomaly DetectionQiao Zhang, Mingwen Shao, Xinyuan Chen, Xiang Lv et al.ICCV 2025 · 6 citations
  2. SP-Mamba: Spatial-Perception State Space Model for Unsupervised Medical Anomaly DetectionRui Pan, Ruiying LuACM MM 2025 · 1 citation
  3. DA-Mamba: Learning Domain-Aware State Space Model for Global-Local Alignment in Domain Adaptive Object DetectionHaochen Li, Rui Zhang, Hantao Yao, Xin Zhang et al.CVPR 2026
  4. Disentangling Multi-View Scanning in Mamba for Network Traffic Anomaly DetectionXinglin Lian, Chengtai Cao, Ting Zhong, Fan ZhouKDD 2026 · 2 citations
  5. When Transformers Meet Mamba: A Hybrid Transformer-Mamba Network for Video Object DetectionQiang Qi, Xiao Wang, Zongyuan Du, Yu ZhangCVPR 2026
Dusk over the sea between two cliffs drawn in fine vertical lines