TL;DR
This paper introduces a novel unsupervised framework to extract robust "artificial fingerprints" from deep generative models by analyzing sets (bags) of images rather than single instances. By combining a permutation-invariant set-encoder with contrastive learning, the method significantly improves source attribution accuracy across diverse model families—including GANs, VAEs, Normalizing Flows, and diffusion/score-based models—while revealing latent structural relationships between different architectures.
What Problem Does This Paper Address?
As deep generative models become more sophisticated, they produce synthetic media that is increasingly difficult for humans to distinguish from reality. This poses significant risks regarding visual misinformation, deepfakes, and copyright infringement.
While prior work established that Generative Adversarial Networks (GANs) leave unique computational artifacts—termed "artificial fingerprints"—on their generated images, these studies faced two major limitations:
- Scope: They focused almost exclusively on GANs, leaving it unclear whether other popular architectures like Variational Autoencoders (VAEs), Normalizing Flows, or score-based/diffusion models leave similar traces.
- Stability: Existing fingerprint extraction techniques operate on individual images. Single-image fingerprints tend to be highly unstable and sensitive to semantic content rather than the underlying generation process.
Additionally, the community lacks a reliable, non-semantic metric to quantify how structurally similar two different generative models are based solely on their outputs.
Methods
The authors propose a new framework called Deep Set Fingerprints (DSF), which shifts the focus from single images to collections of images.
The architecture consists of two core components:
- Set-Encoding Network: To capture the true distribution of a model, the framework processes a "bag of images" generated by the same source. It uses a
DeepSetarchitecture with an image-level encoder followed by a mean-pooling operation. This ensures the network is permutation-invariant—the ordering of images within the bag does not alter the final fingerprint. - Contrastive Set Learning: Instead of training the network on a fixed classification task, the authors employ an unsupervised contrastive loss. This loss forces the fingerprints of image bags from the same generative model to cluster tightly together in the embedding space ("pull closer") while pushing fingerprints from different models far apart ("push away").
Datasets
To evaluate their generalized fingerprint hypothesis fairly, the authors created a new, highly controlled benchmark dataset of generative models. Previous studies often mixed models trained on different datasets or tasks, confounding the source of the artifacts.
In this work, all models were trained on the CelebA dataset using identical data-preprocessing and spatial alignment steps. The dataset spans 23 distinct models across four major classes:
- VAEs (5 types): Including $\beta$-VAE, DFC-VAE, FactorVAE, InfoVAE, and NVAE.
- GANs (14 types): Including plain GAN, DCGAN, WGAN-gp/lp, StyleGAN, and StyleGAN2.
- Flow-based models (2 types): GLOW and MaCow.
- Score-based models (2 types): NCSN and Guided Diffusion.
Key Insights and Ideas
- Fingerprints are Universal: The paper successfully extends the artificial fingerprint hypothesis beyond GANs. VAEs, Normalizing Flows, and diffusion models all manifest unique, identifiable computational traces in their outputs.
- The Power of Aggregation: By extracting fingerprints from a set of images rather than a single image, the model effectively averages out semantic noise, drastically reducing variance and yielding a much more stable signature of the underlying generator.
- Discovery of Latent Families: Because the contrastive embedding space is learned implicitly without explicit family labels, the distance between fingerprints reflects structural similarities. Running a standard hierarchical clustering algorithm on this space automatically groups models into their correct architectural families (e.g., separating VAEs from GANs, and naturally nesting StyleGAN variants together).
Key Results
The authors evaluated their method against state-of-the-art baselines (PRNU-based forensics, Yu et al., and Asnani et al.) on two tasks:
1. Distinctiveness (Decorrelation Score)
A higher decorrelation score indicates that fingerprints from different models are more distinct. On the diverse Generative Model (GM) dataset, the proposed set-based method (DSF+) achieved a score of 0.593, substantially outperforming the single-image baselines (PRNU: 0.212, Yu et al.: 0.454, Asnani et al.: 0.356).
2. Source Attribution Accuracy
When training a downstream classifier to identify which of the 23 models generated a given sample set, DSF+ achieved the highest accuracy with the lowest variance:
- DSF+ (Ours): 73.8% Accuracy (AUC: 72.9%)
- Yu et al. Baseline: 71.2% Accuracy (AUC: 60.1%)
- Asnani et al. Baseline: 70.8% Accuracy (AUC: 64.3%)
Ablation studies also demonstrated that fingerprint stability and performance effectively saturate when using a practical bag size of 300 images and 100 bags per model.
Limitations and Future Work
While the set-based approach provides excellent stability and architectural insights under controlled conditions, the authors note a few areas for improvement:
- Post-Processing Sensitivity: Real-world synthetic images are rarely pristine; they undergo compression, resizing, or laundering. The paper acknowledges that high-frequency residual artifacts can degrade under these perturbations.
- Robustness: Future work is required to evaluate how resilient these set-based fingerprints are against deliberate adversarial attacks designed to scrub or mimic specific model signatures.
Summary updated