Towards Effective User Attribution for Latent Diffusion Models via Watermark-Informed Blending

Yongyang Pan, Xiaohong Liu, Siqi Luo, Yi Xin, Xiao Guo, Xiaoming Liu, Xiongkuo Min, Guangtao ZhaiarXiv 2024 · DOI

Abstract

This paper introduces TEAWIB (Towards Effective user Attribution via Watermark-Informed Blending), a novel framework for embedding invisible, user-specific watermarks into the image generation process of Latent Diffusion Models (LDMs). TEAWIB addresses the "trilemma" of scalability, image quality, and robustness by employing a weight-blending strategy that avoids expensive per-user retraining. By combining Dynamic Watermark Blending (DWB) with Image Quality Preservation (IQP), TEAWIB achieves high-fidelity image generation (PSNR of 39.2 dB) and near-perfect attribution accuracy (99% for 20,000 users) while remaining robust against common image manipulations.

Introduction

The rapid advancement of text-to-image models like Stable Diffusion has raised significant concerns regarding unauthorized use and the dissemination of misinformation. User attribution—tracing a generated image back to its source—is a critical defense mechanism. However, existing watermarking techniques often suffer from a trade-off between scalability, image quality, and robustness. Post-hoc watermarking is easily bypassed, while integrated methods like Stable Signature require computationally expensive fine-tuning for every user. TEAWIB aims to overcome these limitations by providing a scalable, high-quality, and robust attribution solution.

Methodology

The core of TEAWIB is the Watermark-Informed Blending (WIB) strategy, which operates through two primary modules:

  1. Dynamic Watermark Blending (DWB): Instead of full model retraining, TEAWIB generates "fingerprinted" weights based on a unique user ID. These weights are mixed with the original pre-trained weights using a trainable blending factor ($\alpha$). This allows the model to retain its generative capabilities while encoding the watermark.
  2. Image Quality Preservation (IQP): This module works at the pixel level during image reconstruction, injecting controlled Gaussian noise and watermark-derived augmentations. This dual-layer approach—modifying both network weights and pixel outputs—enhances robustness against post-processing attacks.
Overview of the TEAWIB framework, illustrating model training with weight blending and the two-stage distribution process.

The "Ready-to-Use" workflow allows model owners to distribute unique parameter sets to users. Attribution is performed using a specialized Watermark Decoder that extracts the hidden bit-string from a suspicious image to identify the source user in a database.

Experimental Results

TEAWIB was evaluated using the MS-COCO dataset and Stable Diffusion 2.0-base. The framework demonstrates superior performance compared to state-of-the-art baselines.

Quantitative comparison of TEAWIB against baselines and qualitative visualization of watermarked images and pixel-wise differences.

Key Performance Metrics

  • Visual Fidelity: TEAWIB achieves a PSNR of 39.2 dB and an SSIM of 0.98, significantly outperforming previous methods like WOUAF. The watermarks are virtually invisible to the human eye.
  • Scalability and Accuracy: The system maintains 99% identification accuracy even when scaling to 20,000 candidate users.
  • Robustness: The embedded watermarks remain detectable after aggressive manipulations, including extreme cropping (down to 10% size) and significant brightness adjustments.
  • Reliability: The framework exhibits an extremely low False Positive Rate (FPR) of $10^{-11}$, ensuring high confidence in attribution results.

Conclusion

TEAWIB provides an effective and scalable solution for user attribution in Latent Diffusion Models. By leveraging weight blending and pixel-level reinforcement, it maintains high image quality without the need for per-user retraining. Future work will focus on extending this framework to other modalities, such as video generation, and addressing potential adversarial vulnerabilities if the watermark extractor is compromised.

Summary updated

BibTeX
@misc{pan2024towards,
  author = {Yongyang Pan and Xiaohong Liu and Siqi Luo and Yi Xin and Xiao Guo and Xiaoming Liu and Xiongkuo Min and Guangtao Zhai},
  title = {{Towards Effective User Attribution for Latent Diffusion Models via Watermark-Informed Blending}},
  year = {2024},
  eprint = {2409.10958},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.10958},
}
Figure