Skip to content

Broken Memories: Detecting and Mitigating Memorization in Diffusion Models Using Degenerate GenerationBroken Memories: Detecting and Mitigating Memorization in Diffusion Models with Degraded Generations

arXiv· arXiv:2605.22050· KDD· Yuanmin Huang, Mi Zhang, Chen Chen, Feifei Li, Geng Hong, Xiaoyu You, Min YangFudan University; East China University of Science and TechnologyIndexed by this site · 25 days ago· Originally publishedDefenses

Translation in progress — untranslated text is omitted.

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

AI summaryThe authors claim to be the first to find that memorization in diffusion models induces internal numerical instability, manifested as visual "broken" artifacts, and on this basis propose an empirical stable region and an on-the-fly framework for step-wise detection and adaptive mitigation, which suppresses memorization without modifying the prompt or guidance. On Stable Diffusion 1.4, detection AUC > 0.999, the memorization rate after mitigation is 0.0%, and the overhead is about 0.01s per image.

Questions
Diffusion models memorize and reproduce training images, posing privacy and copyright risks. The authors argue that existing inference-time methods rely on detect-then-regenerate, and that interventions are heuristic and static, harming semantic fidelity and increasing latency.
Methods
The authors propose an empirical stability region from the perspective of numerical stability: using a small number of normal prompts, they compute the mean and variance of the latent-space update norm, compute a Z-score step by step to detect memorization, and apply on-the-fly projection constraints to the reconstructed latent and the latent norm according to severity, without requiring regeneration.
Experiments and results
On SD 1.4/1.5/2.1, detection AUC reaches up to 0.9995 (SD 1.4, 8 seeds, All Steps); after mitigation on pretrained SD 1.4, Mem Rate drops from 0.574 to 0.000, and on fine-tuned SD 1.4 it drops to 0.015; additional time is about 0.01s/image.
Limitations and future work
The paper has no dedicated limitations section. The experiments cover only SD 1.4/1.5/2.1 and one fine-tuned SD 1.4, with two samplers, PNDM and DDIM; mitigation experiments use fixed seed 0, and the paper does not report the number of repetitions; adaptive attacks targeting this defense are not evaluated.
Read originalKDD