First Learn, Then Memorize: The Spectral Bias of Diffusion Models
Raphaël Urfin, Tony Bonnaire, Giulio Biroli, Marc Mézard
Key points
From the paper's conclusion- Diffusion models trained on a finite dataset first learn to generate novel, high-quality samples and only much later collapse onto their training set.
- The training dynamics of the score function are governed---exactly, and at any width---by the Gram matrix of the Neural Tangent Kernel (NTK) evaluated on the noisy training data, so the timescales of generalization and of memorization must be encoded in its spectrum.
- The use of multiple noise realizations per sample ($m$ noised copies at a fixed noise level) in the score-matching loss is what restructures the Gram matrix spectrum into two distinct parts. The first, of large eigenvalues, carries the global features of the target distribution and is present already for $m=1$. The second, which the repeated noising creates, consists of the smallest eigenvalues and is supported on eigenvectors aligned with the sample-specific noise directions; it sets a memorization timescale parametrically larger in the training set size $n.
Abstract
Diffusion models trained on a finite dataset first learn to generate novel, high-quality samples and only much later collapse onto their training set. We identify the mechanism behind this separation of timescales and the object that probes it. The training dynamics of the score function are governed---exactly, and at any width---by the Gram matrix of the Neural Tangent Kernel (NTK) evaluated on the noisy training data, so the timescales of generalization and of memorization must be encoded in its spectrum. We show that they are, and that the structure responsible has no analogue in standard kernel settings. The use of multiple noise realizations per sample ($m$ noised copies at a fixed noise level) in the score-matching loss is what restructures the Gram matrix spectrum into two distinct parts. The first, of large eigenvalues, carries the global features of the target distribution and is present already for $m=1$. The second, which the repeated noising creates, consists of the smallest eigenvalues and is supported on eigenvectors aligned with the sample-specific noise directions; it sets a memorization timescale parametrically larger in the training set size $n$. We establish this picture on two fronts. Analytically, we solve the spectrum in the lazy high-dimensional limit for both linear ($n \asymp d$) and polynomial ($n \asymp d^k$) sample complexities, and prove through a bias--variance decomposition that the first bulk minimizes the approximation error while the second drives the error associated with memorization. Empirically, we show the same two-bulk structure in Convolutional NTKs on CelebA and in finite-width U-Nets trained well beyond the lazy regime, and we make the link causal: truncating the Gram matrix at rank $r$ tunes the generalization--memorization transition, and an $L_2$ penalty targeting the second bulk suppresses memorization in feature-learning U-Nets.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- Diffusion models trained on a finite dataset first learn to generate novel, high-quality samples and only much later collapse onto their training set.
- The training dynamics of the score function are governed---exactly, and at any width---by the Gram matrix of the Neural Tangent Kernel (NTK) evaluated on the noisy training data, so the timescales of generalization and of memorization must be encoded in its spectrum.
- The use of multiple noise realizations per sample ($m$ noised copies at a fixed noise level) in the score-matching loss is what restructures the Gram matrix spectrum into two distinct parts. The first, of large eigenvalues, carries the global features of the target distribution and is present already for $m=1$. The second, which the repeated noising creates, consists of the smallest eigenvalues and is supported on eigenvectors aligned with the sample-specific noise directions; it sets a memorization timescale parametrically larger in the training set size $n.
Readers' thoughts
No reader thoughts yet.
Related papers
- From Modes to Memories: Characterizing the Scale-Space Dynamics of Diffusion ModelsarXiv · 2026
- Loss Curvature as a Sampling-Free Proxy for Memorization in Diffusion ModelsarXiv · 2026
- Spectral Signatures of Memorization Basins in Diffusion TrajectoriesarXiv · 2026
- Controlling Polar Exposure to Delay Memorization in Diffusion ModelsarXiv · 2026
- Denoising Score Matching in Diffusion Models: The Effect of Rank Constraints on GeneralizationarXiv · 2026
- Memorization and Malign Generalization in Conditional Diffusion Models with Random FeaturesarXiv · 2026