Interpreting and Improving Diffusion Models from an Optimization Perspective
Frank Permenter, Chenyang Yuan
TL;DR
This work reframes diffusion models through an optimization lens by treating denoising as approximate projection onto the data manifold and diffusion as gradient descent on the squared distance to that manifold. It introduces an $(\eta,\nu)$-approximate projection model and analyzes DDIM under this framework, yielding convergence guarantees and guiding principles for noise schedules. A gradient-estimation sampler is proposed to reduce gradient-estimation error by aggregating prior denoiser outputs, achieving state-of-the-art FID with few evaluations on CIFAR-10, CelebA, and latent-diffusion systems. The findings connect diffusion, projection, and distance-function concepts, enabling new deterministic samplers and conditioning strategies with practical impact for fast, high-quality image generation. Overall, the approach offers a cohesive, theory-driven path to design and analyze diffusion samplers that generalize beyond standard DDIM/DDPM implementations.
Abstract
Denoising is intuitively related to projection. Indeed, under the manifold hypothesis, adding random noise is approximately equivalent to orthogonal perturbation. Hence, learning to denoise is approximately learning to project. In this paper, we use this observation to interpret denoising diffusion models as approximate gradient descent applied to the Euclidean distance function. We then provide straight-forward convergence analysis of the DDIM sampler under simple assumptions on the projection error of the denoiser. Finally, we propose a new gradient-estimation sampler, generalizing DDIM using insights from our theoretical results. In as few as 5-10 function evaluations, our sampler achieves state-of-the-art FID scores on pretrained CIFAR-10 and CelebA models and can generate high quality samples on latent diffusion models.
