Learning Fast Samplers for Diffusion Models by Differentiating Through Sample Quality

By Daniel Watson, William Chan, Jonathan Ho, Mohammad Norouzi. 2022

241 citations recorded by the source corpus.

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.

Subfields: Computer Vision and Pattern Recognition, Radiology, Nuclear Medicine and Imaging, Generative Models, Optimization & Training

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Ming-Hsuan Yang
  3. Dacheng Tao
  4. Andrea Vedaldi
  5. Chen Change Loy
  6. Xiaogang Wang
  7. Trevor Darrell
  8. Andrew Zisserman

In Radiology, Nuclear Medicine and Imaging

  1. Tim Dockhorn
  2. Andreas Blattmann
  3. Stan Z. Li
  4. Jun Zhu
  5. Robin Rombach
  6. Andrea Vedaldi
  7. P. Heng
  8. Ming-Hsuan Yang

In Generative Models

  1. Arash Vahdat
  2. Karsten Kreis
  3. Eli Shechtman
  4. Tero Karras
  5. Daniel Cohen-Or
  6. Robin Rombach
  7. Richard Zhang
  8. Jun-Yan Zhu

In Optimization & Training

  1. Jun Zhu
  2. Cheng Lu
  3. Tim Dockhorn
  4. Andreas Blattmann
  5. Philip S. Yu
  6. Bin Cui
  7. Robin Rombach
  8. Deli Zhao

Citations in the corpus