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

Latent Consistency Models: Synthesizing High-Resolution Images with Few-Step Inference

About

Latent Diffusion models (LDMs) have achieved remarkable results in synthesizing high-resolution images. However, the iterative sampling process is computationally intensive and leads to slow generation. Inspired by Consistency Models (song et al.), we propose Latent Consistency Models (LCMs), enabling swift inference with minimal steps on any pre-trained LDMs, including Stable Diffusion (rombach et al). Viewing the guided reverse diffusion process as solving an augmented probability flow ODE (PF-ODE), LCMs are designed to directly predict the solution of such ODE in latent space, mitigating the need for numerous iterations and allowing rapid, high-fidelity sampling. Efficiently distilled from pre-trained classifier-free guided diffusion models, a high-quality 768 x 768 2~4-step LCM takes only 32 A100 GPU hours for training. Furthermore, we introduce Latent Consistency Fine-tuning (LCF), a novel method that is tailored for fine-tuning LCMs on customized image datasets. Evaluation on the LAION-5B-Aesthetics dataset demonstrates that LCMs achieve state-of-the-art text-to-image generation performance with few-step inference. Project Page: https://latent-consistency-models.github.io/

Simian Luo, Yiqin Tan, Longbo Huang, Jian Li, Hang Zhao• 2023

Related benchmarks

TaskDatasetResultRank
Text-to-Image GenerationGenEval
Overall Score50
467
Text-to-Image GenerationGenEval (test)
Two Obj. Acc55
169
Text-to-Image GenerationMS-COCO 2017 (val)
FID36.52
80
Text-to-Image GenerationGenEval 1.0 (test)
Overall Score33.98
63
Text-to-Image GenerationCOCO 30k subset 2014 (val)
FID23.62
46
Text-to-Image GenerationMS COCO zero-shot
FID23.62
42
Text-to-Image GenerationMS-COCO 30k (val)
FID23.62
42
Text-to-Image GenerationMS-COCO 30K (test)
FID25.44
41
Video GenerationMSRVTT (val)
FVD713
40
Text-to-Image GenerationText-to-Image Generation
CLIP Score0.2993
34
Showing 10 of 27 rows

Other info

Code

Follow for update