Algorithm- and Data-Dependent Generalization Bounds for Diffusion Models
Benjamin Dupuis, Dario Shariatian, Maxime Haddouche, Alain Durmus, Umut Simsekli
TL;DR
The paper tackles diffusion-model generalization by deriving algorithm- and data-dependent bounds that explicitly incorporate optimization dynamics. It introduces a score-estimation decomposition $\varepsilon_{ ext{s}}^{(n)}(\theta) = \mathscr{L}_{\mathrm{ESM}}^{(n)}(\theta) + \Delta_{\mathrm{s}}^{(n)} + \mathscr{G}_{\mathrm{l}}^{(n)}(\theta)$ and shows how these components bound the KL divergence between the true data distribution and the generated distribution, yielding an overall rate of $\mathcal{O}(n^{-1/2})$ under realistic conditions. The work further links generalization to gradient norms and optimization trajectories through SGLD and topological bounds for ADAM, and supports the theory with extensive experiments on low- and high-dimensional data, including image datasets. This framework sheds light on why SGMs generalize well in practice and provides actionable metrics to study and predict diffusion-model performance.
Abstract
Score-based generative models (SGMs) have emerged as one of the most popular classes of generative models. A substantial body of work now exists on the analysis of SGMs, focusing either on discretization aspects or on their statistical performance. In the latter case, bounds have been derived, under various metrics, between the true data distribution and the distribution induced by the SGM, often demonstrating polynomial convergence rates with respect to the number of training samples. However, these approaches adopt a largely approximation theory viewpoint, which tends to be overly pessimistic and relatively coarse. In particular, they fail to fully explain the empirical success of SGMs or capture the role of the optimization algorithm used in practice to train the score network. To support this observation, we first present simple experiments illustrating the concrete impact of optimization hyperparameters on the generalization ability of the generated distribution. Then, this paper aims to bridge this theoretical gap by providing the first algorithmic- and data-dependent generalization analysis for SGMs. In particular, we establish bounds that explicitly account for the optimization dynamics of the learning algorithm, offering new insights into the generalization behavior of SGMs. Our theoretical findings are supported by empirical results on several datasets.
