Lei Xie, Hongxu Chen, Xiangtai Li, Haoyang He, Yuhu Bai, Jiangning Zhang, Zhenye Gan, Chengjie Wang, Guanzhong Tian, Qingdong He
We lifted 3 functions out of this paper's own repositories and ran 3 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| lewandofskee/MambaAD | canonical | 3 of 3 |
| Function | Status | Where it lives |
|---|---|---|
| conv1x1 | Ran | lewandofskee/MambaAD/model/mambaad.py pointer only (licence: NONE) · get_code("d0ec5f5ba4dd797f") |
| conv3x3 | Ran | lewandofskee/MambaAD/model/mambaad.py pointer only (licence: NONE) · get_code("794a2ed91a5175bd") |
| deconv2x2 | Ran | lewandofskee/MambaAD/model/mambaad.py pointer only (licence: NONE) · get_code("0259b82a097aa35a") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
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 Mam-baAD, 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.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2404.06564")
get_code_for_paper("2404.06564")
have("2404.06564")
Connect an agent — have() is free.