Abstract
Diffusion models (DMs) have revolutionized generative AI, but their reliance on massive, often uncurated datasets makes them vulnerable to data poisoning. We present UIBDiffusion, the first universal and imperceptible backdoor attack for diffusion models. By utilizing Universal Adversarial Perturbations (UAPs) as triggers, UIBDiffusion achieves a 100% attack success rate with minimal data poisoning while remaining invisible to both human inspection and state-of-the-art algorithmic defenses.
Introduction
The rapid adoption of Diffusion Models has brought forth significant security concerns, particularly regarding backdoor attacks. In a typical backdoor scenario, a model is trained such that a specific "trigger" in the input forces the generation of a malicious target image. However, existing attacks often rely on perceptible triggers—like gray boxes or eyeglasses—that are easily spotted by human moderators or reversed by defensive algorithms such as Elijah and TERD. UIBDiffusion addresses this "stealthiness-effectiveness" trade-off by introducing triggers that are image-agnostic, model-agnostic, and mathematically imperceptible.
Methodology
UIBDiffusion's innovation lies in repurposing Universal Adversarial Perturbations (UAPs), originally designed to fool image classifiers, as backdoor triggers for generative models. The framework consists of two primary stages:
- Trigger Generation: A trainable network $G_\gamma$ is optimized to maximize the "fooling rate" against a pre-trained classifier (e.g., VGG or ResNet). This process generates a high-frequency noise pattern $\tau$ that serves as the trigger.
- Backdoor Injection: The attack replaces visible mask-based injection with a simple additive process: $r(x, \tau) = x + \varepsilon \odot \tau$, where $x$ is the clean image and $\tau$ is the UAP trigger. Because $\tau$ is essentially structured noise, it does not form recognizable spatial patterns.
Experimental Results
The authors evaluated UIBDiffusion using CIFAR-10 and CelebA-HQ datasets across multiple architectures (DDPM, LDM, NCSN) and 11 different sampling algorithms.
Attack Effectiveness and Stealthiness
UIBDiffusion achieved a 100% Attack Success Rate (ASR) with a poison rate as low as 5%. In contrast, the previous state-of-the-art method, VillanDiffusion, only reached a 56% ASR at the same poison level. Quantitatively, images poisoned with UIBDiffusion maintained high SSIM scores, appearing virtually identical to clean images to the human eye.
Robustness Against Defenses
A critical advantage of UIBDiffusion is its ability to bypass algorithmic defenses. Methods like Elijah and TERD rely on "trigger inversion" to find consistent geometric patterns. Because UAPs are high-frequency and unstructured, these algorithms fail to reconstruct the trigger, resulting in a 0% detection rate for UIBDiffusion while maintaining a 100% success rate for the attacker.
Conclusion
UIBDiffusion demonstrates a significant vulnerability in current diffusion model training pipelines. By leveraging the high-frequency nature of UAPs, the attack achieves perfect effectiveness and unprecedented stealth. These findings suggest that future defensive research must move beyond pixel-space trigger inversion and focus on detecting subtle distribution shifts within the model's latent representations.
Summary updated