Better Diffusion Models Further Improve Adversarial Training

Zekai Wang, Tianyu Pang, Chao Du, Min Lin, Weiwei Liu +1 more
2/9/2023
cs.CVcs.AIcs.CR

No official code found. Best implementation: wzekai/DM-Improves-AT (145 stars, MIT, last commit 2023-07-31).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the paper "Better Diffusion Models Further Improve Adversarial Training" (ICML 2023)

14516PythonJan 31, 20233 years agoMIT

Similar Papers

Cite this paper

@article{wang2023better,
  title  = {Better Diffusion Models Further Improve Adversarial Training},
  author = {Zekai Wang and Tianyu Pang and Chao Du and Min Lin and Weiwei Liu and Shuicheng Yan},
  year   = {2023},
  eprint = {2302.04638},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.04638v2},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.04638.svg)](https://codeofpaper.com/paper/2302.04638)

Discussion