Journal of Computer Applications ›› 2026, Vol. 46 ›› Issue (1): 161-168.DOI: 10.11772/j.issn.1001-9081.2025010006

• Cyber security • Previous Articles     Next Articles

Watermarking method for diffusion model output

Yuan JIA1, Deyu YUAN1,2(), Yuquan PAN1, Anran WANG1   

  1. 1.School of Information and Cyber Security,People's Security University of China,Beijing 100038,China
    2.Key Laboratory of Security Prevention Technology and Risk Assessment,Ministry of Public Security (People's Public Security University of China),Beijing 102623,China
  • Received:2025-01-06 Revised:2025-04-07 Accepted:2025-04-08 Online:2026-01-10 Published:2026-01-10
  • Contact: Deyu YUAN
  • About author:JIA Yuan, born in 2001, M. S. candidate. His research interests include model watermarking, network security.
    PAN Yuquan, born in 2001, M. S. candidate. His research interests include social network analysis.
    WANG Anran, born in 2001, M. S. candidate. His research interests include network security.
  • Supported by:
    Key Project of Chinese Ministry of Public Security's Technical Research Plan(2024JSZ01)

面向扩散模型输出的水印方法

贾源1, 袁得嵛1,2(), 潘语泉1, 王安然1   

  1. 1.中国人民公安大学 信息网络安全学院,北京 100038
    2.安全防范技术与风险评估公安部重点实验室(中国人民公安大学),北京 102623
  • 通讯作者: 袁得嵛
  • 作者简介:贾源(2001—),男,山东潍坊人,硕士研究生,主要研究方向:模型水印、网络安全
    潘语泉(2001—),男,山东济南人,硕士研究生,主要研究方向:社交网络分析
    王安然(2001—),男,山东临沂人,硕士研究生,主要研究方向:网络安全。
  • 基金资助:
    公安部技术研究计划重点项目(2024JSZ01)

Abstract:

To address the issue of image authenticity verification in deepfake detection and model copyright protection, a high-quality and highly robust watermarking method for diffusion model output, DeWM (Decoder-driven WaterMarking for diffusion model), was proposed. Firstly, a decoder-driven watermark embedding network was proposed to realize direct sharing of encoder and decoder features, so as to produce watermarks with high robustness and invisibility. Then, a fine-tuning strategy was designed to fine-tune the pre-trained diffusion model's decoder, and embed a specific watermark into all generated images, thereby achieving simple and effective watermark embedding without changing the model architecture and diffusion process. Experimental results show that compared with Stable Signature method on the MS-COCO dataset, when the watermark bit-length is increased to 64 bits, the proposed method has the Peak Signal-to-Noise Ratio (PSNR) and Structure SIMilarity (SSIM) of the generated watermarked images improved by 14.87% and 9.41%, respectively. Moreover, the average bit accuracy of watermark extraction under cropping, brightness adjustment and image reconstruction is enhanced by than 3%, which demonstrates significantly improved robustness.

Key words: active detection, image watermarking, diffusion model, Artificial Intelligence Generative Content (AIGC)

摘要:

为了解决模型版权保护和深度伪造检测中的图像真实性验证问题,提出高质量和高鲁棒性的面向扩散模型输出的水印方法DeWM (Decoder-driven WaterMarking for diffusion model)。首先,提出一种由解码器驱动的水印嵌入网络来实现编码器和解码器特征的直接共享,从而生成有高鲁棒性和不可见性的水印;其次,设计一种微调策略来对预训练扩散模型的解码器进行微调,并使生成的所有图像隐含特定水印,从而在不改变模型架构和扩散过程的前提下,实现简单且有效的水印嵌入。实验结果表明,在MS-COCO数据集上与潜在扩散模型水印方法Stable Signature相比,在水印位数提高至64位时,所提方法生成的水印图像的峰值信噪比(PSNR)与结构相似度(SSIM)分别增加了14.87%和9.41%,且所提方法针对裁剪、亮度调整和图像重建攻击的水印提取的位精度平均提升了3%,鲁棒性显著提高。

关键词: 主动检测, 图像水印, 扩散模型, 人工智能生成内容

CLC Number: