mlsanityData to 7 Oct 2026

Adversarially Robust Industrial Anomaly Detection Through Diffusion Model

arXiv 2408.04839 ↗First posted 9 Aug 2024cs.LG cs.CVcited by 3

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

Abstract (arXiv)

Deep learning-based industrial anomaly detection models have achieved remarkably high accuracy on commonly used benchmark datasets. However, the robustness of those models may not be satisfactory due to the existence of adversarial examples, which pose significant threats to the practical deployment of deep anomaly detectors. Recently, it has been shown that diffusion models can be used to purify the adversarial noises and thus build a robust classifier against adversarial attacks. Unfortunately, we found that naively applying this strategy in anomaly detection (i.e., placing a purifier before an anomaly detector) will suffer from a high anomaly miss rate since the purifying process can easily remove both the anomaly signal and the adversarial perturbations, causing the later anomaly detector failed to detect anomalies. To tackle this issue, we explore the possibility of performing anomaly detection and adversarial purification simultaneously. We propose a simple yet effective adversarially robust anomaly detection method, textitAdvRAD, that allows the diffusion model to act both as an anomaly detector and adversarial purifier. We also extend our proposed method for certified robustness to l2 norm bounded perturbations. Through extensive experiments, we show that our proposed method exhibits outstanding (certified) adversarial robustness while also maintaining equally strong anomaly detection performance on par with the state-of-the-art methods on industrial anomaly detection benchmark datasets.

Key facts. Cited by 3 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 31 of its 43 references that are in the map. First posted on arXiv 9 Aug 2024.

Builds on

31 of 43 references.

References · 31

  1. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  2. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  3. 2020Denoising Diffusion Implicit Modelscited by 9,655
  4. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  5. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  6. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  7. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  8. 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,736
  9. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
  10. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,324
  11. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
  12. 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 682
19 more
  1. 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 529
  2. 2022Diffusion Models for Adversarial Purificationcited by 469
  3. 2020A Unifying Review of Deep and Shallow Anomaly Detectioncited by 423
  4. 2022SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentationcited by 397
  5. 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 320
  6. 2020Sub-Image Anomaly Detection with Deep Pyramid Correspondencescited by 297
  7. 2018Improving Unsupervised Defect Segmentation by Applying Structural Similarity to Autoencoderscited by 263
  8. 2022Diffusion Models for Medical Anomaly Detectioncited by 231
  9. 2021FastFlow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flowscited by 225
  10. 2021VT-ADL: A Vision Transformer Network for Image Anomaly Detection and Localizationcited by 222
  11. 2022CFA: Coupled-hypersphere-based Feature Adaptation for Target-Oriented Anomaly Localizationcited by 135
  12. 2022(Certified!!) Adversarial Robustness for Free!cited by 130
  13. 2021Fully Convolutional Cross-Scale-Flows for Image-based Defect Detectioncited by 117
  14. 2019Skip-GANomaly: Skip Connected and Adversarially Trained Encoder-Decoder Anomaly Detectioncited by 100
  15. 2021Inpainting Transformer for Anomaly Detectioncited by 91
  16. 2021Divide-and-Assemble: Learning Block-wise Memory for Unsupervised Anomaly Detectioncited by 83
  17. 2022Omni-frequency Channel-selection Representations for Unsupervised Anomaly Detectioncited by 79
  18. 2021GradDiv: Adversarial Robustness of Randomized Neural Networks via Gradient Diversity Regularizationcited by 34
  19. 2021Adversarially Robust One-class Novelty Detectioncited by 24

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 1; 2026: 1.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Anomaly Detection and Generation with Diffusion Models: A Survey
  2. 2024Diffusion-based Adversarial Purification for Intrusion Detection
  3. 2026One-Step Diffusion with Inverse Residual Fields for Unsupervised Industrial Anomaly Detection
  4. 2025Research on Anomaly Detection Methods Based on Diffusion Models
  5. 2023Adversarial Denoising Diffusion Model for Unsupervised Anomaly Detection
  6. 2023On Diffusion Modeling for Anomaly Detection
  7. 2025A Survey on Diffusion Models for Anomaly Detection
  8. 2024Anomaly detection using Diffusion-based methods