A Recipe for Watermarking Diffusion Models

Yunqing Zhao, Tianyu Pang, Chao Du, Xiao Yang, Ngai-Man Cheung +1 more
3/17/2023
cs.CVcs.CRcs.LG

Official code: yunqing-me/WatermarkDM (152 stars, MIT, last commit 2024-11-13).

Abstract

Diffusion models (DMs) have demonstrated advantageous potential on generative tasks. Widespread interest exists in incorporating DMs into downstream applications, such as producing or editing photorealistic images. However, practical deployment and unprecedented power of DMs raise legal issues, including copyright protection and monitoring of generated content. In this regard, watermarking has been a proven solution for copyright protection and content monitoring, but it is underexplored in the DMs literature. Specifically, DMs generate samples from longer tracks and may have newly designed multimodal structures, necessitating the modification of conventional watermarking pipelines. To this end, we conduct comprehensive analyses and derive a recipe for efficiently watermarking state-of-the-art DMs (e.g., Stable Diffusion), via training from scratch or finetuning. Our recipe is straightforward but involves empirically ablated implementation details, providing a foundation for future research on watermarking DMs. The code is available at https://github.com/yunqing-me/WatermarkDM.

View on arXivView PDF

Code Implementations(1)

MIT

Code of the paper: A Recipe for Watermarking Diffusion Models

15211Shell, PythonMar 17, 20231 years agoMIT
diffusion-modelsgenerative-modelstext-to-imagetrustworthy-aiwatermark

Similar Papers

Cite this paper

@article{zhao2023recipe,
  title  = {A Recipe for Watermarking Diffusion Models},
  author = {Yunqing Zhao and Tianyu Pang and Chao Du and Xiao Yang and Ngai-Man Cheung and Min Lin},
  year   = {2023},
  eprint = {2303.10137},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.10137v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.10137.svg)](https://codeofpaper.com/paper/2303.10137)

Discussion