mlsanityData to 7 Oct 2026

Adversarial defense based on distribution transfer

arXiv 2311.13841 ↗First posted 23 Nov 2023cs.CRcited by 0

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

  1. 2023Defending against Adversarial Audio via Diffusion Model2 Mar
  2. 2023Better Diffusion Models Further Improve Adversarial Training9 Feb
  3. 2022Guided Diffusion Model for Adversarial Purification from Random Noise22 Jun
  4. 2022Guided Diffusion Model for Adversarial Purification30 May
  5. 2022Diffusion Models for Adversarial Purification16 May

Other references · 42

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  4. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
  5. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  6. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  7. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  8. 2013Intriguing properties of neural networkscited by 5,114
  9. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  10. 2016Wide Residual Networkscited by 3,057
  11. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  12. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
30 more
  1. 2016Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learningcited by 1,509
  2. 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,419
  3. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,324
  4. 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
  5. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
  6. 2018ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Designcited by 1,132
  7. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
  8. 2018Improving Transferability of Adversarial Examples with Input Diversitycited by 591
  9. 2018Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Modelscited by 362
  10. 2017Defense against Adversarial Attacks Using High-Level Representation Guided Denoisercited by 329
  11. 2018Adversarially Robust Generalization Requires More Datacited by 318
  12. 2019Adversarial Examples Improve Image Recognitioncited by 283
  13. 2018Characterizing Adversarial Subspaces Using Local Intrinsic Dimensionalitycited by 280
  14. 2017MagNet: a Two-Pronged Defense against Adversarial Examplescited by 268
  15. 2017Detecting Adversarial Samples from Artifactscited by 244
  16. 2018Adversarial Logit Pairingcited by 224
  17. 2016A study of the effect of JPG compression on adversarial imagescited by 196
  18. 2019You Only Propagate Once: Accelerating Adversarial Training via Maximal Principlecited by 181
  19. 2020Understanding the Failure Modes of Out-of-Distribution Generalizationcited by 146
  20. 2019Enhancing Adversarial Example Transferability with an Intermediate Level Attackcited by 139
  21. 2021On Calibration and Out-of-domain Generalizationcited by 134
  22. 2020MACER: Attack-free and Scalable Robust Training via Maximizing Certified Radiuscited by 114
  23. 2018Benchmarking Neural Network Robustness to Common Corruptions and Surface Variationscited by 99
  24. 2020Adversarial Distributional Training for Robust Deep Learningcited by 79
  25. 2021Improved OOD Generalization via Adversarial Training and Pre-trainingcited by 66
  26. 2020Stochastic Security: Adversarial Defense Using Long-Run Dynamics of Energy-Based Modelscited by 58
  27. 2017APE-GAN: Adversarial Perturbation Elimination with GANcited by 57
  28. 2021Detecting Adversarial Examples from Sensitivity Inconsistency of Spatial-Transform Domaincited by 29
  29. 2023Improving Generalization of Adversarial Training via Robust Critical Fine-Tuningcited by 23
  30. 2022Towards Out-of-Distribution Adversarial Robustnesscited by 5

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2022Threat Model-Agnostic Adversarial Defense using Diffusion Models
  2. 2025Diffusion or Non-Diffusion Adversarial Defenses: Rethinking the Relation between Classifier and Adversarial Purifier
  3. 2023Improving Adversarial Transferability by Stable Diffusion
  4. 2023AdvDiff: Generating Unrestricted Adversarial Examples using Diffusion Models
  5. 2026A Low-Rank Defense Method for Adversarial Attack on Diffusion Models
  6. 2025Gradient-Free Adversarial Purification with Diffusion Models
  7. 2023Mist: Towards Improved Adversarial Examples for Diffusion Models
  8. 2024Adversarial Examples are Misaligned in Diffusion Model Manifolds