Reproduce “DiffAttack: Evasion Attacks Against Diffusion-Based Adversarial Purification” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

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

About this paper

Mintong Kang, Dawn Song, Bo Li

DiffAttack, developed by researchers at the University of Illinois Urbana-Champaign and UC Berkeley, successfully evades state-of-the-art diffusion-based adversarial purification defenses by introducing a deviated-reconstruction loss and a memory-efficient gradient backpropagation algorithm. This adaptive attack achieved robust accuracy reductions exceeding 20% on CIFAR-10 against score-based models and was the first to effectively attack DDPM-based defenses, while maintaining O(1) memory cost for gradient computation.

Key insights

  • Diffusion-based purification defenses are vulnerable to adaptive attacks that effectively address challenges related to deep computational graphs, memory, and stochasticity.
  • Adversarial perturbations can be effectively guided by introducing intermediate losses that cause misestimation of data density gradients within the diffusion process.
  • Optimal robustness in diffusion-based defenses is achieved with moderate diffusion lengths; excessively short or long lengths degrade performance against attacks or benign accuracy, respectively.

Summary by alphaXiv.

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