One-for-All: Proposal Masked Cross-Class Anomaly Detection
Xincheng Yao, Chongyang Zhang, Ruoqi Li, Jun Sun, Zhenyu Liu
摘要
One of the most challenges for anomaly detection (AD) is how to learn one unified and generalizable model to adapt to multi-class especially cross-class settings: the model is trained with normal samples from seen classes with the objective to detect anomalies from both seen and unseen classes. In this work, we propose a novel Proposal Masked Anomaly Detection (PMAD) approach for such challenging multi- and cross-class anomaly detection. The proposed PMAD can be adapted to seen and unseen classes by two key designs: MAE-based patch-level reconstruction and prototype-guided proposal masking. First, motivated by MAE (Masked AutoEncoder), we develop a patch-level reconstruction model rather than the image-level reconstruction adopted in most AD methods for this reason: the masked patches in unseen classes can be reconstructed well by using the visible patches and the adaptive reconstruction capability of MAE. Moreover, we improve MAE by ViT encoder-decoder architecture, combinational masking, and visual tokens as reconstruction objectives to make it more suitable for anomaly detection. Second, we develop a two-stage anomaly detection manner during inference. In the proposal masking stage, the prototype-guided proposal masking module is utilized to generate proposals for suspicious anomalies as much as possible, then masked patches can be generated from the proposal regions. By masking most likely anomalous patches, the “shortcut reconstruction” issue (i.e., anomalous regions can be well reconstructed) can be mostly avoided. In the reconstruction stage, these masked patches are then reconstructed by the trained patch-level reconstruction model to determine if they are anomalies. Extensive experiments show that the proposed PMAD can outperform current state-of-the-art models significantly under the multi- and especially cross-class settings. Code will be publicly available at https://github.com/xcyao00/PMAD.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Fine-Grained Abnormality Prompt Learning for Zero-Shot Anomaly Detection 引用了 Towards Total Recall in Industrial Anomaly Detection
- Fine-Grained Abnormality Prompt Learning for Zero-Shot Anomaly Detection 引用了 Focus the Discrepancy: Intra- and Inter-Correlation Learning for Image Anomaly Detection
- Fine-Grained Abnormality Prompt Learning for Zero-Shot Anomaly Detection 引用了 Toward Generalist Anomaly Detection via In-Context Residual Learning with Few-Shot Sample Prompts
- Masked Feature Prediction for Self-Supervised Visual Pre-Training 引用了 BEiT: BERT Pre-Training of Image Transformers
- Masked Feature Prediction for Self-Supervised Visual Pre-Training 引用了 Zero-Shot Text-to-Image Generation
- ResAD: A Simple Framework for Class Generalizable Anomaly Detection 引用了 Towards Total Recall in Industrial Anomaly Detection
- ResAD: A Simple Framework for Class Generalizable Anomaly Detection 引用了 Focus the Discrepancy: Intra- and Inter-Correlation Learning for Image Anomaly Detection
- ResAD: A Simple Framework for Class Generalizable Anomaly Detection 引用了 Toward Generalist Anomaly Detection via In-Context Residual Learning with Few-Shot Sample Prompts
- Focus the Discrepancy: Intra- and Inter-Correlation Learning for Image Anomaly Detection 引用了 Towards Total Recall in Industrial Anomaly Detection
- Toward Generalist Anomaly Detection via In-Context Residual Learning with Few-Shot Sample Prompts 引用了 Towards Total Recall in Industrial Anomaly Detection
- Toward Generalist Anomaly Detection via In-Context Residual Learning with Few-Shot Sample Prompts 引用了 Focus the Discrepancy: Intra- and Inter-Correlation Learning for Image Anomaly Detection
引用它的顶会 Paper12
- Focus the Discrepancy: Intra- and Inter-Correlation Learning for Image Anomaly DetectionXincheng Yao, Ruoqi Li, Zefeng Qian, Yan Luo 等ICCV 2023 · 48 次引用
- Toward Generalist Anomaly Detection via In-Context Residual Learning with Few-Shot Sample PromptsJiawen Zhu, Guansong PangCVPR 2024 · 43 次引用
- ResAD: A Simple Framework for Class Generalizable Anomaly DetectionXincheng Yao, Zixin Chen, Chao Gao, Guangtao Zhai 等NeurIPS 2024 · 42 次引用
- Fine-Grained Abnormality Prompt Learning for Zero-Shot Anomaly DetectionJiawen Zhu, Yew-Soon Ong, Chunhua Shen, Guansong PangICCV 2025 · 14 次引用
- Facing Anomalies Head-On: Network Traffic Anomaly Detection via Uncertainty-Inspired Inter-Sample DifferencesXinglin Lian, Chengtai Cao, Yan Liu, Xovee Xu 等WWW 2025 · 11 次引用
它引用的 Paper15
- Zero-Shot Text-to-Image GenerationAditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray 等ICML 2021 · 6,356 次引用
- BEiT: BERT Pre-Training of Image TransformersHangbo Bao, Li Dong, Songhao Piao, Furu WeiICLR 2022 · 3,632 次引用
- Memorizing Normality to Detect Anomaly: Memory-Augmented Deep Autoencoder for Unsupervised Anomaly DetectionDong Gong, Lingqiao Liu, Vuong Le, Budhaditya Saha 等ICCV 2019 · 1,646 次引用
- Towards Total Recall in Industrial Anomaly DetectionKarsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard Schölkopf 等CVPR 2022 · 1,301 次引用
- Masked Feature Prediction for Self-Supervised Visual Pre-TrainingChen Wei, Haoqi Fan, Saining Xie, Chao-Yuan Wu 等CVPR 2022 · 524 次引用
相关 Paper
- MaskAD: Parallel Masked Autoencoder for Multi-class Unsupervised Anomaly DetectionRuiying Lu, Gang Liu, Kang Li, Long Tian 等AAAI 2026
- A Unified Model for Multi-class Anomaly DetectionZhiyuan You, Lei Cui, Yujun Shen, Kai Yang 等NeurIPS 2022 · 585 次引用
- UniMMAD: Unified Multi-Modal and Multi-Class Anomaly Detection via MoE-Driven Feature DecompressionYuan Zhao, Youwei Pang, Lihe Zhang, Hanqi Liu 等CVPR 2026 · 4 次引用
- A Diffusion-Based Framework for Multi-Class Anomaly DetectionHaoyang He, Jiangning Zhang, Hongxu Chen, Xuhai Chen 等AAAI 2024 · 231 次引用
- Dinomaly: The Less Is More Philosophy in Multi-Class Unsupervised Anomaly DetectionJia Guo, Shuai Lu, Weihang Zhang, Fang Chen 等CVPR 2025
