Paper 2024/1597 Original: eprint.iacr.org/2024/1597 ↗

An Undetectable Watermark for Generative Image Models

Sam Gunn
Xuandong Zhao
Dawn Song
Abstract

We present the first undetectable watermarking scheme for generative image models. Undetectability ensures that no efficient adversary can distinguish between watermarked and un-watermarked images, even after making many adaptive queries. In particular, an undetectable watermark does not degrade image quality under any efficiently computable metric. Our scheme works by selecting the initial latents of a diffusion model using a pseudorandom error-correcting code (Christ and Gunn, 2024), a strategy which guarantees undetectability and robustness. We experimentally demonstrate that our watermarks are quality-preserving and robust using Stable Diffusion 2.1. Our experiments verify that, in contrast to every prior scheme we tested, our watermark does not degrade image quality. Our experiments also demonstrate robustness: existing watermark removal attacks fail to remove our watermark from images without significantly degrading the quality of the images. Finally, we find that we can robustly encode 512 bits in our watermark, and up to 2500 bits when the images are not subjected to watermark removal attacks. Our code is available at https://github.com/XuandongZhao/PRC-Watermark.

Metadata
Available format(s)
PDF
Category
Applications
Publication info
Preprint.
History
2025-03-04: last updated
2024-10-08: published
Short URL
https://ia.cr/2024/1597
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2024/1597,
      author = {Sam Gunn and Xuandong Zhao and Dawn Song},
      title = {An Undetectable Watermark for Generative Image Models},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1597},
      year = {2024},
      url = {https://eprint.iacr.org/2024/1597}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.