Skip to main content
QUICK REVIEW

[논문 리뷰] MambaAD: Exploring State Space Models for Multi-class Unsupervised Anomaly Detection

Haoyang He, Yuhu Bai|arXiv (Cornell University)|2024. 04. 09.
Anomaly Detection Techniques and ApplicationsComputer Science인용 수 14
한 줄 요약

MambaAD를 소개합니다. 사전 학습된 인코더와 Mamba 기반 디코더를 사용하며 Locality-Enhanced State Space (LSS) 모듈과 Hybrid State Space (HSS) 블록으로 글로벌 및 로컬 정보를 선형 복잡도로 함께 모델링하는 다중 클래스 비지도 이상 탐지 방법.

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.

연구 동기 및 목표

  • 산업용 이미지에서 효율적인 다중 클래스 비지도 이상 탐지의 필요성을 해결한다.
  • 로컬 상세 정보를 유지하면서 긴 범위 의존성을 모델링하기 위해 Mamba의 선형 복잡성을 활용한다.
  • 다중 스케일 특징 재구성을 위한 Locality-Enhanced State Space (LSS) 모듈과 Hybrid State Space (HSS) 블록을 설계한다.
  • 적은 매개변수 수와 계산으로 다수의 이상 탐지 데이터셋에서 최첨단 성능을 달성한다.

제안 방법

  • 다중 스케일 특징을 추출하기 위해 사전 학습된 CNN 기반 인코더를 사용한다.
  • 재구성을 위해 다중 스케일에서 LSS 모듈과 함께 Mamba 기반 디코더를 도입한다.
  • LSS에서는 연쇄적으로 연결된 HSS 블록으로부터의 글로벌 정보를 병렬 다중 커널 깊이 방향 컨볼루션의 로컬 정보와 융합한다.
  • SSM을 통한 글로벌 모델링 강화를 위해 다섯 가지 스캐닝 방법과 여덟 방향의 하이브리드 스캐닝(HS)을 적용하여 글로벌 모델링을 향상시킨다.
  • 상태 공간 다이내믹스를 이산화하여 재구성 기반 이상 스코어링을 위한 구조화된 컨볼루션 커널을 생성한다.
  • 다중 스케일 MSE 손실로 학습하고 다중 스케일 코사인 유사도 기반 이상 맵으로 추론한다.

실험 결과

연구 질문

  • RQ1Mamba 기반 상태 공간 모델이 MUAD에서 트랜스포머 또는 CNN 기반 접근법과 비교해 경쟁력 있거나 우수한 성능을 제공할 수 있는가?
  • RQ2Locality-Enhanced State Space 모듈이 여러 스케일에서 글로벌 의존성과 로컬 디테일을 효과적으로 결합하여 강건한 이상 탐지를 제공하는가?
  • RQ3스캐닝 전략(Hilbert 및 방향성)이 상태 공간 기반 이상 탐지의 성능에 미치는 영향은 무엇인가?

주요 결과

  • MambaAD는 이미지 및 픽셀 수준 작업에서 여섯 개의 이상 탐지 데이터셋에 대해 일곱 개 지표에서 최첨단 성능을 달성한다.
  • MambaAD는 매개변수 수가 작고 FLOPs가 낮아 효율성이 높으며 mAD에서 DiAD 및 UniAD를 포함한 여러 베이스라인을 능가한다.
  • Hilbert 스캐닝 방향과 8방향 설정은 강력한 글로벌 모델링과 향상된 이상 분할을 제공한다.
  • 소거 연구는 더 깊은 Mamba 디코더 구성과 더 큰 depth-wise 커널의 포함이 성능을 향상시킨다는 것을 보여준다.
  • MambaAD는 Real-IAD 및 VisA 데이터셋에서 강력한 다중 클래스 확장성과 효과를 보여주며 여러 베이스라인에 비해 큰 이득을 얻는다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.