Skip to content

VillanDiffusion: A Unified Backdoor Attack Framework for Diffusion ModelsVillanDiffusion: A Unified Backdoor Attack Framework for Diffusion Models

arXiv· arXiv:2306.06874· Sheng-Yen Chou, Pin-Yu Chen, Tsung-Yi HoThe Chinese University of Hong Kong; IBM ResearchIndexed by this site · 27 days ago· Originally publishedAttacks

Translation in progress — untranslated text is omitted.

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

AI summaryResearchers propose VillanDiffusion, a unified backdoor attack framework for diffusion models that extends backdoor analysis to mainstream unconditional and conditional diffusion models (denoising-based and score-based) as well as a variety of training-free samplers. Prior work has shown that basic unconditional diffusion models such as DDPM and DDIM are vulnerable to backdoor injection attacks, which trigger output manipulation by embedding malicious patterns in the model input. Experiments show that this unified framework supports backdoor analysis across different diffusion model configurations and provides new insights into caption-based backdoor attacks. The code is open-sourced on GitHub (IBM/villandiffusion).

Questions
Existing diffusion model backdoor research only covers basic models such as DDPM/DDIM, requires modifying the sampler, or attacks text-to-image models by changing the text encoder, which leaves a gap with the actual use of SOTA diffusion models, and the risk may be underestimated.
Methods
Proposes VillanDiffusion: formulates backdoor attacks as a distribution-mapping problem with a correction term, uses numerical reparameterization to support arbitrary schedulers, and derives via the Fokker-Planck equation a unified backdoor loss containing a stochasticity parameter ζ, covering ODE/SDE samplers and both image and caption triggers.
Experiments and results
On DDPM, LDM, NCSN, and Stable Diffusion v1-4, backdoors are achieved with 7 samplers and image and caption triggers: on CIFAR10, a poisoning rate of about 10% suffices for success; the caption trigger effect fails as caption similarity increases; the authors also state that inference-time clipping defenses fail on most ODE samplers.
Limitations and future work
In Appendix C, the authors note that the framework does not cover deterministic generative processes such as Cold Diffusion and Soft Diffusion. The experiments are limited to 4 datasets and 5 types of models; the CelebA-HQ, LDM, and NCSN experiments were run only once due to resource constraints; Pokemon Caption has only 833 images.

Related papers

Show 3 more papers
Read originalarxiv.org