mlsanityData to 7 Oct 2026

Embedding Space Selection for Detecting Memorization and Fingerprinting in Generative Models

arXiv 2407.21159 ↗First posted 30 Jul 2024cs.LG cs.CVcited by 0

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

In the rapidly evolving landscape of artificial intelligence, generative models such as Generative Adversarial Networks (GANs) and Diffusion Models have become cornerstone technologies, driving innovation in diverse fields from art creation to healthcare. Despite their potential, these models face the significant challenge of data memorization, which poses risks to privacy and the integrity of generated content. Among various metrics of memorization detection, our study delves into the memorization scores calculated from encoder layer embeddings, which involves measuring distances between samples in the embedding spaces. Particularly, we find that the memorization scores calculated from layer embeddings of Vision Transformers (ViTs) show an notable trend - the latter (deeper) the layer, the less the memorization measured. It has been found that the memorization scores from the early layers' embeddings are more sensitive to low-level memorization (e.g. colors and simple patterns for an image), while those from the latter layers are more sensitive to high-level memorization (e.g. semantic meaning of an image). We also observe that, for a specific model architecture, its degree of memorization on different levels of information is unique. It can be viewed as an inherent property of the architecture. Building upon this insight, we introduce a unique fingerprinting methodology. This method capitalizes on the unique distributions of the memorization score across different layers of ViTs, providing a novel approach to identifying models involved in generating deepfakes and malicious content. Our approach demonstrates a marked 30% enhancement in identification accuracy over existing baseline methods, offering a more effective tool for combating digital misinformation.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 22 of its 27 references that are in the map. First posted on arXiv 30 Jul 2024.

Builds on

22 of 27 references.

Closest ancestors · 4

Same direction, newest first

  1. 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec
  2. 2021Diffusion Models Beat GANs on Image Synthesis11 May
  3. 2020Denoising Diffusion Implicit Models6 Oct
  4. 2020Denoising Diffusion Probabilistic Models19 Jun

Other references · 18

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  3. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  4. 2022Generative Adversarial Networkscited by 5,603
  5. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  6. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  7. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  8. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
  9. 2018Assessing Generative Models via Precision and Recallcited by 401
  10. 2020Artificial Fingerprinting for Generative Models: Rooting Deepfake Attribution in Training Datacited by 200
  11. 2018Sensitivity and Generalization in Neural Networks: an Empirical Studycited by 187
  12. 2022A Self-Supervised Descriptor for Image Copy Detectioncited by 175
6 more
  1. 2020Bridging Composite and Real: Towards End-to-end Deep Image Mattingcited by 89
  2. 2021On the geometry of generalization and memorization in deep neural networkscited by 71
  3. 2021On Memorization in Probabilistic Deep Generative Modelscited by 60
  4. 2020A Non-Parametric Test to Detect Data-Copying in Generative Modelscited by 52
  5. 2024DDM-Lag : A Diffusion-based Decision-making Model for Autonomous Vehicles with Lagrangian Safety Enhancementcited by 11
  6. 2022Reducing Training Sample Memorization in GANs by Training with Memorization Rejectioncited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Finding DoRI: Discovery of Retained Images in Diffusion Models
  2. 2025SolidMark: Evaluating Image Memorization in Generative Models
  3. 2025Memorization in 3D Shape Generation: An Empirical Study
  4. 2024A Geometric Framework for Understanding Memorization in Generative Models
  5. 2024Investigating Memorization in Video Diffusion Models
  6. 2024Memorized Images in Diffusion Models share a Subspace that can be Located and Deleted
  7. 2025A Novel Metric for Detecting Memorization in Generative Models for Brain MRI Synthesis
  8. 2026The Null Is the Hard Part: Exact Tests for Memorization in Generative Models