CVAILGFeb 27, 2024

Accelerating Diffusion Sampling with Optimized Time Steps

arXiv:2402.17376v373 citationsh-index: 15CVPR
Originality Incremental advance
AI Analysis

This work addresses a specific bottleneck in DPM sampling efficiency for image generation, offering an incremental improvement over existing methods.

The paper tackles the inefficiency of diffusion probabilistic models (DPMs) in image synthesis by optimizing time steps for numerical ODE solvers, reducing sampling time to under 15 seconds and improving FID scores on datasets like CIFAR-10 and ImageNet compared to uniform steps.

Diffusion probabilistic models (DPMs) have shown remarkable performance in high-resolution image synthesis, but their sampling efficiency is still to be desired due to the typically large number of sampling steps. Recent advancements in high-order numerical ODE solvers for DPMs have enabled the generation of high-quality images with much fewer sampling steps. While this is a significant development, most sampling methods still employ uniform time steps, which is not optimal when using a small number of steps. To address this issue, we propose a general framework for designing an optimization problem that seeks more appropriate time steps for a specific numerical ODE solver for DPMs. This optimization problem aims to minimize the distance between the ground-truth solution to the ODE and an approximate solution corresponding to the numerical solver. It can be efficiently solved using the constrained trust region method, taking less than $15$ seconds. Our extensive experiments on both unconditional and conditional sampling using pixel- and latent-space DPMs demonstrate that, when combined with the state-of-the-art sampling method UniPC, our optimized time steps significantly improve image generation performance in terms of FID scores for datasets such as CIFAR-10 and ImageNet, compared to using uniform time steps.

Code Implementations1 repo
Foundations

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

Your Notes