Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

PeRFlow: Piecewise Rectified Flow as Universal Plug-and-Play Accelerator

About

We present Piecewise Rectified Flow (PeRFlow), a flow-based method for accelerating diffusion models. PeRFlow divides the sampling process of generative flows into several time windows and straightens the trajectories in each interval via the reflow operation, thereby approaching piecewise linear flows. PeRFlow achieves superior performance in a few-step generation. Moreover, through dedicated parameterizations, the PeRFlow models inherit knowledge from the pretrained diffusion models. Thus, the training converges fast and the obtained models show advantageous transfer ability, serving as universal plug-and-play accelerators that are compatible with various workflows based on the pre-trained diffusion models. Codes for training and inference are publicly released. https://github.com/magic-research/piecewise-rectified-flow

Hanshu Yan, Xingchao Liu, Jiachun Pan, Jun Hao Liew, Qiang Liu, Jiashi Feng• 2024

Related benchmarks

TaskDatasetResultRank
Text-to-Video GenerationVBench
Quality Score84.29
111
Image GenerationGenEval (test)
GenEval Score58
35
Text-to-Image GenerationStable Diffusion v1.5
FID (5k)5.03
27
Text-to-Image GenerationMS-COCO 512x512 zero-shot--
19
Image GenerationLAION-5B
FID13.06
6
Image GenerationCOCO 2014
FID18.48
6
Image GenerationSDXL
FID9.12
6
Text to ImageStandard text-to-image benchmarks
CLIP Score97.28
6
Text-to-Image GenerationLAION-5B
FID8.52
6
Text-to-Image GenerationCOCO 2014
FID11.31
6
Showing 10 of 11 rows

Other info

Code

Follow for update