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