Unsupervised Surface Anomaly Detection with Diffusion Probabilistic Model
Xinyi Zhang, Naiqi Li, Jiawei Li, Tao Dai, Yong Jiang, Shu-Tao Xia
Abstract
Unsupervised surface anomaly detection aims at discovering and localizing anomalous patterns using only anomaly-free training samples. Reconstruction-based models are among the most popular and successful methods, which rely on the assumption that anomaly regions are more difficult to reconstruct. However, there are three major challenges to the practical application of this approach: 1) the reconstruction quality needs to be further improved since it has a great impact on the final result, especially for images with structural changes; 2) it is observed that for many neural networks, the anomalies can also be well reconstructed, which severely violates the underlying assumption; 3) since reconstruction is an ill-conditioned problem, a test instance may correspond to multiple normal patterns, but most current reconstruction-based methods have ignored this critical fact. In this paper, we propose DiffAD, a method for unsupervised anomaly detection based on the latent diffusion model, inspired by its ability to generate high-quality and diverse images. We further propose noisy condition embedding and interpolated channels to address the aforementioned challenges in the general reconstruction-based pipeline. Extensive experiments show that our method achieves state-of-the-art performance on the challenging MVTec dataset, especially in localization accuracy.
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.
27 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- High-Resolution Image Synthesis with Latent Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
- On Diffusion Modeling for Anomaly Detection cites Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Implicit Models
- Hyperbolic Diffusion Recommender Model cites High-Resolution Image Synthesis with Latent Diffusion Models
- Hyperbolic Diffusion Recommender Model cites Diffusion Models Beat GANs on Image Synthesis
- Hyperbolic Diffusion Recommender Model cites Denoising Diffusion Probabilistic Models
- RareCLIP: Rarity-Aware Online Zero-Shot Industrial Anomaly Detection cites RealNet: A Feature Selection Network with Realistic Synthetic Anomaly for Anomaly Detection
- SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equations cites Diffusion Models Beat GANs on Image Synthesis
- SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equations cites Denoising Diffusion Probabilistic Models
- SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equations cites Denoising Diffusion Implicit Models
- Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
- RealNet: A Feature Selection Network with Realistic Synthetic Anomaly for Anomaly Detection cites Diffusion Models Beat GANs on Image Synthesis
- RealNet: A Feature Selection Network with Realistic Synthetic Anomaly for Anomaly Detection cites Denoising Diffusion Probabilistic Models
- RealNet: A Feature Selection Network with Realistic Synthetic Anomaly for Anomaly Detection cites Denoising Diffusion Implicit Models
Cited by top-tier papers27
- RealNet: A Feature Selection Network with Realistic Synthetic Anomaly for Anomaly DetectionXimiao Zhang, Min Xu, Xiuzhuang ZhouCVPR 2024 · 140 citations
- On Diffusion Modeling for Anomaly DetectionVictor Livernoche, Vineet Jain, Yashar Hezaveh, Siamak RavanbakhshICLR 2024 · 74 citations
- Dual-Modeling Decouple Distillation for Unsupervised Anomaly DetectionXinyue Liu, Jianyuan Wang, Biao Leng, Shuo ZhangACM MM 2024 · 23 citations
- Hyperbolic Diffusion Recommender ModelMeng Yuan, Yutian Xiao, Wei Chen, Chou Zhao et al.WWW 2025 · 13 citations
- RareCLIP: Rarity-Aware Online Zero-Shot Industrial Anomaly DetectionJianfang He, Min Cao, Silong Peng, Qiong XieICCV 2025 · 7 citations
Builds on10
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
- SDEdit: Guided Image Synthesis and Editing with Stochastic Differential EquationsChenlin Meng, Yutong He, Yang Song, Jiaming Song et al.ICLR 2022 · 2,128 citations
Related papers
- Removing Anomalies as Noises for Industrial Defect LocalizationFanbin Lu, Xufeng Yao, Chi-Wing Fu, Jiaya JiaICCV 2023 · 53 citations
- A Diffusion-Based Framework for Multi-Class Anomaly DetectionHaoyang He, Jiangning Zhang, Hongxu Chen, Xuhai Chen et al.AAAI 2024 · 231 citations
- DRÆM - A discriminatively trained reconstruction embedding for surface anomaly detectionVitjan Zavrtanik, Matej Kristan, Danijel SkocajICCV 2021 · 1,048 citations
- Anomaly Detection using Score-based Perturbation ResilienceWoosang Shin, Jonghyeon Lee, Taehan Lee, Sangmoon Lee et al.ICCV 2023 · 13 citations
- A Unified Latent Schrodinger Bridge Diffusion Model for Unsupervised Anomaly Detection and LocalizationShilhora Akshay, Niveditha Lakshmi Narasimhan, Jacob George, Vineeth N. BalasubramanianCVPR 2025
