WOUAF: Weight Modulation for User Attribution and Fingerprinting in Text-to-Image Diffusion Models

Changhoon Kim, Kyle Min, Maitreya Patel, Sheng Cheng, Yezhou Yang · DOI

Introduction

As text-to-image models like Stable Diffusion become increasingly capable of generating hyper-realistic "deepfakes," the question of accountability has moved from the lab to the halls of government. Current watermarking techniques are often "post-hoc" modules—separate pieces of code that add a digital signature after the image is generated. In the open-source world, these are trivial to bypass: a malicious user can simply comment out a single line of code to strip the watermark.

Researchers from Arizona State University and Intel Labs propose a more permanent solution: WOUAF (Weight mOdulation for User Attribution and Fingerprinting). Instead of adding a watermark to the image, they bake the user's identity directly into the model's weights. This approach achieves near-perfect attribution accuracy (99%) with negligible impact on image quality, making it significantly harder for users to bypass fingerprinting in open-source environments.

The Challenge of User Attribution

The core challenge is tracing a synthetic image back to the specific user who generated it. Existing methods fall into two traps. Independent modules are easily bypassed in open-source settings. Conversely, "inventor-oriented" methods that fine-tune a unique model for every single user are computationally expensive and fail to scale. WOUAF introduces a "distributor-oriented" approach, allowing platforms (like Hugging Face) to instantly generate a unique, fingerprinted version of a model for every user who downloads it, without needing to retrain the entire system from scratch.

Methodology: Weight Modulation

The researchers introduced a technique called Weight Modulation, inspired by architectures like StyleGAN. The process involves four key components:

  1. The Fingerprint: A user is assigned a unique $d$-bit binary string (a digital fingerprint).
  2. Mapping Network: This string is fed into a small mapping network that converts the bits into an intermediate representation.
  3. Modulation: This representation is used to scale the weights of the Stable Diffusion decoder. Specifically, they apply an affine transformation to the weights, meaning the user's identity is literally part of the mathematical operations that turn latent noise into a visible image.
  4. Decoding Network: To catch a "misused" image, the researchers trained a separate Fingerprint Decoding Network (based on ResNet-50) that can look at a generated image and extract the original $d$-bit string.
The WOUAF pipeline and weight modulation mechanism.

Crucially, they found that modulating the decoder of the Autoencoder (the part that maps latent space to pixels) is far more effective and preserves higher image quality than modulating the U-Net (the part that handles the diffusion process).

Key Results and Quality Preservation

WOUAF was validated using standard benchmarks including MS-COCO, LAION-Aesthetics, and ImageNet. The system achieved 99% attribution accuracy across datasets while maintaining negligible impact on image quality.

Visual comparison between standard Stable Diffusion and WOUAF-fingerprinted outputs across MS-COCO and LAION datasets.

As shown in the pixel-wise difference maps, the fingerprint is effectively invisible to the human eye. The FID (Fréchet Inception Distance) and CLIP-scores remained nearly identical to the original, non-fingerprinted Stable Diffusion model. Furthermore, the fingerprint proved resilient to common image "attacks" such as cropping, rotation, Gaussian noise, and JPEG compression, outperforming baseline methods by 11%.

Conclusion

WOUAF provides a scalable, robust solution for user attribution in generative AI. By embedding fingerprints directly into model weights, it creates an "un-bypassable" link between a user and their generated content. While the authors acknowledge that "Model Purification" (adversarial fine-tuning) remains a challenge, WOUAF sets a new standard for accountability in the open-source AI ecosystem.

Paper Citation: Changhoon Kim, Kyle Min, Maitreya Patel, Sheng Cheng, Yezhou Yang. "WOUAF: Weight Modulation for User Attribution and Fingerprinting in Text-to-Image Diffusion Models." arXiv:2306.04744v3 [cs.CV], 2024.

Summary updated

BibTeX
@misc{kim2023wouaf,
  author = {Changhoon Kim and Kyle Min and Maitreya Patel and Sheng Cheng and Yezhou Yang},
  title = {{WOUAF: Weight Modulation for User Attribution and Fingerprinting in Text-to-Image Diffusion Models}},
  year = {2023},
  eprint = {2306.04744},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.04744},
}
Figure