Valid Early Detection of Memorization in Diffusion Models
Organizations: Department of Electrical Engineering and Computer Science, University of Michigan, Ann Arbor, MI, USA
Abstract
Diffusion models can sometimes reproduce examples from their training data, a phenomenon known as memorization. Existing memorization detection methods for unconditional diffusion models typically operate at a pre-selected timestep and therefore cannot adapt the detection time to the evolving denoising trajectory. Sequential monitoring enables adaptive detection but repeated testing across timesteps complicates trajectory-level false-alarm control. We study two ways of combining split conformal calibration with sequential monitoring for prompt-free memorization detection: per-step Bonferroni calibration and direct trajectory-level calibration of the maximum memorization score. The former controls repeated testing by splitting the false-alarm budget across timesteps, whereas the latter calibrates the event of ever crossing a threshold directly through the trajectory-level maximum. We evaluate this formulation on an unconditional CIFAR-10 EDM using two complementary per-step statistics based on geometry and representation spikiness. Experiments show that sequential monitoring improves the power-timing tradeoff over fixed-time detection. Compared with Bonferroni calibration, trajectory-level calibration achieves comparable detection power while using the false-alarm budget less conservatively and enabling earlier detection at higher noise levels.
Figures & tables
| Statistic | Calibration | FPR | TPR | |
|---|---|---|---|---|
| trF | Bonferroni | |||
| Trajectory-level max | ||||
| StD | Bonferroni | |||
| Trajectory-level max |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Statistic | Calibration | FPR | TPR | ||
|---|---|---|---|---|---|
| trF | Bonferroni | ||||
| Trajectory-level max | |||||
| StD | Bonferroni | ||||
| Trajectory-level max | |||||
| trF | Bonferroni | ||||
| Trajectory-level max |
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 88 papers