An Undetectable Watermark for Generative Image Models

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.

Cite

Text

Gunn et al. "An Undetectable Watermark for Generative Image Models." International Conference on Learning Representations, 2025.

Markdown

[Gunn et al. "An Undetectable Watermark for Generative Image Models." International Conference on Learning Representations, 2025.](https://mlanthology.org/iclr/2025/gunn2025iclr-undetectable/)

BibTeX

@inproceedings{gunn2025iclr-undetectable,
  title     = {{An Undetectable Watermark for Generative Image Models}},
  author    = {Gunn, Sam and Zhao, Xuandong and Song, Dawn},
  booktitle = {International Conference on Learning Representations},
  year      = {2025},
  url       = {https://mlanthology.org/iclr/2025/gunn2025iclr-undetectable/}
}