Adversarial defense based on distribution transfer
On the map: Diffusion models → Robustness, privacy and adversarial aspects
Abstract (arXiv)
The presence of adversarial examples poses a significant threat to deep learning models and their applications. Existing defense methods provide certain resilience against adversarial examples, but often suffer from decreased accuracy and generalization performance, making it challenging to achieve a trade-off between robustness and generalization. To address this, our paper interprets the adversarial example problem from the perspective of sample distribution and proposes a defense method based on distribution shift, leveraging the distribution transfer capability of a diffusion model for adversarial defense. The core idea is to exploit the discrepancy between normal and adversarial sample distributions to achieve adversarial defense using a pretrained diffusion model. Specifically, an adversarial sample undergoes a forward diffusion process, moving away from the source distribution, followed by a reverse process guided by the protected model (victim model) output to map it back to the normal distribution. Experimental evaluations on CIFAR10 and ImageNet30 datasets are conducted, comparing with adversarial training and input preprocessing methods. For infinite-norm attacks with 8/255 perturbation, accuracy rates of 78.1% and 83.5% are achieved, respectively. For 2-norm attacks with 128/255 perturbation, accuracy rates are 74.3% and 82.5%. Additional experiments considering perturbation amplitude, diffusion iterations, and adaptive attacks also validate the effectiveness of the proposed method. Results demonstrate that even when the attacker has knowledge of the defense, the proposed distribution-based method effectively withstands adversarial examples. It fills the gaps of traditional approaches, restoring high-quality original samples and showcasing superior performance in model robustness and generalization.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 47 of its 53 references that are in the map. First posted on arXiv 23 Nov 2023.
Builds on
47 of 53 references.
Closest ancestors · 5
Same direction, newest first
- 2023Defending against Adversarial Audio via Diffusion Model2 Mar
- 2023Better Diffusion Models Further Improve Adversarial Training9 Feb
- 2022Guided Diffusion Model for Adversarial Purification from Random Noise22 Jun
- 2022Guided Diffusion Model for Adversarial Purification30 May
- 2022Diffusion Models for Adversarial Purification16 May
Other references · 42
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2013Intriguing properties of neural networkscited by 5,114
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2016Wide Residual Networkscited by 3,057
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
30 more
- 2016Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learningcited by 1,509
- 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,419
- 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,324
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
- 2018ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Designcited by 1,132
- 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
- 2018Improving Transferability of Adversarial Examples with Input Diversitycited by 591
- 2018Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Modelscited by 362
- 2017Defense against Adversarial Attacks Using High-Level Representation Guided Denoisercited by 329
- 2018Adversarially Robust Generalization Requires More Datacited by 318
- 2019Adversarial Examples Improve Image Recognitioncited by 283
- 2018Characterizing Adversarial Subspaces Using Local Intrinsic Dimensionalitycited by 280
- 2017MagNet: a Two-Pronged Defense against Adversarial Examplescited by 268
- 2017Detecting Adversarial Samples from Artifactscited by 244
- 2018Adversarial Logit Pairingcited by 224
- 2016A study of the effect of JPG compression on adversarial imagescited by 196
- 2019You Only Propagate Once: Accelerating Adversarial Training via Maximal Principlecited by 181
- 2020Understanding the Failure Modes of Out-of-Distribution Generalizationcited by 146
- 2019Enhancing Adversarial Example Transferability with an Intermediate Level Attackcited by 139
- 2021On Calibration and Out-of-domain Generalizationcited by 134
- 2020MACER: Attack-free and Scalable Robust Training via Maximizing Certified Radiuscited by 114
- 2018Benchmarking Neural Network Robustness to Common Corruptions and Surface Variationscited by 99
- 2020Adversarial Distributional Training for Robust Deep Learningcited by 79
- 2021Improved OOD Generalization via Adversarial Training and Pre-trainingcited by 66
- 2020Stochastic Security: Adversarial Defense Using Long-Run Dynamics of Energy-Based Modelscited by 58
- 2017APE-GAN: Adversarial Perturbation Elimination with GANcited by 57
- 2021Detecting Adversarial Examples from Sensitivity Inconsistency of Spatial-Transform Domaincited by 29
- 2023Improving Generalization of Adversarial Training via Robust Critical Fine-Tuningcited by 23
- 2022Towards Out-of-Distribution Adversarial Robustnesscited by 5
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2022Threat Model-Agnostic Adversarial Defense using Diffusion Models
- 2025Diffusion or Non-Diffusion Adversarial Defenses: Rethinking the Relation between Classifier and Adversarial Purifier
- 2023Improving Adversarial Transferability by Stable Diffusion
- 2023AdvDiff: Generating Unrestricted Adversarial Examples using Diffusion Models
- 2026A Low-Rank Defense Method for Adversarial Attack on Diffusion Models
- 2025Gradient-Free Adversarial Purification with Diffusion Models
- 2023Mist: Towards Improved Adversarial Examples for Diffusion Models
- 2024Adversarial Examples are Misaligned in Diffusion Model Manifolds