Lune

NeurIPS2025Top-tier venue

On the Edge of Memorization in Diffusion Models

Sam Buchanan, Druv Pai, Yi Ma, Valentin De Bortoli

Abstract

When do diffusion models reproduce their training data, and when are they able to generate samples beyond it? A practically relevant theoretical understanding of this interplay between memorization and generalization may significantly impact real-world deployments of diffusion models with respect to issues such as copyright infringement and data privacy. In this work, to disentangle the different factors that influence memorization and generalization in practical diffusion models, we introduce a scientific and mathematical "laboratory" for investigating these phenomena in diffusion models trained on fully synthetic or natural image-like structured data. Within this setting, we hypothesize that the memorization or generalization behavior of an underparameterized trained model is determined by the difference in training loss between an associated memorizing model and a generalizing model. To probe this hypothesis, we theoretically characterize a crossover point wherein the weighted training loss of a fully generalizing model becomes greater than that of an underparameterized memorizing model at a critical value of model (under)parameterization. We then demonstrate via carefully-designed experiments that the location of this crossover predicts a phase transition in diffusion models trained via gradient descent, validating our hypothesis. Ultimately, our theory enables us to analytically predict the model size at which memorization becomes predominant. Our work provides an analytically tractable and practically meaningful setting for future theoretical and empirical investigations. Code for our experiments is available at https://github.com/DruvPai/diffusion_mem_gen.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Why DDIM Hallucinates More Than DDPM: A Theoretical Analysis of Reverse Dynamics cites Denoising Diffusion Probabilistic Models
  • Generalization of Diffusion Models Arises with a Balanced Representation Space cites Provable Separations between Memorization and Generalization in Diffusion Models
  • Generalization of Diffusion Models Arises with a Balanced Representation Space cites Denoising Diffusion Probabilistic Models
  • SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites Denoising Diffusion Probabilistic Models
  • SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Video Diffusion Models cites Denoising Diffusion Probabilistic Models
  • Provable Separations between Memorization and Generalization in Diffusion Models cites Denoising Diffusion Probabilistic Models
  • Directly Denoising Diffusion Models cites Video Diffusion Models
  • Directly Denoising Diffusion Models cites Denoising Diffusion Probabilistic Models
  • Directly Denoising Diffusion Models cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Gradient Variance Reveals Failure Modes in Flow-Based Generative Models cites Video Diffusion Models
  • Gradient Variance Reveals Failure Modes in Flow-Based Generative Models cites Denoising Diffusion Probabilistic Models
  • Efficient and Training-Free Single-Image Diffusion Models cites Denoising Diffusion Probabilistic Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Denoising Diffusion Probabilistic Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Provable Separations between Memorization and Generalization in Diffusion ModelsZeqi Ye, Qijie Zhu, Molei Tao, Minshuo ChenICLR 2026 · 15 citations
  2. Generalization of Diffusion Models Arises with a Balanced Representation SpaceZekai Zhang, Xiao Li, Xiang Li, Lianghe Shi et al.ICLR 2026 · 14 citations
  3. Gradient Variance Reveals Failure Modes in Flow-Based Generative ModelsTeodora Reu, Sixtine Dromigny, Michael M. Bronstein, Francisco VargasNeurIPS 2025 · 5 citations
  4. Efficient and Training-Free Single-Image Diffusion ModelsHaojun Qiu, Kiriakos N. Kutulakos, David B. LindellCVPR 2026 · 1 citation
  5. Why DDIM Hallucinates More Than DDPM: A Theoretical Analysis of Reverse DynamicsMuhammad H Ashiq, Samanyu Arora, Abhinav Narayan Harish, Ishaan Kharbanda et al.ICML 2026

Builds on27

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  2. Directly Denoising Diffusion ModelsDan Zhang, Jingjing Wang, Feng LuoICML 2024 · 11,724 citations
  3. Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations
  4. SDXL: Improving Latent Diffusion Models for High-Resolution Image SynthesisDustin Podell, Zion English, Kyle Lacey, Andreas Blattmann et al.ICLR 2024 · 4,569 citations
  5. Video Diffusion ModelsJonathan Ho, Tim Salimans, Alexey A. Gritsenko, William Chan et al.NeurIPS 2022 · 2,948 citations

Related papers

  1. Why Diffusion Models Don't Memorize: The Role of Implicit Dynamical Regularization in TrainingTony Bonnaire, Raphaël Urfin, Giulio Biroli, Marc MézardNeurIPS 2025 · 93 citations
  2. Does Generation Require Memorization? Creative Diffusion Models using Ambient DiffusionKulin Shah, Alkis Kalavasis, Adam R. Klivans, Giannis DarasICML 2025
  3. The Emergence of Reproducibility and Consistency in Diffusion ModelsHuijie Zhang, Jinfan Zhou, Yifu Lu, Minzhe Guo et al.ICML 2024 · 51 citations
  4. Finding NeMo: Localizing Neurons Responsible For Memorization in Diffusion ModelsDominik Hintersdorf, Lukas Struppek, Kristian Kersting, Adam Dziedzic et al.NeurIPS 2024 · 46 citations
  5. Understanding Generalizability of Diffusion Models Requires Rethinking the Hidden Gaussian StructureXiang Li, Yixiang Dai, Qing QuNeurIPS 2024 · 45 citations
Dusk over the sea between two cliffs drawn in fine vertical lines