Diffusion models have revolutionized image generation, but their power comes with a significant "double-edged sword": unauthorized customization. Using techniques like LoRA or DreamBooth, anyone can take a small set of images—such as an artist's portfolio or a private individual's photos—and fine-tune a model to mimic that specific style or identity without permission.
While existing protections like Glaze or PhotoGuard attempt to thwart this by adding invisible adversarial perturbations to images, they primarily rely on untargeted attacks that simply try to make the model "wrong." This paper, presented at ICLR 2025, argues that untargeted attacks are often too weak. Instead, the researchers introduce a highly effective targeted attack method that significantly improves protection against unauthorized diffusion customization.
The Solution: ACE (Attacking with Consistent score-function Errors)
To provide robust protection, the authors propose ACE, a method that shifts the defensive paradigm from untargeted chaos to targeted consistency.
- From Untargeted to Targeted: Instead of just maximizing the model's error randomly, ACE minimizes the distance between the model's output and a pre-defined "chaotic" target pattern.
- Consistent Poisoning: Every protected image is modified to point toward the same target pattern. When unauthorized fine-tuning occurs, the model tries to minimize this consistent error, effectively poisoning its own learning process.
- ACE+: An enhanced version of the method also minimizes the distance between the image's latent representation and the target. This makes it particularly effective against image-to-image customization methods like SDEdit.
Target Selection
The researchers did not just pick random noise for their target. They designed targets based on "visual stress" principles—high-contrast, Moire-like patterns that are particularly disruptive to both human vision and machine learning stability.
Why it Works: The "Reversal" Hypothesis
The most profound insight of the paper is explaining why targeted attacks work so much better than untargeted ones. The authors propose the Reversal Hypothesis: during fine-tuning, a diffusion model learns a "reversal bias" to overcome the errors in its training data.
If the protective errors are random (untargeted), the model cannot learn a unified bias. However, if the errors are consistent (targeted via ACE), the model learns a strong, specific bias. It then injects this "reverse chaotic pattern" into every image it generates, completely ruining the output.
Key Results and Visual Impact
The study evaluated ACE using the CelebA-HQ dataset (for identity mimicry) and the WikiArt dataset (for artistic style imitation), testing against mainstream customization pipelines like LoRA, DreamBooth, and SDEdit.
- Total Failure of Customization: On the CelebA-HQ dataset, ACE achieved a Face Detection Failure Rate (FDFR) of 1.00. This means that none of the images generated by the "stolen" model were recognizable as faces by standard detection algorithms.
- Superiority over Baselines: ACE and ACE+ consistently outperformed state-of-the-art protections like ASPL and PhotoGuard across multiple metrics, including CLIP-IQA (image quality) and MS-SSIM (structural similarity).
- Artist Approval: In a user study of 1,304 artists, ACE-protected outputs were judged as the "worst" (meaning the protection was most effective at ruining the theft) in 55% of cases compared to the strongest existing baseline.
- Robustness: The protection remained effective even after common image "purification" attempts, such as JPEG compression, resizing, and Gaussian blurring.
- Vulnerability of DiT: The paper is also the first to show that the newer Diffusion Transformer (DiT) architecture (used in models like Stable Diffusion 3) is vulnerable to these attacks, though it fails by deviating semantically (generating the wrong subject entirely) rather than just adding noise.
Crucially, ACE is designed to be memory-efficient. It can run on consumer-grade GPUs (under 6GB VRAM), making state-of-the-art protection accessible to individual artists and everyday users.
Limitations and Future Work
While ACE represents a major leap forward, the authors note a few limitations. Extremely powerful and computationally expensive purification methods, like DiffPure, can still strip away the protection, though they often degrade the original image quality in the process. Additionally, the "Reversal Hypothesis" is currently based on empirical observation; a rigorous mathematical proof remains an area for future work. Finally, as customization techniques evolve to become faster and more efficient, adversarial targets will likely need continuous updating in this ongoing arms race.
Summary updated