[Paper Review] Better Diffusion Models Further Improve Adversarial Training
The paper shows that using the latest diffusion model EDM for generating training data significantly improves adversarial training, achieving state-of-the-art robust accuracy on RobustBench without external data.
It has been recognized that the data generated by the denoising diffusion probabilistic model (DDPM) improves adversarial training. After two years of rapid development in diffusion models, a question naturally arises: can better diffusion models further improve adversarial training? This paper gives an affirmative answer by employing the most recent diffusion model which has higher efficiency ($\sim 20$ sampling steps) and image quality (lower FID score) compared with DDPM. Our adversarially trained models achieve state-of-the-art performance on RobustBench using only generated data (no external datasets). Under the $\ell_\infty$-norm threat model with $ε=8/255$, our models achieve $70.69\%$ and $42.67\%$ robust accuracy on CIFAR-10 and CIFAR-100, respectively, i.e. improving upon previous state-of-the-art models by $+4.58\%$ and $+8.03\%$. Under the $\ell_2$-norm threat model with $ε=128/255$, our models achieve $84.86\%$ on CIFAR-10 ($+4.44\%$). These results also beat previous works that use external data. We also provide compelling results on the SVHN and TinyImageNet datasets. Our code is available at https://github.com/wzekai99/DM-Improves-AT.
Motivation & Objective
- Demonstrate that a higher-quality diffusion model (EDM) improves adversarial training performance without external data.
- Quantify the impact of generated data quantity, quality, and training strategies on robustness and clean accuracy.
- Analyze ablations on early stopping, data augmentation, and sampling steps to understand the robustness mechanism.
Proposed method
- Replace DDPM-generated data with class-conditional EDM-generated data in adversarial training.
- Use TRADES as the AT framework with tuned beta values for different datasets.
- Generate 1M–50M images with EDM, selecting top-scoring samples per class or using all data when large amounts are generated.
- Evaluate robustness with AutoAttack and report clean accuracy under multiple threat models.
- Conduct extensive ablations on data amount, early stopping, augmentation, batch size, and sampling steps.
Experimental results
Research questions
- RQ1Does incorporating EDM-generated data improve robust accuracy beyond DDPM-based data in adversarial training without external data?
- RQ2How do data quantity, early stopping, and augmentation interact with EDM-generated data to affect robustness?
- RQ3What is the effect of class-conditional versus unconditional diffusion data on AT performance?
- RQ4How does the diffusion sampling step count (and resulting FID) influence robustness and clean accuracy?
Key findings
- EDM-generated data yields state-of-the-art robust accuracy on CIFAR-10/ CIFAR-100 under l_infinity and l2 threat models without external data.
- For CIFAR-10 under (l_infinity, epsilon=8/255), WRN-70-16 reaches 70.69% robust accuracy and 93.25% clean accuracy using 50M generated images.
- For CIFAR-10 under (l2, epsilon=128/255), best model achieves 84.86% robust and 95.54% clean accuracy.
- On CIFAR-100 under (l_infinity, 8/255), best models reach 42.67% robust and 75.22% clean accuracy, surpassing prior SOTA without external data.
- EDM-generated data helps eliminate robust overfitting and reduces the robust-generalization gap compared to DDPM-based or no-generated-data baselines.
- Class-conditional generation with low FID (e.g., 20 sampling steps) yields the best performance across datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.