Provable Separations between Memorization and Generalization in Diffusion Models
Zeqi Ye, Qijie Zhu, Molei Tao, Minshuo Chen
TL;DR
The paper addresses memorization in diffusion models by developing a dual separation framework: statistical, showing a nonzero gap between the ground-truth and empirical score functions via Fisher divergence, and architectural, proving the ground-truth score admits a compact neural representation while the empirical score requires network size that grows with the sample size. It quantifies the loss gap under mixture distributions and demonstrates how small diffusion times and data variance amplify memorization. Guided by theory, it proposes a pruning-based mitigation for diffusion transformers that reduces memorization while preserving sample quality, with empirical validation on Gaussian mixtures and CIFAR-10. The work provides a principled lens to understand memorization and offers practical, theory-informed strategies to improve generalization in diffusion-based generation.
Abstract
Diffusion models have achieved remarkable success across diverse domains, but they remain vulnerable to memorization -- reproducing training data rather than generating novel outputs. This not only limits their creative potential but also raises concerns about privacy and safety. While empirical studies have explored mitigation strategies, theoretical understanding of memorization remains limited. We address this gap through developing a dual-separation result via two complementary perspectives: statistical estimation and network approximation. From the estimation side, we show that the ground-truth score function does not minimize the empirical denoising loss, creating a separation that drives memorization. From the approximation side, we prove that implementing the empirical score function requires network size to scale with sample size, spelling a separation compared to the more compact network representation of the ground-truth score function. Guided by these insights, we develop a pruning-based method that reduces memorization while maintaining generation quality in diffusion transformers.
