LGFeb 11, 2022

Learning Fast Samplers for Diffusion Models by Differentiating Through Sample Quality

arXiv:2202.05830v1228 citations
AI Analysis

This addresses the computational bottleneck for users of diffusion models in generative tasks like image synthesis, offering a practical speed-up without retraining.

The paper tackles the problem of slow sampling in diffusion models by introducing a method to optimize fast samplers through gradient-based search, achieving improved sample quality with fewer steps, such as reducing FID scores on LSUN church from 51.1 to 11.6 with only 10 inference steps.

Diffusion models have emerged as an expressive family of generative models rivaling GANs in sample quality and autoregressive models in likelihood scores. Standard diffusion models typically require hundreds of forward passes through the model to generate a single high-fidelity sample. We introduce Differentiable Diffusion Sampler Search (DDSS): a method that optimizes fast samplers for any pre-trained diffusion model by differentiating through sample quality scores. We also present Generalized Gaussian Diffusion Models (GGDM), a family of flexible non-Markovian samplers for diffusion models. We show that optimizing the degrees of freedom of GGDM samplers by maximizing sample quality scores via gradient descent leads to improved sample quality. Our optimization procedure backpropagates through the sampling process using the reparametrization trick and gradient rematerialization. DDSS achieves strong results on unconditional image generation across various datasets (e.g., FID scores on LSUN church 128x128 of 11.6 with only 10 inference steps, and 4.82 with 20 steps, compared to 51.1 and 14.9 with strongest DDPM/DDIM baselines). Our method is compatible with any pre-trained diffusion model without fine-tuning or re-training required.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes