atlas

Research map / Adversarial robustness and security / Certified and empirical robustness

Robust Classification via a Single Diffusion Model

ICML 2024 · Adversarial robustness and security › Certified and empirical robustness · approach: Augmentation and diffusion purification · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Robust Diffusion Classifier (RDC), converting a pre-trained class-conditional diffusion model into a generative classifier via Bayes' theorem with a likelihood-maximization pre-step and a multi-head diffusion backbone for efficient all-class prediction, evaluated against adaptive attacks on CIFAR-10.

Problem

Adversarial robustness of image classifiers: diffusion purification is broken by adaptive attacks and adversarial training generalizes poorly to unseen threats. The paper asks how to turn a diffusion model into a robust generative classifier.

Approach

Classify using the diffusion model's conditional likelihood via Bayes' theorem (approximated by the negative conditional diffusion loss), first moving the input to higher-likelihood regions with a budget-constrained likelihood maximization step, and use a multi-head UNet that outputs noise predictions for all classes in one forward pass to cut the K-fold cost.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add likelihood maximization before diffusion classification (ablation)DC · CIFAR-10 test, ℓ∞, ε=8/255robust accuracy: 35.94 -> 75.67Helped
Add likelihood maximization before diffusion classification (ablation)DC · CIFAR-10 test, ℓ2, ε=0.5robust accuracy: 76.95 -> 82.03Helped
Use one sampled timestep per LM iteration instead of all timesteps (ablation)RDC · CIFAR-10 test, ℓ∞, ε=8/255, AutoAttack with BPDA, first 100 examplesrobust accuracy: 73.24 -> 75.67Helped
Use one sampled timestep per LM iteration instead of all timesteps (ablation)RDC · CIFAR-10 test, ℓ2, ε=0.5, AutoAttack with BPDA, first 100 examplesrobust accuracy: 80.27 -> 82.03Helped
Use one sampled timestep per LM iteration instead of all timesteps (ablation)LM · CIFAR-10 test, ℓ∞, ε=8/255, AutoAttack with BPDA, first 100 examplesrobust accuracy: 2.34 -> 71.68Helped
Train multi-head diffusion with cross-entropy loss instead of diffusion loss (ablation)Multi-head diffusion · CIFAR-10 testrobust accuracy: 0%Hurt
Increase the optimization budget η (ablation)RDC likelihood maximization · CIFAR-10 test, ℓ∞, ε=8/255robust accuracyMixed
Reduce the number of diffusion timesteps used by the classifier (ablation)DC · CIFAR-10 test, ℓ∞, ε=8/255robust accuracyHurt
Sample ε multiple times, or reuse the same ε across timesteps or classes (ablation)DC · CIFAR-10 testrobust accuracyNo clear effect
Increase CFG for multi-head diffusion (ablation)Multi-head diffusion · CIFAR-10accuracyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10

Benchmarks: CIFAR-10

Metrics: clean accuracy robust accuracy

Baselines: AT-DDPM AT-EDM DiffPure PAT-self SBGC HybViT JEM

Builds on: DiffPure AutoAttack classifier-guided diffusion (off-the-shelf conditional diffusion model) denoising diffusion probabilistic models BPDA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy