Finding DoRI: Discovery of Retained Images in Diffusion Models
About
Text-to-image diffusion models (DMs) have achieved remarkable success in image generation. However, concerns about data privacy and intellectual property remain due to their potential to inadvertently memorize and replicate training data. Recent mitigation efforts have focused on identifying and pruning weights responsible for triggering verbatim training data replication, based on the assumption that memorization can be localized. We challenge this assumption and demonstrate that, even after such pruning, small perturbations to the text embeddings of previously mitigated prompts can re-trigger data replication, revealing the fragility of such methods. Our further analysis then provides multiple indications that memorization is indeed \textit{not} inherently local: (1) replication triggers for memorized images are distributed throughout text embedding space; (2) embeddings yielding the same replicated image produce divergent model activations; and (3) different pruning methods identify inconsistent sets of memorization-related weights for the same image. Finally, we show that bypassing the locality assumption enables more robust mitigation through adversarial fine-tuning. These findings provide new insights into the fundamental nature of memorization in text-to-image DMs and inform the future development of more reliable mitigation methods against DM memorization.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Text-to-Image Generation | HPD v3 | Characters Score3.37 | 15 | |
| Memorization mitigation | Stable Diffusion 1.4 | Memorization Rate0.00e+0 | 13 | |
| Memorization mitigation | Webster 2023 | SSCD Original6 | 7 | |
| Text-to-Image Generation | MS-COCO | FID16.01 | 7 | |
| Text-to-Image Generation | HPD v3 (val) | Animals Score3.29 | 5 | |
| Text-to-Image Alignment | T2I-CompBench++ | Color Alignment Score36 | 5 | |
| Memorization mitigation | Stable Diffusion Memorized Images v1.4 | SSCDOrig36 | 4 | |
| Memorization mitigation | Stable Diffusion memorized images v2.0 (test) | SSCDOrig Score0.14 | 3 |