ManiFPT: Defining and Analyzing Fingerprints of Generative Models

Hae Jin Song, Mahyar Khayatkhoei, Wael AbdAlmageed · DOI

Introduction: The Challenge of Model Attribution

As generative models (GMs) like Midjourney or DALL-E become ubiquitous, the ability to detect synthetic content is no longer enough. We need model attribution: identifying the specific source or architecture that created an image. This is crucial for digital forensics, copyright enforcement, and distinguishing between authorized and malicious uses of AI.

While researchers have long known that GMs leave "fingerprints" (like checkerboard patterns or spectral biases), the field lacked a formal, analytical definition of what a fingerprint actually is. ManiFPT aims to move from heuristic-based detection to a rigorous framework that works across diverse model families.

Manifold-Based Fingerprints (ManiFPT)

The authors propose viewing generative models through the lens of manifold learning. The core idea is the Manifold Hypothesis: real-world data (like faces) lies on a low-dimensional "manifold" within a high-dimensional space.

Conceptual framework of ManiFPT: defining artifacts as the deviation from the data manifold M.

In this framework, an artifact is defined as the vector difference between a generated sample and its closest point on the true data manifold. Essentially, it is the "error" or "deviation" the model makes when trying to recreate reality. A model's fingerprint is then defined as the set of all its artifacts. Since the "true" manifold is unknown, it is estimated using a large collection of real training samples across various embedding spaces, including raw RGB pixels, frequency spectra, and supervised/self-supervised features.

Standardizing Evaluation: The GM-Datasets

To ensure a fair comparison, the authors introduced four new benchmark datasets: GM-CIFAR10, GM-CelebA, GM-CHQ, and GM-FFHQ. Each dataset consists of images from a wide variety of model families (GAN, VAE, Flow, and Diffusion) all trained on the same underlying real dataset. This ensures that a classifier learns architectural quirks rather than training data differences.

Key Insights: Architecture is Destiny

The study reveals several critical insights:

  • Fingerprints as Residuals: By defining a fingerprint as a deviation from a manifold, the method "subtracts away" common image content, leaving only model-specific noise.
  • Architectural Signatures: Fingerprints cluster together based on specific design choices, such as upsampling layers and loss functions.
  • Cross-Dataset Generalization: Because the method focuses on deviations rather than content, a classifier trained on CIFAR-10 can generalize to human faces (CelebA) if the underlying model architectures are the same.

Experimental Results

ManiFPT significantly outperformed state-of-the-art baselines in multi-class model attribution. On GM-CIFAR10, it achieved ~72% accuracy, compared to ~62% for the best baseline.

t-SNE visualization comparing ManiFPT (f) against baselines (a-e), showing superior cluster separability for model attribution.

As shown in the t-SNE visualizations, while raw pixels or standard latent features often result in jumbled representations, ManiFPT's artifact-based features form clean, distinct clusters for each generative model family, facilitating much more accurate attribution.

Conclusion and Future Work

ManiFPT provides a robust mathematical foundation for generative model forensics. While it relies on manifold approximation via finite datasets, it proves that "fingerprints" are truly architectural signatures. Future work may explore how these fingerprints evolve during training or if they can be used to reverse-engineer black-box model hyperparameters.

Summary updated

BibTeX
@misc{song2024manifpt,
  author = {Hae Jin Song and Mahyar Khayatkhoei and Wael AbdAlmageed},
  title = {{ManiFPT: Defining and Analyzing Fingerprints of Generative Models}},
  year = {2024},
  eprint = {2402.10401},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.10401},
}
Figure