English

Denoising Score Matching with Random Features: Insights on Diffusion Models from Precise Learning Curves

Machine Learning 2025-10-09 v2 Machine Learning

Abstract

We theoretically investigate the phenomena of generalization and memorization in diffusion models. Empirical studies suggest that these phenomena are influenced by model complexity and the size of the training dataset. In our experiments, we further observe that the number of noise samples per data sample (mm) used during Denoising Score Matching (DSM) plays a significant and non-trivial role. We capture these behaviors and shed insights into their mechanisms by deriving asymptotically precise expressions for test and train errors of DSM under a simple theoretical setting. The score function is parameterized by random features neural networks, with the target distribution being dd-dimensional Gaussian. We operate in a regime where the dimension dd, number of data samples nn, and number of features pp tend to infinity while keeping the ratios ψn=nd\psi_n=\frac{n}{d} and ψp=pd\psi_p=\frac{p}{d} fixed. By characterizing the test and train errors, we identify regimes of generalization and memorization as a function of ψn,ψp\psi_n,\psi_p, and mm. Our theoretical findings are consistent with the empirical observations.

Keywords

Cite

@article{arxiv.2502.00336,
  title  = {Denoising Score Matching with Random Features: Insights on Diffusion Models from Precise Learning Curves},
  author = {Anand Jerry George and Rodrigo Veiga and Nicolas Macris},
  journal= {arXiv preprint arXiv:2502.00336},
  year   = {2025}
}

Comments

8 pages

R2 v1 2026-06-28T21:28:49.332Z