Fingerprinting Denoising Diffusion Probabilistic Models

Huan Teng, Yuhui Quan, Chengyu Wang, Jun Huang, Hui JiCVPR 2025

Introduction

As Denoising Diffusion Probabilistic Models (DDPMs) become the standard for high-fidelity image generation, protecting the intellectual property (IP) of these computationally expensive models has become a critical concern. Traditional IP protection methods typically rely on model watermarking, an invasive approach that modifies model weights during training or fine-tuning. This often results in a "utility-protection trade-off," where generation quality is sacrificed for security, and the watermarks themselves remain vulnerable to removal attacks like fine-tuning or pruning.

To address these challenges, researchers have introduced FingerInv, the first non-invasive fingerprinting scheme for DDPMs. FingerInv identifies a unique "crossing route" in a model's latent space to create a distinctive digital signature, proving ownership without altering the original model's parameters.

Methodology: The Crossing Route

The core innovation of FingerInv is treating a diffusion model's specific denoising behavior as its unique fingerprint. Unlike standard inversion techniques that aim for universality—allowing different models to reconstruct the same latent code—FingerInv intentionally seeks out areas where models diverge.

The Performance Border-Zone

FingerInv operates on the "performance border-zone" of a model. While diffusion models are highly proficient at predicting noise within a standard Gaussian domain, their performance begins to degrade at the boundaries of this space. FingerInv identifies noisy samples ($x_T$) that precisely span this boundary, creating a "crossing route" that is highly specific to the internal learned weights of a single model.

The crossing route mechanism in FingerInv, identifying noisy samples that span the performance border-zone of a diffusion model.

Fingerprint Inversion and Optimization

Using a predefined verification image—typically a QR code—the algorithm searches for a specific sequence of latent codes (the "trigger") that only the target model can successfully reconstruct. The optimization process employs a specialized loss function ($L_{critical}$) that balances noise prediction with Total Variation (TV) loss. This ensures the noisy samples are difficult enough to be unique to one model but stable enough to survive minor model modifications.

Experimental Evaluation

The researchers evaluated FingerInv across diverse benchmarks, including pixel-space DDPMs (trained on LSUN and CelebA-HQ) and high-end Latent Diffusion Models (LDMs) such as Stable Diffusion V1-4 and Pixart-α. QR codes were chosen as verification targets because they are "out-of-domain" for models trained on natural images, making the reconstruction highly specific to the model's weights and easy to validate automatically.

Key Results and Distinctiveness

In confusion matrix tests, FingerInv achieved a 100% success rate in correctly identifying matched models. When the secret trigger was applied to "innocent" models, they produced only unreadable noise, demonstrating perfect distinctiveness. This significantly outperforms existing baselines like DDPMinv, which often suffer from false positives.

Comparison between standard DDPM Inversion and FingerInv. FingerInv demonstrates perfect distinctiveness across different model domains.

Robustness Against Attacks

FingerInv proved highly robust against common attempts to remove IP protections:

  • Pruning: The fingerprint remained detectable even after 50% of the model's parameters were pruned.
  • Fine-tuning: Ownership could still be verified after 1,000 iterations of additional training.
  • Quantization: The method remained effective when the model was compressed to float16 or bfloat16 precision.

Conclusion

FingerInv provides a powerful, non-invasive alternative to traditional watermarking. By leveraging the unique denoising trajectories of diffusion models, it offers a robust and distinctive method for IP protection that does not degrade model performance. Future work will focus on refining the method for "pure" black-box verification, requiring only the final noise vector to identify models behind restricted APIs.

Summary updated

BibTeX
@inproceedings{teng2025fingerprinting,
  author = {Huan Teng and Yuhui Quan and Chengyu Wang and Jun Huang and Hui Ji},
  title = {{Fingerprinting Denoising Diffusion Probabilistic Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02683},
}
Figure