Analyzing the Error of Generative Diffusion Models: From Euler-Maruyama to Higher-Order Schemes
Emanuel Pfarr, Radu Timofte, Frank Werner
TL;DR
This paper tackles the discretization error in sampling from generative diffusion models by casting GDMs as SDEs and analyzing the reverse-time discretization. It first establishes an all-at-once Euler–Maruyama ($EM$) convergence bound in the 2-Wasserstein metric, accounting for initialization, score-matching, and discretization errors under broad forward SDEs and log-concave data assumptions, and provides a parameter-choice rule for the step size. Next, it proves a general convergence theorem for any discretization with known strong $L_2$ order $p$, enabling sharper results such as an $ ext{O}(h^{p} + oldsymbol{varepsilon'})$ bound; in particular, EM yields $ ext{O}(h+oldsymbol{varepsilon'})$ while a higher-order scheme achieves $ ext{O}(h^{3/2} + oldsymbol{varepsilon'})$ under additional smoothness. The theoretical findings are corroborated by extensive experiments on toy distributions and CIFAR-10, showing that higher-order discretizations can retain, and in some cases exceed, EM’s performance, especially in latent spaces. Overall, the work provides both rigorous guarantees and practical guidance for selecting discretization schemes in diffusion-based generative modeling.
Abstract
Although generative diffusion models (GDMs) are widely used in practice, their theoretical foundations remain limited, especially concerning the impact of different discretization schemes applied to the underlying stochastic differential equation (SDE). Existing convergence analysis largely focuses on Euler-Maruyama (EM)-like methods and does not extend to higher-order schemes, which are naturally expected to provide improved discretization accuracy. In this paper, we establish asymptotic 2-Wasserstein convergence results for SDE-based discretization methods employed in sampling for GDMs. We provide an all-at-once error bound analysis of the EM method that accounts for all error sources and establish convergence under all prevalent score-matching error assumptions in the literature, assuming a strongly log-concave data distribution. Moreover, we present the first error bound result for arbitrary higher-order SDE-discretization methods with known strong L_2 convergence in dependence on the discretization grid and the score-matching error. Finally, we complement our theoretical findings with an extensive numerical study, providing comprehensive experimental evidence and showing that, contrary to popular believe, higher order discretization methods can in fact retain their theoretical advantage over EM for sampling GDMs.
