Skip to main content
QUICK REVIEW

[Paper Review] gDDIM: Generalized denoising diffusion implicit models

Qinsheng Zhang, Molei Tao|arXiv (Cornell University)|Jun 11, 2022
Advanced Neuroimaging Techniques and ApplicationsMedicine26 citations
TL;DR

The paper generalizes DDIM to non-isotropic diffusion models (gDDIM), providing a principled score-parameterization and sampling scheme that drastically speeds up diffusion-based generation, demonstrated on CLD and BDM with substantial acceleration and competitive FID results.

ABSTRACT

Our goal is to extend the denoising diffusion implicit model (DDIM) to general diffusion models~(DMs) besides isotropic diffusions. Instead of constructing a non-Markov noising process as in the original DDIM, we examine the mechanism of DDIM from a numerical perspective. We discover that the DDIM can be obtained by using some specific approximations of the score when solving the corresponding stochastic differential equation. We present an interpretation of the accelerating effects of DDIM that also explains the advantages of a deterministic sampling scheme over the stochastic one for fast sampling. Building on this insight, we extend DDIM to general DMs, coined generalized DDIM (gDDIM), with a small but delicate modification in parameterizing the score network. We validate gDDIM in two non-isotropic DMs: Blurring diffusion model (BDM) and Critically-damped Langevin diffusion model (CLD). We observe more than 20 times acceleration in BDM. In the CLD, a diffusion model by augmenting the diffusion process with velocity, our algorithm achieves an FID score of 2.26, on CIFAR10, with only 50 number of score function evaluations~(NFEs) and an FID score of 2.86 with only 27 NFEs. Code is available at https://github.com/qsh-zh/gDDIM

Motivation & Objective

  • Motivate faster sampling for diffusion models beyond isotropic diffusions.
  • Interpret DDIM mechanisms to justify ODE-based sampling over SDE-based sampling at low NFEs.
  • Introduce gDDIM with score-network reparameterization for general DMs.
  • Validate gDDIM on non-isotropic diffusion models and quantify acceleration and sample quality.

Proposed method

  • Reinterpret DDIM via probability flow ODE and score behavior to explain acceleration.
  • Generalize DDIM to arbitrary diffusion models by designing a time-varying matrix K_t equal to R_t that satisfies a governing equation.
  • Parameterize the score network as s_theta(u,t) = -R_t^T epsilon_theta(u,t) and derive approximations for deterministic and stochastic gDDIM.
  • Develop multistep predictor-corrector schemes to reduce NFEs while preserving accuracy.
  • Provide deterministic and stochastic gDDIM formulations with corresponding theoretical propositions.
  • Empirically compare gDDIM against EMA-based and probabilistic-flow samplers on CLD and BDM.

Experimental results

Research questions

  • RQ1Can DDIM-like sampling be exact (or near-exact) for general diffusion models when using proper approximations?
  • RQ2How can DDIM be generalized to non-isotropic or augmented diffusion processes while maintaining sampling efficiency and quality?
  • RQ3Do score-network parameterizations and specific K_t/R_t choices yield substantial speedups across different DMs?
  • RQ4What are the empirical gains in FID and NFEs for CLD and BDM using gDDIM compared with existing samplers?

Key findings

  • gDDIM can accelerate diffusion models beyond isotropic cases by a small modification of score-network parameterization.
  • Deterministic gDDIM achieves significant speedups and competitive FID on CLD, e.g., 2.26 FID with 50 NFEs and 2.86 with 27 NFEs (on CIFAR-10).
  • BDM and CLD experiments show more than 20x acceleration over baseline samplers at similar model sizes.
  • Choosing K_t = R_t, derived from the diffusion process, yields smoother epsilon_theta trajectories and better stability than alternatives like L_t.
  • Stochastic gDDIM with appropriate approximations further improves sampling efficiency relative to EM-based methods.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.