Struggle with Adversarial Defense? Try Diffusion
On the map: Diffusion models → Robustness, privacy and adversarial aspects
Abstract (arXiv)
Adversarial attacks induce misclassification by introducing subtle perturbations. Recently, diffusion models are applied to the image classifiers to improve adversarial robustness through adversarial training or by purifying adversarial noise. However, diffusion-based adversarial training often encounters convergence challenges and high computational expenses. Additionally, diffusion-based purification inevitably causes data shift and is deemed susceptible to stronger adaptive attacks. To tackle these issues, we propose the Truth Maximization Diffusion Classifier (TMDC), a generative Bayesian classifier that builds upon pre-trained diffusion models and the Bayesian theorem. Unlike data-driven classifiers, TMDC, guided by Bayesian principles, utilizes the conditional likelihood from diffusion models to determine the class probabilities of input images, thereby insulating against the influences of data shift and the limitations of adversarial training. Moreover, to enhance TMDC's resilience against more potent adversarial attacks, we propose an optimization strategy for diffusion classifiers. This strategy involves post-training the diffusion model on perturbed datasets with ground-truth labels as conditions, guiding the diffusion model to learn the data distribution and maximizing the likelihood under the ground-truth labels. The proposed method achieves state-of-the-art performance on the CIFAR10 dataset against heavy white-box attacks and strong adaptive attacks. Specifically, TMDC achieves robust accuracies of 82.81% against l∞ norm-bounded perturbations and 86.05% against l2 norm-bounded perturbations, respectively, with ε=0.05.
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 35 of its 50 references that are in the map. First posted on arXiv 12 Apr 2024.
Builds on
35 of 50 references.
Closest ancestors · 3
Same direction, newest first
- 2023Robust Classification via a Single Diffusion Model24 May
- 2022Guided Diffusion Model for Adversarial Purification30 May
- 2022Diffusion Models for Adversarial Purification16 May
Other references · 32
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2016Feature Pyramid Networks for Object Detectioncited by 5,021
20 more
- 2014Going Deeper with Convolutionscited by 4,231
- 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
- 2016Variational Inference: A Review for Statisticianscited by 1,466
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
- 2021Variational Diffusion Modelscited by 1,145
- 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 682
- 2019Adversarial Training for Free!cited by 638
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
- 2021Pivotal Tuning for Latent-based Editing of Real Imagescited by 427
- 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 402
- 2022AdaFace: Quality Adaptive Margin for Face Recognitioncited by 390
- 2019Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attackcited by 333
- 2023GeoChat: Grounded Large Vision-Language Model for Remote Sensingcited by 320
- 2023Your Diffusion Model is Secretly a Zero-Shot Classifiercited by 301
- 2020Multi-scale Domain-adversarial Multiple-instance CNN for Cancer Subtype Classification with Unannotated Histopathological Imagescited by 81
- 2022Killing Two Birds with One Stone:Efficient and Robust Training of Face Recognition CNNs by Partial FCcited by 73
- 2020SOS: Selective Objective Switch for Rapid Immunofluorescence Whole Slide Image Classificationcited by 12
- 2024Deep Semantic-Visual Alignment for Zero-Shot Remote Sensing Image Scene Classificationcited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Diffusion or Non-Diffusion Adversarial Defenses: Rethinking the Relation between Classifier and Adversarial Purifier
- 2025Diffusion Models are Robust Pretrainers
- 2024Classifier Guidance Enhances Diffusion-based Adversarial Purification by Preserving Predictive Information
- 2024Efficient Image-to-Image Diffusion Classifier for Adversarial Robustness
- 2026Expanding the Role of Diffusion Models for Robust Classifier Training
- 2025Defending Against Frequency-Based Attacks with Diffusion Models
- 2022Enhancing Diffusion-Based Image Synthesis with Robust Classifier Guidance
- 2025Beyond Classification: Evaluating Diffusion Denoised Smoothing for Security-Utility Trade off