FasterCache: Training-Free Video Diffusion Model Acceleration with High Quality

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Lv, Zhengyao, Si, Chenyang, Song, Junhao, Yang, Zhenyu, Qiao, Yu, Liu, Ziwei, Wong, Kwan-Yee K.
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913731880943616
author Lv, Zhengyao
Si, Chenyang
Song, Junhao
Yang, Zhenyu
Qiao, Yu
Liu, Ziwei
Wong, Kwan-Yee K.
author_facet Lv, Zhengyao
Si, Chenyang
Song, Junhao
Yang, Zhenyu
Qiao, Yu
Liu, Ziwei
Wong, Kwan-Yee K.
contents In this paper, we present \textbf{\textit{FasterCache}}, a novel training-free strategy designed to accelerate the inference of video diffusion models with high-quality generation. By analyzing existing cache-based methods, we observe that \textit{directly reusing adjacent-step features degrades video quality due to the loss of subtle variations}. We further perform a pioneering investigation of the acceleration potential of classifier-free guidance (CFG) and reveal significant redundancy between conditional and unconditional features within the same timestep. Capitalizing on these observations, we introduce FasterCache to substantially accelerate diffusion-based video generation. Our key contributions include a dynamic feature reuse strategy that preserves both feature distinction and temporal continuity, and CFG-Cache which optimizes the reuse of conditional and unconditional outputs to further enhance inference speed without compromising video quality. We empirically evaluate FasterCache on recent video diffusion models. Experimental results show that FasterCache can significantly accelerate video generation (\eg 1.67$\times$ speedup on Vchitect-2.0) while keeping video quality comparable to the baseline, and consistently outperform existing methods in both inference speed and video quality.
format Preprint
id arxiv_https___arxiv_org_abs_2410_19355
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle FasterCache: Training-Free Video Diffusion Model Acceleration with High Quality
Lv, Zhengyao
Si, Chenyang
Song, Junhao
Yang, Zhenyu
Qiao, Yu
Liu, Ziwei
Wong, Kwan-Yee K.
Computer Vision and Pattern Recognition
In this paper, we present \textbf{\textit{FasterCache}}, a novel training-free strategy designed to accelerate the inference of video diffusion models with high-quality generation. By analyzing existing cache-based methods, we observe that \textit{directly reusing adjacent-step features degrades video quality due to the loss of subtle variations}. We further perform a pioneering investigation of the acceleration potential of classifier-free guidance (CFG) and reveal significant redundancy between conditional and unconditional features within the same timestep. Capitalizing on these observations, we introduce FasterCache to substantially accelerate diffusion-based video generation. Our key contributions include a dynamic feature reuse strategy that preserves both feature distinction and temporal continuity, and CFG-Cache which optimizes the reuse of conditional and unconditional outputs to further enhance inference speed without compromising video quality. We empirically evaluate FasterCache on recent video diffusion models. Experimental results show that FasterCache can significantly accelerate video generation (\eg 1.67$\times$ speedup on Vchitect-2.0) while keeping video quality comparable to the baseline, and consistently outperform existing methods in both inference speed and video quality.
title FasterCache: Training-Free Video Diffusion Model Acceleration with High Quality
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2410.19355