Saved in:
Bibliographic Details
Main Authors: Wang, Guangyi, Cai, Yuren, Li, Lijiang, Peng, Wei, Su, Songzhi
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2408.08822
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929721687670784
author Wang, Guangyi
Cai, Yuren
Li, Lijiang
Peng, Wei
Su, Songzhi
author_facet Wang, Guangyi
Cai, Yuren
Li, Lijiang
Peng, Wei
Su, Songzhi
contents Diffusion Probabilistic Models (DPMs) have shown remarkable potential in image generation, but their sampling efficiency is hindered by the need for numerous denoising steps. Most existing solutions accelerate the sampling process by proposing fast ODE solvers. However, the inevitable discretization errors of the ODE solvers are significantly magnified when the number of function evaluations (NFE) is fewer. In this work, we propose PFDiff, a novel training-free and orthogonal timestep-skipping strategy, which enables existing fast ODE solvers to operate with fewer NFE. Specifically, PFDiff initially utilizes score replacement from past time steps to predict a ``springboard". Subsequently, it employs this ``springboard" along with foresight updates inspired by Nesterov momentum to rapidly update current intermediate states. This approach effectively reduces unnecessary NFE while correcting for discretization errors inherent in first-order ODE solvers. Experimental results demonstrate that PFDiff exhibits flexible applicability across various pre-trained DPMs, particularly excelling in conditional DPMs and surpassing previous state-of-the-art training-free methods. For instance, using DDIM as a baseline, we achieved 16.46 FID (4 NFE) compared to 138.81 FID with DDIM on ImageNet 64x64 with classifier guidance, and 13.06 FID (10 NFE) on Stable Diffusion with 7.5 guidance scale. Code is available at \url{https://github.com/onefly123/PFDiff}.
format Preprint
id arxiv_https___arxiv_org_abs_2408_08822
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle PFDiff: Training-Free Acceleration of Diffusion Models Combining Past and Future Scores
Wang, Guangyi
Cai, Yuren
Li, Lijiang
Peng, Wei
Su, Songzhi
Computer Vision and Pattern Recognition
Diffusion Probabilistic Models (DPMs) have shown remarkable potential in image generation, but their sampling efficiency is hindered by the need for numerous denoising steps. Most existing solutions accelerate the sampling process by proposing fast ODE solvers. However, the inevitable discretization errors of the ODE solvers are significantly magnified when the number of function evaluations (NFE) is fewer. In this work, we propose PFDiff, a novel training-free and orthogonal timestep-skipping strategy, which enables existing fast ODE solvers to operate with fewer NFE. Specifically, PFDiff initially utilizes score replacement from past time steps to predict a ``springboard". Subsequently, it employs this ``springboard" along with foresight updates inspired by Nesterov momentum to rapidly update current intermediate states. This approach effectively reduces unnecessary NFE while correcting for discretization errors inherent in first-order ODE solvers. Experimental results demonstrate that PFDiff exhibits flexible applicability across various pre-trained DPMs, particularly excelling in conditional DPMs and surpassing previous state-of-the-art training-free methods. For instance, using DDIM as a baseline, we achieved 16.46 FID (4 NFE) compared to 138.81 FID with DDIM on ImageNet 64x64 with classifier guidance, and 13.06 FID (10 NFE) on Stable Diffusion with 7.5 guidance scale. Code is available at \url{https://github.com/onefly123/PFDiff}.
title PFDiff: Training-Free Acceleration of Diffusion Models Combining Past and Future Scores
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2408.08822