Proceedings

Secure and Efficient Watermarking for Latent Diffusion Models in Model Distribution Scenarios

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 7473-7481.

https://doi.org/10.24963/ijcai.2025/831

Abstract

Latent diffusion models have exhibited considerable potential in generative tasks. Watermarking is considered to be an alternative to safeguard the copyright of generative models and prevent their misuse. However, in the context of model distribution scenarios, the accessibility of models to large scale of model users brings new challenges to the security, efficiency and robustness of existing watermark solutions. To address these issues, we propose a secure and efficient watermarking solution. A new security mechanism is designed to prevent watermark leakage and watermark escape, which considers watermark randomness and watermark-model association as two constraints for mandatory watermark injection. To reduce the time cost of training the security module, watermark injection and the security mechanism are decoupled, ensuring that fine-tuning VAE only accomplishes the security mechanism without the burden of learning watermark patterns. A watermark distribution-based verification strategy is proposed to enhance the robustness against diverse attacks in the model distribution scenarios. Experimental results prove that our watermarking consistently outperforms existing six baselines on effectiveness and robustness against ten image processing attacks and adversarial attacks, while enhancing security in the distribution scenarios. The code is available at https://anonymous.4open.science/r/DistriMark-F11F/.

  1. [An et al., 2024] Bang An, Mucong Ding, Tahseen Rab- bani, Aakriti Agrawal, Yuancheng Xu, Chenghao Deng, Sicheng Zhu, Abdirisak Mohamed, Yuxin Wen, Tom Goldstein, et al. Benchmarking the robustness of image watermarks. arXiv preprint arXiv:2401.08573, 2024.
  2. [Azcoitia and Laoutaris, 2022] Santiago Andrés Azcoitia and Nikolaos Laoutaris. A survey of data marketplaces and their business models. ACM SIGMOD Record, 51(3):18-29, 2022.
  3. [Ballé et al., 2018] Johannes Ballé, David Minnen, Saurabh Singh, Sung Jin Hwang, and Nick Johnston. Variational image compression with a scale hyperprior. arXiv preprint arXiv:1802.01436, 2018.
  4. [Barrett, 2023] Clark Barrett. Identifying and mitigating the security risks of generative ai. arXiv preprint arXiv:2308.14840, 2023.
  5. [Cheng et al., 2020] Zhengxue Cheng, Heming Sun, Masaru Takeuchi, and Jiro Katto. Learned image compression with discretized gaussian mixture likelihoods and atten- tion modules. In Proceedings of the IEEE/CVF Confer- ence on Computer Vision and Pattern Recognition, pages 7939-7948, 2020.
  6. [Ci et al., 2025] Hai Ci, Pei Yang, Yiren Song, and Mike Zheng Shou. Ringid: Rethinking tree-ring water- marking for enhanced multi-key identification. In Eu- ropean Conference on Computer Vision, pages 338-354. Springer, 2025.
  7. [Cox et al., 2007] Ingemar Cox, Matthew Miller, Jeffrey Bloom, Jessica Fridrich, and Ton Kalker. Digital water- marking and steganography. Morgan kaufmann, 2007.
  8. [Croitoru et al., 2023] Florinel-Alin Croitoru, Vlad Hondru, Radu Tudor Ionescu, and Mubarak Shah. Diffusion mod- els in vision: A survey. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(9):10850-10869, 2023.
  9. [Dhariwal and Nichol, 2021] Prafulla Dhariwal and Alexan- der Nichol. Diffusion models beat gans on image synthe- sis. Advances in neural information processing systems, 34:8780-8794, 2021.
  10. [Donahue and Kleinberg, 2021] Kate Donahue and Jon Kleinberg. Model-sharing games: Analyzing federated learning under voluntary participation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pages 5303-5311, 2021.
  11. [Feng et al., 2024] Weitao Feng, Wenbo Zhou, Jiyan He, Jie Zhang, Tianyi Wei, Guanlin Li, Tianwei Zhang, Weim- ing Zhang, and Nenghai Yu. Aqualora: Toward white-box protection for customized stable diffusion models via wa- termark lora. arXiv preprint arXiv:2405.11135, 2024.
  12. [Fernandez et al., 2023] Pierre Fernandez, Guillaume Coua- iron, Hervé Jégou, Matthijs Douze, and Teddy Furon. The stable signature: Rooting watermarks in latent dif- fusion models. In Proceedings of the IEEE/CVF Inter- national Conference on Computer Vision, pages 22466- 22477, 2023.
  13. [Gowal and Kohli, 2023] Sven Gowal and Push- meet Kohli. Identifying ai-generated images with synthid. https://www.deepmind.com/blog/ identifying-ai-generated-images-with-synthid, 2023. Accessed: 2023-09-23. Link
  14. [Heusel et al., 2017] Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochre- iter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. Advances in neural information processing systems, 30, 2017.
  15. [Hore and Ziou, 2010] Alain Hore and Djemel Ziou. Im- age quality metrics: Psnr vs. ssim. In 2010 20th inter- national conference on pattern recognition, pages 2366- 2369. IEEE, 2010.
  16. [Jiang et al., 2023] Zhengyuan Jiang, Jinghuai Zhang, and Neil Zhenqiang Gong. Evading watermark based detec- tion of ai-generated content. In Proceedings of the 2023 ACM SIGSAC Conference on Computer and Communica- tions Security, pages 1168-1181, 2023.
  17. [Lukas et al., 2023] Nils Lukas, Abdulrahman Diaa, Lucas Fenaux, and Florian Kerschbaum. Leveraging optimiza- tion for adaptive attacks on image watermarks. arXiv preprint arXiv:2309.16952, 2023.
  18. [Mittal et al., 2012] Anish Mittal, Rajiv Soundararajan, and Alan C Bovik. Making a "completely blind" image quality analyzer. IEEE Signal Processing Letters, 20(3):209-212, 2012.
  19. [Pei et al., 2023] Jian Pei, Raul Castro Fernandez, and Xiao- hui Yu. Data and ai model markets: Opportunities for data and model sharing, discovery, and integration. Proceed- ings of the VLDB Endowment, 16(12):3872-3873, 2023.
  20. [Radford et al., 2021] Alec Radford, Jong Wook Kim, Chris Hallacy, A. Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervi- sion. In ICML, 2021.
  21. [Rombach et al., 2022] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 10684-10695, 2022.
  22. [Song et al., 2010] Chunlin Song, Sud Sudirman, Madjid Merabti, and David Llewellyn-Jones. Analysis of digital image watermark attacks. In 2010 7th IEEE Consumer Communications and Networking Conference, pages 1-5. IEEE, 2010.
  23. [Song et al., 2020a] Jiaming Song, Chenlin Meng, and Ste- fano Ermon. Denoising diffusion implicit models. arXiv preprint arXiv:2010.02502, 2020.
  24. [Song et al., 2020b] Yang Song, Jascha Sohl-Dickstein, Diederik P Kingma, Abhishek Kumar, Stefano Er- mon, and Ben Poole. Score-based generative modeling through stochastic differential equations. arXiv preprint arXiv:2011.13456, 2020.
  25. [Venkatanath et al., 2015] N Venkatanath, D Praneeth, Maruthi Chandrasekhar Bh, Sumohana S Channappayya, and Swarup S Medasani. Blind image quality evaluation using perception based features. In 2015 Twenty First National Conference on Communications, pages 1-6. IEEE, 2015.
  26. [Wang et al., 2004] Zhou Wang, Alan C Bovik, Hamid R Sheikh, and Eero P Simoncelli. Image quality assessment: from error visibility to structural similarity. IEEE transac- tions on image processing, 13(4):600-612, 2004.
  27. [Wang et al., 2022] Zijie J Wang, Evan Montoya, David Munechika, Haoyang Yang, Benjamin Hoover, and Duen Horng Chau. Diffusiondb: A large-scale prompt gallery dataset for text-to-image generative models. arXiv preprint arXiv:2210.14896, 2022.
  28. [Wen et al., 2023] Yuxin Wen, John Kirchenbauer, Jonas Geiping, and Tom Goldstein. Tree-ring watermarks: Fin- gerprints for diffusion images that are invisible and robust. arXiv preprint arXiv:2305.20030, 2023.
  29. [Wen et al., 2024] Yuxin Wen, John Kirchenbauer, Jonas Geiping, and Tom Goldstein. Tree-rings watermarks: In- visible fingerprints for diffusion images. Advances in Neu- ral Information Processing Systems, 36, 2024.
  30. [Wortsman et al., 2022] Mitchell Wortsman, Gabriel Ilharco, Samir Ya Gadre, Rebecca Roelofs, Raphael Gontijo- Lopes, Ari S Morcos, Hongseok Namkoong, Ali Farhadi, Yair Carmon, Simon Kornblith, et al. Model soups: av- eraging weights of multiple fine-tuned models improves accuracy without increasing inference time. In Inter- national conference on machine learning, pages 23965- 23998. PMLR, 2022.
  31. [Xiong et al., 2023] Cheng Xiong, Chuan Qin, Guorui Feng, and Xinpeng Zhang. Flexible and secure watermarking for latent diffusion model. In Proceedings of the 31st ACM In- ternational Conference on Multimedia, pages 1668-1676, 2023.
  32. [Yang et al., 2024] Zijin Yang, Kai Zeng, Kejiang Chen, Han Fang, Weiming Zhang, and Nenghai Yu. Gaussian shad- ing: Provable performance-lossless image watermarking for diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12162-12171, 2024.
  33. [Zhang et al., 2019] Kevin Alex Zhang, Lei Xu, Alfredo Cuesta-Infante, and Kalyan Veeramachaneni. Robust in- visible video watermarking with attention. arXiv preprint arXiv:1909.01285, 2019.
  34. [Zhang et al., 2024] Lijun Zhang, Xiao Liu, Antoni Viros Martin, Cindy Xiong Bearfield, Yuriy Brun, and Hui Guan. Robust image watermarking using stable diffusion. arXiv preprint arXiv:2401.04247, 2024.
  35. [Zhao et al., 2023a] Xuandong Zhao, Kexun Zhang, Zi- hao Su, Saastha Vasan, Ilya Grishchenko, Christopher Kruegel, Giovanni Vigna, Yu-Xiang Wang, and Lei Li. In- visible image watermarks are provably removable using generative ai. arXiv preprint arXiv:2306.01953, 2023.
  36. [Zhao et al., 2023b] Yunqing Zhao, Tianyu Pang, Chao Du, Xiao Yang, Ngai-Man Cheung, and Min Lin. A recipe for watermarking diffusion models. arXiv preprint arXiv:2303.10137, 2023.
  37. [Zhu et al., 2018] Jiren Zhu, Russell Kaplan, Justin Johnson, and Li Fei-Fei. Hidden: Hiding data with deep networks. In Proceedings of the European Conference on Computer Vision, pages 657-672, 2018.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards