mlsanityData to 7 Oct 2026

Memorized Images in Diffusion Models share a Subspace that can be Located and Deleted

arXiv 2406.18566 ↗First posted 1 Jun 2024cs.CV cs.AI cs.LGcited by 13

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

Large-scale text-to-image diffusion models excel in generating high-quality images from textual inputs, yet concerns arise as research indicates their tendency to memorize and replicate training data, raising We also addressed the issue of memorization in diffusion models, where models tend to replicate exact training samples raising copyright infringement and privacy issues. Efforts within the text-to-image community to address memorization explore causes such as data duplication, replicated captions, or trigger tokens, proposing per-prompt inference-time or training-time mitigation strategies. In this paper, we focus on the feed-forward layers and begin by contrasting neuron activations of a set of memorized and non-memorized prompts. Experiments reveal a surprising finding: many different sets of memorized prompts significantly activate a common subspace in the model, demonstrating, for the first time, that memorization in the diffusion models lies in a special subspace. Subsequently, we introduce a novel post-hoc method for editing pre-trained models, whereby memorization is mitigated through the straightforward pruning of weights in specialized subspaces, avoiding the need to disrupt the training or inference process as seen in prior research. Finally, we demonstrate the robustness of the pruned model against training data extraction attacks, thereby unveiling new avenues for a practical and one-for-all solution to memorization.

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 25 of its 29 references that are in the map. First posted on arXiv 1 Jun 2024.

Builds on

25 of 29 references.

Closest ancestors · 5

Same direction, newest first

  1. 2024Towards Memorization-Free Diffusion Models1 Apr
  2. 2024Unveiling and Mitigating Memorization in Text-to-image Diffusion Models through Cross Attention17 Mar
  3. 2023On Memorization in Diffusion Models4 Oct
  4. 2023Understanding and Mitigating Copying in Diffusion Models31 May
  5. 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec

Other references · 20

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  3. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  4. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  5. 2019Language Models as Knowledge Bases?cited by 1,922
  6. 2018SNIP: Single-shot Network Pruning based on Connection Sensitivitycited by 802
  7. 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 776
  8. 2022Quantifying Memorization Across Neural Language Modelscited by 755
  9. 2023Extracting Training Data from Diffusion Modelscited by 723
  10. 2022Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Modelscited by 418
  11. 2020Early-Learning Regularization Prevents Memorization of Noisy Labelscited by 414
  12. 2023Stable Bias: Analyzing Societal Representations in Diffusion Modelscited by 225
8 more
  1. 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 220
  2. 2021MoEfication: Transformer Feed-forward Layers are Mixtures of Expertscited by 149
  3. 2022The Privacy Onion Effect: Memorization is Relativecited by 128
  4. 2022Truth Serum: Poisoning Machine Learning Models to Reveal Their Secretscited by 94
  5. 2023Can Neural Network Memorization Be Localized?cited by 66
  6. 2023A Reproducible Extraction of Training Images from Diffusion Modelscited by 60
  7. 2023Emergent Modularity in Pre-trained Transformerscited by 37
  8. 2020Finding Experts in Transformer Modelscited by 28

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 7; 2026: 3.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025Finding DoRI: Discovery of Retained Images in Diffusion Models
  2. 2024Exploring Local Memorization in Diffusion Models via Bright Ending Attention
  3. 2024Detecting, Explaining, and Mitigating Memorization in Diffusion Models
  4. 2026Rethinking Memorization Mitigation in Diffusion Models: Reinforcing Text Conditioning
  5. 2026Memorization In Stable Diffusion Is Unexpectedly Driven by CLIP Embeddings
  6. 2025How Diffusion Models Memorize
  7. 2023Memory Triggers: Unveiling Memorization in Text-To-Image Generative Models through Word-Level Duplication
  8. 2024Finding NeMo: Localizing Neurons Responsible For Memorization in Diffusion Models