TL;DR
Researchers have discovered a critical vulnerability in "latent-noise" watermarking for diffusion models, proving that these "robust" marks can be forged or removed using just a single watermarked image and a generic proxy model. By exploiting the many-to-one mapping between images and their initial noise states, the authors demonstrate a black-box attack that successfully manipulates watermarks while keeping image changes virtually invisible.
What Problem Does This Paper Address?
As generative AI becomes ubiquitous, "provenance"—knowing where an image came from—is a major safety concern. To combat deepfakes and IP theft, researchers developed watermarking schemes that embed a secret key into the initial random noise used to start the diffusion process.
Because this key is "baked in" at the very beginning of the generation and recovered via complex mathematical inversion (DDIM inversion), it was widely believed to be robust against tampering. The assumption was that an attacker would need the original model weights or a massive dataset of watermarked images to break the system. This paper challenges that assumption, showing that the "secret sauce" of these watermarks is much easier to sniff out than we thought.
Methods
The authors propose a black-box adversarial attack that requires zero access to the original diffusion model's weights. Their approach relies on two key components:
- The "Watermark Region" Hypothesis: They observed that because many different images can be generated from the same initial noise (depending on the prompt), there must be a "region" in the latent space where any image placed there will be "inverted" back to that specific watermarked noise.
- Proxy VAE Optimization: Instead of attacking the diffusion model directly, the authors use a standard, off-the-shelf Variational Auto-Encoder (VAE). To forge a watermark, they take a clean image and a single watermarked reference image. They then run an optimization to find a tiny perturbation ($\delta$) that pushes the clean image's latent representation closer to the watermarked image's representation.
The objective function is elegantly simple: $$\min_{\delta} \|E_{\phi}(x^{(c)} + \delta) - E_{\phi}(x^{(w)})\|_2 + \lambda\|\delta\|_2$$ Where $x^{(c)}$ is the clean image, $x^{(w)}$ is the watermarked reference, and $\lambda$ ensures the change remains imperceptible to the human eye.
Datasets
The study utilized several standard benchmarks to test the attacks:
- COCO2017: Used to provide "clean" (non-watermarked) images for forgery attacks.
- Gustavosta/Stable-Diffusion-Prompts: A large dataset of ~80,000 prompts used to generate realistic watermarked images.
- runwayml-stable-diffusion-v1-5-eval-random-prompts: A set of 200 simpler prompts used to evaluate how watermark visibility changes with prompt complexity.
Key Insights and Ideas
- Many-to-One is the Achilles' Heel: The fact that the mapping from image to initial noise is many-to-one creates "vulnerable regions" in the latent space. If you can nudge an image into this region, the detector is effectively "blinded" and will misclassify the image.
- Proxy Models are Sufficient: Surprisingly, you don't need the exact VAE used by the model owner. The authors showed that a VAE from a completely different model (like FLUX.1-dev) can act as a "proxy" to attack Stable Diffusion models. This significantly lowers the bar for an attacker.
- The Forgery/Removal Trade-off: The authors found that "multi-pattern" watermarks (like RingID and WIND), which encode more information, are actually easier to forge because they occupy a larger "watermark region," but they are harder to remove for the same reason.
- Linear Separability: Using simple Linear Discriminant Analysis (LDA), the authors showed that watermarked and non-watermarked images are often linearly separable in the latent space, meaning the "watermark signal" leaves a consistent, detectable footprint.
Key Results
The attacks were tested against four leading schemes: Tree-Ring, RingID, WIND, and Gaussian Shading.
- High Success Rates: Forgery attacks achieved nearly 100% success (ASR) across most schemes while maintaining high image quality (PSNR > 30dB).
- Tree-Ring Vulnerability: Tree-Ring was particularly susceptible to removal, with the authors achieving over 98% removal success while baselines like Zhao et al. struggled.
- Efficiency: The proposed attack is significantly faster than existing methods, taking about 7.8 minutes per image compared to over 12 minutes for the closest competitor, all while using less than half the perturbation (lower $l_2$ distance).
Limitations and Future Work
While the attack is highly effective against noise-based watermarks, the authors acknowledge that decoder-based watermarking (which modifies the VAE itself) remains more resistant to this specific type of latent-space manipulation.
Future work is needed to develop "content-aware" watermarks—marks that are mathematically tied to the semantic content of the image rather than just the initial noise. This would prevent an attacker from simply "copy-pasting" a watermark region from a picture of a cat onto a picture of a car. For now, this paper serves as a wake-up call: current diffusion watermarking is much more fragile than it appears.
Summary updated