Skip to main content
QUICK REVIEW

[Paper Review] Attributing Image Generative Models using Latent Fingerprints

Guangyu Nie, Changhoon Kim|arXiv (Cornell University)|Apr 17, 2023
Digital Media Forensic DetectionComputer Science3 citations
TL;DR

This paper proposes latent fingerprinting using semantic dimensions in pretrained generative models to enable robust, high-quality attribution with minimal computational cost. By perturbing disentangled latent vectors along principal components of the latent distribution, the method achieves superior accuracy-quality tradeoffs over prior state-of-the-art methods, especially under postprocessing attacks, while maintaining perceptual subtlety and scalability to large models like StyleGAN2 and latent diffusion models.

ABSTRACT

Generative models have enabled the creation of contents that are indistinguishable from those taken from nature. Open-source development of such models raised concerns about the risks of their misuse for malicious purposes. One potential risk mitigation strategy is to attribute generative models via fingerprinting. Current fingerprinting methods exhibit a significant tradeoff between robust attribution accuracy and generation quality while lacking design principles to improve this tradeoff. This paper investigates the use of latent semantic dimensions as fingerprints, from where we can analyze the effects of design variables, including the choice of fingerprinting dimensions, strength, and capacity, on the accuracy-quality tradeoff. Compared with previous SOTA, our method requires minimum computation and is more applicable to large-scale models. We use StyleGAN2 and the latent diffusion model to demonstrate the efficacy of our method.

Motivation & Objective

  • Address the critical challenge of attributing image generative models to prevent misuse such as disinformation and impersonation.
  • Overcome the inherent tradeoff between attribution accuracy, generation quality, and fingerprint secrecy in existing fingerprinting methods.
  • Develop a scalable, low-computation solution suitable for large-scale models like StyleGAN2 and latent diffusion models.
  • Investigate design variables—fingerprinting space, strength, and capacity—to optimize the accuracy-quality tradeoff.
  • Improve robustness against image postprocessing attacks while maintaining perceptual invisibility of fingerprints.

Proposed method

  • Embed fingerprints by perturbing pretrained generative models along principal components (eigenvectors) of the latent distribution covariance matrix, rather than applying additive noise.
  • Use the latent space of pretrained models (e.g., StyleGAN2’s style vectors or latent diffusion model’s bottlenecks) as the fingerprinting space for semantic and subtle modifications.
  • Define the fingerprinted generator as $ g_i(z) = g_0(oldsymbol{ au}(z) + oldsymbol{ heta}_i) $, where $ oldsymbol{ au}(z) $ is the latent feature mapping and $ oldsymbol{ heta}_i $ is the model-specific key.
  • Leverage a postprocess-specific LPIPS metric during fingerprint estimation to improve robustness against known image transformations.
  • Train a lightweight fingerprint estimator $ f(ullet) $ that maps generated images back to their source model keys using a small set of reference images.
  • Use principal component analysis (PCA) on the latent space to identify perceptually meaningful, low-energy dimensions for fingerprinting, minimizing visual artifacts.
Figure 1: (a) Visual comparison between latent fingerprinting (our method) and shallow fingerprinting (Kim et al., 2021 ) (baseline). Our method uses subtle semantic changes, rather than strong noises, to maintain attribution accuracy against image postprocesses. (b) Schematic of latent fingerprinti
Figure 1: (a) Visual comparison between latent fingerprinting (our method) and shallow fingerprinting (Kim et al., 2021 ) (baseline). Our method uses subtle semantic changes, rather than strong noises, to maintain attribution accuracy against image postprocesses. (b) Schematic of latent fingerprinti

Experimental results

Research questions

  • RQ1Can latent semantic dimensions serve as robust, perceptually subtle fingerprints that maintain high attribution accuracy under image postprocessing?
  • RQ2How do design variables—fingerprinting space, strength, and capacity—affect the tradeoff between attribution accuracy and generation quality?
  • RQ3Does using principal components of the latent distribution as fingerprinting directions outperform random or noise-based perturbations in terms of robustness and quality?
  • RQ4Can a postprocess-specific LPIPS metric significantly improve attribution accuracy without retraining the generator?
  • RQ5Is the proposed method scalable and efficient enough for large-scale models like latent diffusion models, with negligible computational overhead?

Key findings

  • The proposed latent fingerprinting method achieves higher attribution accuracy than the prior SOTA (Kim et al., 2021) under both known and unknown postprocessing attacks, particularly when using postprocess-specific LPIPS metrics.
  • For the $ PC[32:40] $ fingerprinting space with strength $ oldsymbol{ heta} = 3 $, the method achieves 98.5% attribution accuracy in the UK (unknown) setting and 99.2% in the KN (known) setting, outperforming the baseline across all metrics.
  • The method maintains superior fingerprint secrecy, with SSIM values above 0.98 for $ PC[32:40] $, indicating minimal perceptual distortion compared to the baseline’s visible artifacts.
  • The approach requires negligible computation—no encoder-decoder training or high-data complexity—making it scalable to large models like latent diffusion models.
  • The use of principal components from the latent distribution enables subtle, semantic perturbations that are more robust to postprocessing than strong, non-semantic noise used in shallow fingerprinting.
  • Parametric studies confirm an intrinsic tradeoff between attribution accuracy and generation quality, which is controllable via fingerprint strength and dimension selection.
Figure 2: Visualization of fingerprints along minor and major principal components of the covariance of the latent distribution. (Top) StyleGAN2. (Bottom) Latent Diffusion Model (LDM).
Figure 2: Visualization of fingerprints along minor and major principal components of the covariance of the latent distribution. (Top) StyleGAN2. (Bottom) Latent Diffusion Model (LDM).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.