Taking a Big Step: Large Learning Rates in Denoising Score Matching Prevent Memorization
Yu-Han Wu, Pierre Marion, Gérard Biau, Claire Boyer
TL;DR
Diffusion-based denoising score matching can lead to memorization if the empirical optimal score is learned exactly, but practical training does not reach that extreme. The authors show that the empirical score $s^*$ is highly irregular in the small-noise limit and that SGD with a large learning rate creates an implicit regularization that prevents convergence to a near-perfect empirical minimizer. Through a one-dimensional analysis of two-layer ReLU networks, they derive bounds linking the learning rate, noise level, and score regularity, and they validate the theory with experiments across dimensions. The results reveal a principled mechanism by which large learning rates mitigate memorization, with implications for training diffusion models and privacy considerations in generative systems.
Abstract
Denoising score matching plays a pivotal role in the performance of diffusion-based generative models. However, the empirical optimal score--the exact solution to the denoising score matching--leads to memorization, where generated samples replicate the training data. Yet, in practice, only a moderate degree of memorization is observed, even without explicit regularization. In this paper, we investigate this phenomenon by uncovering an implicit regularization mechanism driven by large learning rates. Specifically, we show that in the small-noise regime, the empirical optimal score exhibits high irregularity. We then prove that, when trained by stochastic gradient descent with a large enough learning rate, neural networks cannot stably converge to a local minimum with arbitrarily small excess risk. Consequently, the learned score cannot be arbitrarily close to the empirical optimal score, thereby mitigating memorization. To make the analysis tractable, we consider one-dimensional data and two-layer neural networks. Experiments validate the crucial role of the learning rate in preventing memorization, even beyond the one-dimensional setting.
