atlas

Research map / Image generation / Fast diffusion sampling

Fast ODE-based Sampling for Diffusion Models in Around 5 Steps

CVPR 2024 · Image generation › Fast diffusion sampling · approach: Fast diffusion ODE solvers · 28 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes AMED-Solver, a single-step ODE solver for diffusion sampling that learns a mean direction (intermediate time and scaling factor) via a 9k-parameter predictor trained by distillation, plus AMED-Plugin for existing solvers, reaching strong FIDs at about 5 NFE.

Problem

Fast ODE-based sampling of diffusion models degrades sharply at extremely small numbers of function evaluations (around 5 NFE), due to truncation errors of numerical solvers.

Approach

Observes that PF-ODE sampling trajectories nearly lie in a two-dimensional subspace, and uses the mean value theorem to approximate the integral with one learned intermediate evaluation point and scaling factor per step, predicted by a tiny network trained via distillation from a teacher trajectory; the same idea is applied as a plugin to other solvers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add AMED-Solver's learned mean-direction stepsingle-step ODE sampling · CIFAR10 32×32, 5 NFEFID: 57.30 -> 7.59Helped
add the AMED predictor to iPNDMiPNDM · CIFAR10 32×32, 5 NFEFID: 13.59 -> 6.61Helped
add AMED-Solver's learned mean-direction stepsingle-step ODE sampling · ImageNet 64×64, 5 NFEFID: 42.41 -> 10.74Helped
add the AMED predictor to iPNDMiPNDM · ImageNet 64×64, 5 NFEFID: 18.99 -> 13.83Helped
add AMED-Solver's learned mean-direction stepsingle-step ODE sampling · FFHQ 64×64, 5 NFEFID: 87.10 -> 14.80Helped
add the AMED predictor to iPNDMiPNDM · FFHQ 64×64, 5 NFEFID: 17.17 -> 12.49Helped
add AMED-Solver's learned mean-direction stepsingle-step ODE sampling · LSUN Bedroom 256×256, 5 NFEFID: 80.60 -> 13.20Helped
add the AMED predictor to DPM-Solver-2DPM-Solver-2 · LSUN Bedroom 256×256, 5 NFEFID: 80.60 -> 25.68Helped
add the AMED predictor to DPM-Solver++(2M)DPM-Solver++(2M) · Stable-Diffusion, 8 NFEFID: 21.33 -> 18.92Helped
use EDM instead of DPM-Solver++(3M) as AMED-Solver's teacher (ablation)AMED-Solver · CIFAR10 32×32, 5 NFEFID: 12.34 -> 7.59Helped
use iPNDM instead of DPM-Solver++(3M) as the AMED-Plugin teacher (ablation)AMED-Plugin on iPNDM · CIFAR10 32×32, 5 NFEFID: 7.57 -> 6.61Helped
use a logSNR schedule instead of a uniform schedule (ablation)DPM-Solver++(3M) · CIFAR10 32×32, 5 NFEFID: 26.90 -> 24.97Helped

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 FFHQ 64x64 ImageNet 64x64 LSUN Bedroom MS-COCO

Benchmarks: CIFAR-10 ImageNet 64x64 FFHQ 64x64 LSUN Bedroom MS-COCO

Metrics: FID

Baselines: DDIM EDM DPM-Solver-2 DPM-Solver++(3M) UniPC iPNDM

Builds on: DPM-Solver DDIM EDM iPNDM DPM-Solver++

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy