Two Calm Ends and the Wild Middle: A Geometric Picture of Memorization in Diffusion Models
Organizations: Department of Mathematics, University of Missouri, Columbia, Missouri, USA · Halıcıo˘glu Data Science Institute, University of California San Diego, La Jolla, California, USA
Abstract
Diffusion models generate high-quality samples but can also memorize training data, raising serious privacy concerns. Understanding the mechanisms governing when memorization versus generalization occurs remains an active area of research. In particular, it is unclear where along the noise schedule memorization is induced, how data geometry influences it, and how phenomena at different noise scales interact. We introduce a geometric framework that partitions the noise schedule into three regimes based on the coverage properties of training data by Gaussian shells and the concentration behavior of the posterior, which we argue are two fundamental objects governing memorization and generalization in diffusion models. This perspective reveals that memorization risk is highly non-uniform across noise levels. We further identify a danger zone at medium noise levels where memorization is most pronounced. In contrast, both the small and large noise regimes resist memorization, but through fundamentally different mechanisms: small noise avoids memorization due to limited training coverage, while large noise exhibits low posterior concentration and admits a provably near linear Gaussian denoising behavior. For the medium noise regime, we identify geometric conditions through which we propose a geometry-informed targeted intervention that mitigates memorization.
Figures & tables
| Condition | Noise Range ( ) | Mem. Rate |
|---|---|---|
| EDM-1K (default sample) | 92.2% | |
| EDM-50K (default sample) | 0.0% | |
| EDM-1K EDM-50K swap: | ||
| large | 93.0% | |
| medium | 0.0% | |
| small | 91.0% | |
Appendix figures & tables19 assets
Supplementary material from the paper’s appendix.
Appendix
| 80.00 | 57.59 | 40.79 | 28.37 | 19.35 | 12.91 | 8.40 | 5.32 | 3.26 | 1.92 | 1.09 | 0.59 | 0.30 | 0.14 | 0.06 | 0.02 | 0.01 | 0.00 |
Memorization in Generative Models
Memorization in generative models studies when models retain training examples, how to detect their recall, and how to limit it without losing utility.
See all 86 papers