English

Self-Navigated Residual Mamba for Universal Industrial Anomaly Detection

Computer Vision and Pattern Recognition 2025-08-12 v2

Abstract

In this paper, we propose Self-Navigated Residual Mamba (SNARM), a novel framework for universal industrial anomaly detection that leverages ``self-referential learning'' within test images to enhance anomaly discrimination. Unlike conventional methods that depend solely on pre-trained features from normal training data, SNARM dynamically refines anomaly detection by iteratively comparing test patches against adaptively selected in-image references. Specifically, we first compute the ``inter-residuals'' features by contrasting test image patches with the training feature bank. Patches exhibiting small-norm residuals (indicating high normality) are then utilized as self-generated reference patches to compute ``intra-residuals'', amplifying discriminative signals. These inter- and intra-residual features are concatenated and fed into a novel Mamba module with multiple heads, which are dynamically navigated by residual properties to focus on anomalous regions. Finally, AD results are obtained by aggregating the outputs of a self-navigated Mamba in an ensemble learning paradigm. Extensive experiments on MVTec AD, MVTec 3D, and VisA benchmarks demonstrate that SNARM achieves state-of-the-art (SOTA) performance, with notable improvements in all metrics, including Image-AUROC, Pixel-AURC, PRO, and AP.

Keywords

Cite

@article{arxiv.2508.01591,
  title  = {Self-Navigated Residual Mamba for Universal Industrial Anomaly Detection},
  author = {Hanxi Li and Jingqi Wu and Lin Yuanbo Wu and Mingliang Li and Deyin Liu and Jialie Shen and Chunhua Shen},
  journal= {arXiv preprint arXiv:2508.01591},
  year   = {2025}
}

Comments

13 pages, 4 figures, submitted to AAAI2026

R2 v1 2026-07-01T04:31:31.749Z