Fast Sampling of Diffusion Models with Exponential Integrator

By Qinsheng Zhang, Yongxin Chen. 2022

629 citations recorded by the source corpus.

The past few years have witnessed the great success of Diffusion models~(DMs) in generating high-fidelity samples in generative modeling tasks. A major limitation of the DM is its notoriously slow sampling procedure which normally requires hundreds to thousands of time discretization steps of the learned diffusion process to reach the desired accuracy. Our goal is to develop a fast sampling method for DMs with a much less number of steps while retaining high sample quality. To this end, we systematically analyze the sampling procedure in DMs and identify key factors that affect the sample quality, among which the method of discretization is most crucial. By carefully examining the learned diffusion process, we propose Diffusion Exponential Integrator Sampler~(DEIS). It is based on the Exponential Integrator designed for discretizing ordinary differential equations (ODEs) and leverages a semilinear structure of the learned diffusion process to reduce the discretization error. The proposed method can be applied to any DMs and can generate high-fidelity samples in as few as 10 steps. In our experiments, it takes about 3 minutes on one A6000 GPU to generate $50k$ images from CIFAR10. Moreover, by directly using pre-trained DMs, we achieve the state-of-art sampling performance when the number of score function evaluation~(NFE) is limited, e.g., 4.17 FID with 10 NFEs, 3.37 FID, and 9.74 IS with only 15 NFEs on CIFAR10. Code is available at https://github.com/qsh-zh/deis

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Statistical and Nonlinear Physics, Generative Models, Numerical Methods & Scientific Computing

How researchers see this paper

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

In Artificial Intelligence

  1. Jun Zhu
  2. Arash Vahdat
  3. Stefano Ermon
  4. Jiaming Song
  5. Jan Kautz
  6. Karsten Kreis
  7. Sergey Levine
  8. Yoshua Bengio

In Computer Vision and Pattern Recognition

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

In Statistical and Nonlinear Physics

  1. Arash Vahdat
  2. Karsten Kreis
  3. Eli Shechtman
  4. Qinsheng Zhang
  5. Richard Zhang
  6. Jan Kautz
  7. Jiaming Song
  8. Andreas Blattmann

In Generative Models

  1. Arash Vahdat
  2. Eli Shechtman
  3. Richard Zhang
  4. Jun-Yan Zhu
  5. Karsten Kreis
  6. Jan Kautz
  7. Robin Rombach
  8. Ming-Hsuan Yang

In Numerical Methods & Scientific Computing

  1. Andreas Blattmann
  2. Robin Rombach
  3. Axel Sauer
  4. Gongfan Fang
  5. Xinyin Ma
  6. Xinchao Wang
  7. Arash Vahdat
  8. Jiaming Song

Citations in the corpus