Reproduce “Guided Diffusion Model for Adversarial Purification” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Jinyi Wang, Zhaoyang Lyu, Dahua Lin, Bo Dai, Hongfei Fu

Researchers from Shanghai JiaoTong University, The Chinese University of Hong Kong, and Shanghai AI Laboratory developed the Guided Diffusion Model for Purification (GDMP), which leverages Denoising Diffusion Probabilistic Models with a novel guidance mechanism to protect deep neural networks against adversarial attacks. The system achieved 90.10% robust accuracy on CIFAR-10 and a new state-of-the-art 70.94% robust accuracy on ImageNet against strong PGD attacks, effectively addressing the trade-off between perturbation removal and semantic preservation.

Key insights

  • Denoising Diffusion Probabilistic Models (DDPMs) possess inherent denoising capabilities that make them highly effective for adversarial purification tasks.
  • Explicitly guiding the DDPM's reverse process with information from the original adversarial image (e.g., using SSIM or MSE) is crucial for resolving the trade-off between effective perturbation removal and maintaining semantic fidelity.
  • Iterative purification, by performing multiple short diffusion-denoising cycles, proves more effective for cumulative perturbation removal than a single long purification step, leading to higher robust accuracy.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.