Lune

NeurIPS2025Top-tier venue

Why Diffusion Models Don't Memorize: The Role of Implicit Dynamical Regularization in Training

Tony Bonnaire, Raphaël Urfin, Giulio Biroli, Marc Mézard

Abstract

Diffusion models have achieved remarkable success across a wide range of generative tasks. A key challenge is understanding the mechanisms that prevent their memorization of training data and allow generalization. In this work, we investigate the role of the training dynamics in the transition from generalization to memorization. Through extensive experiments and theoretical analysis, we identify two distinct timescales: an early time τgen\tau_\mathrm{gen} at which models begin to generate high-quality samples, and a later time τmem\tau_\mathrm{mem} beyond which memorization emerges. Crucially, we find that τmem\tau_\mathrm{mem} increases linearly with the training set size nn, while τgen\tau_\mathrm{gen} remains constant. This creates a growing window of training times with nn where models generalize effectively, despite showing strong memorization if training continues beyond it. It is only when nn becomes larger than a model-dependent threshold that overfitting disappears at infinite training times. These findings reveal a form of implicit dynamical regularization in the training dynamics, which allow to avoid memorization even in highly overparameterized settings. Our results are supported by numerical experiments with standard U-Net architectures on realistic and synthetic datasets, and by a theoretical analysis using a tractable random features model studied in the high-dimensional limit.

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.

19 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

  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Score-Based Generative Modeling through Stochastic Differential Equations
  • On the Closed-Form of Flow Matching: Generalization Does Not Arise from Target Stochasticity cites Denoising Diffusion Probabilistic Models
  • On the Closed-Form of Flow Matching: Generalization Does Not Arise from Target Stochasticity cites Score-Based Generative Modeling through Stochastic Differential Equations
  • Generalization of Diffusion Models Arises with a Balanced Representation Space cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Generalization of Diffusion Models Arises with a Balanced Representation Space cites On the Closed-Form of Flow Matching: Generalization Does Not Arise from Target Stochasticity
  • Generalization of Diffusion Models Arises with a Balanced Representation Space cites Elucidating the Design Space of Diffusion-Based Generative 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
  • Generalization of Diffusion Models Arises with a Balanced Representation Space cites Denoising Diffusion Implicit Models
  • Generalization of Diffusion Models Arises with a Balanced Representation Space cites Score-Based Generative Modeling through Stochastic Differential Equations
  • A Random Matrix Perspective on the Consistency of Diffusion Models cites Elucidating the Design Space of Diffusion-Based Generative Models
  • A Random Matrix Perspective on the Consistency of Diffusion Models cites Score-Based Generative Modeling through Stochastic Differential Equations
  • Elucidating the Design Space of Diffusion-Based Generative Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Elucidating the Design Space of Diffusion-Based Generative Models cites Denoising Diffusion Probabilistic Models
  • Elucidating the Design Space of Diffusion-Based Generative Models cites Denoising Diffusion Implicit Models
  • Elucidating the Design Space of Diffusion-Based Generative Models cites Score-Based Generative Modeling through Stochastic Differential Equations
  • Provable Separations between Memorization and Generalization in Diffusion Models cites Denoising Diffusion Probabilistic Models
  • Provable Separations between Memorization and Generalization in Diffusion Models cites Denoising Diffusion Implicit Models
  • Provable Separations between Memorization and Generalization in Diffusion Models cites Score-Based Generative Modeling through Stochastic Differential Equations
  • Two Calm Ends and the Wild Middle: A Geometric Picture of Memorization in Diffusion Models cites On the Closed-Form of Flow Matching: Generalization Does Not Arise from Target Stochasticity
  • Two Calm Ends and the Wild Middle: A Geometric Picture of Memorization in Diffusion Models cites Elucidating the Design Space of Diffusion-Based Generative Models
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
  • Denoising Diffusion Implicit Models cites Score-Based Generative Modeling through Stochastic Differential Equations
  • Score-Based Generative Modeling through Stochastic Differential Equations cites Denoising Diffusion Probabilistic Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers19

  1. On the Closed-Form of Flow Matching: Generalization Does Not Arise from Target StochasticityQuentin Bertrand, Anne Gagneux, Mathurin Massias, Rémi EmonetNeurIPS 2025 · 49 citations
  2. Provable Separations between Memorization and Generalization in Diffusion ModelsZeqi Ye, Qijie Zhu, Molei Tao, Minshuo ChenICLR 2026 · 15 citations
  3. Generalization of Diffusion Models Arises with a Balanced Representation SpaceZekai Zhang, Xiao Li, Xiang Li, Lianghe Shi et al.ICLR 2026 · 14 citations
  4. A Random Matrix Perspective on the Consistency of Diffusion ModelsBinxu Wang, Jacob A Zavatone-Veth, Cengiz PehlevanICML 2026 · 4 citations
  5. Two Calm Ends and the Wild Middle: A Geometric Picture of Memorization in Diffusion ModelsNick Dodson, Xinyu Gao, Qingsong Wang, Yusu Wang et al.ICML 2026 · 4 citations

Builds on18

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  2. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  3. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
  4. Elucidating the Design Space of Diffusion-Based Generative ModelsTero Karras, Miika Aittala, Timo Aila, Samuli LaineNeurIPS 2022 · 3,959 citations
  5. Score-Based Generative Modeling through Stochastic Differential EquationsYang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar et al.ICLR 2021 · 1,270 citations

Related papers

  1. On the Edge of Memorization in Diffusion ModelsSam Buchanan, Druv Pai, Yi Ma, Valentin De BortoliNeurIPS 2025 · 25 citations
  2. Does Generation Require Memorization? Creative Diffusion Models using Ambient DiffusionKulin Shah, Alkis Kalavasis, Adam R. Klivans, Giannis DarasICML 2025
  3. Understanding Generalizability of Diffusion Models Requires Rethinking the Hidden Gaussian StructureXiang Li, Yixiang Dai, Qing QuNeurIPS 2024 · 45 citations
  4. Understanding Representation Dynamics of Diffusion Models via Low-Dimensional ModelingXiao Li, Zekai Zhang, Xiang Li, Siyi Chen et al.NeurIPS 2025 · 19 citations
  5. Evaluating the Representation Space of Diffusion Models via Self-Supervised PrinciplesXiao Li, Yixuan Jia, Zekai Zhang, Xiang Li et al.ICML 2026
Dusk over the sea between two cliffs drawn in fine vertical lines