mlsanityData to 7 Oct 2026

Unsupervised Visual Defect Detection with Score-Based Generative Model

arXiv 2211.16092 ↗First posted 29 Nov 2022cs.CVcited by 7

On the map: Diffusion models → Flow matching, time series and science

Abstract (arXiv)

Anomaly Detection (AD), as a critical problem, has been widely discussed. In this paper, we specialize in one specific problem, Visual Defect Detection (VDD), in many industrial applications. And in practice, defect image samples are very rare and difficult to collect. Thus, we focus on the unsupervised visual defect detection and localization tasks and propose a novel framework based on the recent score-based generative models, which synthesize the real image by iterative denoising through stochastic differential equations (SDEs). Our work is inspired by the fact that with noise injected into the original image, the defects may be changed into normal cases in the denoising process (i.e., reconstruction). First, based on the assumption that the anomalous data lie in the low probability density region of the normal data distribution, we explain a common phenomenon that occurs when reconstruction-based approaches are applied to VDD: normal pixels also change during the reconstruction process. Second, due to the differences in normal pixels between the reconstructed and original images, a time-dependent gradient value (i.e., score) of normal data distribution is utilized as a metric, rather than reconstruction loss, to gauge the defects. Third, a novel T scales approach is developed to dramatically reduce the required number of iterations, accelerating the inference process. These practices allow our model to generalize VDD in an unsupervised manner while maintaining reasonably good performance. We evaluate our method on several datasets to demonstrate its effectiveness.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in Flow matching, time series and science, one of 14 directions in Diffusion models. Builds on 36 of its 50 references that are in the map. First posted on arXiv 29 Nov 2022.

Builds on

36 of 50 references.

References · 36

  1. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  2. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  3. 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,170
  4. 2016Density estimation using Real NVPcited by 2,029
  5. 2021Towards Total Recall in Industrial Anomaly Detectioncited by 772
  6. 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 591
  7. 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
  8. 2019Memorizing Normality to Detect Anomaly: Memory-augmented Deep Autoencoder for Unsupervised Anomaly Detectioncited by 560
  9. 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 529
  10. 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 510
  11. 2021Label-Efficient Semantic Segmentation with Diffusion Modelscited by 495
  12. 2018GANomaly: Semi-Supervised Anomaly Detection via Adversarial Trainingcited by 409
24 more
  1. 2019Uninformed Students: Student-Teacher Anomaly Detection with Discriminative Latent Embeddingscited by 386
  2. 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 320
  3. 2020Multiresolution Knowledge Distillation for Anomaly Detectioncited by 285
  4. 2022Diffusion Models for Medical Anomaly Detectioncited by 231
  5. 2021FastFlow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flowscited by 225
  6. 2021VT-ADL: A Vision Transformer Network for Image Anomaly Detection and Localizationcited by 222
  7. 2020Same Same But DifferNet: Semi-Supervised Defect Detection with Normalizing Flowscited by 212
  8. 2019OCGAN: One-class Novelty Detection Using GANs with Constrained Latent Representationscited by 199
  9. 2020PANDA: Adapting Pretrained Features for Anomaly Detection and Segmentationcited by 175
  10. 2018Latent Space Autoregression for Novelty Detectioncited by 149
  11. 2021Student-Teacher Feature Pyramid Matching for Anomaly Detectioncited by 145
  12. 2021Adversarial purification with Score-based generative modelscited by 132
  13. 2020Self-Supervision with Superpixels: Training Few-shot Medical Image Segmentation without Annotationcited by 128
  14. 2021Fully Convolutional Cross-Scale-Flows for Image-based Defect Detectioncited by 117
  15. 2019Skip-GANomaly: Skip Connected and Adversarially Trained Encoder-Decoder Anomaly Detectioncited by 100
  16. 2020Interacting particle solutions of Fokker-Planck equations through gradient-log-density estimationcited by 87
  17. 2021Divide-and-Assemble: Learning Block-wise Memory for Unsupervised Anomaly Detectioncited by 83
  18. 2022Omni-frequency Channel-selection Representations for Unsupervised Anomaly Detectioncited by 79
  19. 2021Recurrent Mask Refinement for Few-Shot Medical Image Segmentationcited by 63
  20. 2018Anomaly Detection with Generative Adversarial Networks for Multivariate Time Seriescited by 55
  21. 2020DFR: Deep Feature Reconstruction for Unsupervised Anomaly Segmentationcited by 53
  22. 2020ARAE: Adversarially Robust Training of Autoencoders Improves Novelty Detectioncited by 27
  23. 2021Reconstruction Student with Attention for Student-Teacher Pyramid Matchingcited by 20
  24. 2019Exploring Deep Anomaly Detection Methods Based on Capsule Netcited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 4; 2024: 2; 2025: 0; 2026: 1.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023DiffusionAD: Norm-guided One-step Denoising Diffusion for Anomaly Detection
  2. 2025Zero-Shot Image Anomaly Detection Using Generative Foundation Models
  3. 2025Anomaly Detection by Effectively Leveraging Synthetic Images
  4. 2025Correcting Deviations from Normality: A Reformulated Diffusion Model for Multi-Class Unsupervised Anomaly Detection
  5. 2023Anomaly Detection with Conditioned Denoising Diffusion Models
  6. 2025Single-Step Reconstruction-Free Anomaly Detection and Segmentation via Diffusion Models
  7. 2024Background-Aware Defect Generation for Robust Industrial Anomaly Detection
  8. 2024GLAD: Towards Better Reconstruction with Global and Local Adaptive Diffusion Models for Unsupervised Anomaly Detection