Broken Memories: Detecting and Mitigating Memorization in Diffusion Models Using Degenerate GenerationBroken Memories: Detecting and Mitigating Memorization in Diffusion Models with Degraded Generations
Translation in progress — untranslated text is omitted.
The 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.
- 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.
- 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.
- 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.
- 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.