Latent Consistency Models: Synthesizing High-Resolution Images with Few-Step Inference
Simian Luo, Yiqin Tan, Longbo Huang, Jian Li, Hang Zhao

TL;DR
Latent Consistency Models enable rapid, high-quality image synthesis from pre-trained diffusion models with minimal inference steps, significantly reducing computational costs while maintaining state-of-the-art performance.
Contribution
We introduce Latent Consistency Models (LCMs) that allow fast, few-step inference on pre-trained latent diffusion models, and propose Latent Consistency Fine-tuning for customized datasets.
Findings
LCMs achieve high-fidelity image generation with only 2-4 inference steps.
LCMs trained on LAION-5B-Aesthetics outperform existing methods in few-step generation.
Training LCMs requires only 32 A100 GPU hours for high-resolution images.
Abstract
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),…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗SimianLuo/LCM_Dreamshaper_v7model· 94k dl· ♡ 41594k dl♡ 415
- 🤗ckpt/LCM_Dreamshaper_v7model· 27 dl· ♡ 327 dl♡ 3
- 🤗patrickvonplaten/LCM_Dreamshaper_v7model· 13 dl· ♡ 113 dl♡ 1
- 🤗latent-consistency/lcm-sdxlmodel· 806 dl· ♡ 160806 dl♡ 160
- 🤗latent-consistency/lcm-ssd-1bmodel· 206 dl· ♡ 43206 dl♡ 43
- 🤗ckpt/lcm-sdxl-unetmodel· 8 dl· ♡ 18 dl♡ 1
- 🤗thingthatis/lcm-sdxlmodel· 10 dl10 dl
- 🤗Intel/sd-1.5-lcm-openvinomodel· 100 dl· ♡ 4100 dl♡ 4
- 🤗PixArt-alpha/PixArt-LCM-XL-2-1024-MSmodel· 83 dl· ♡ 6483 dl♡ 64
- 🤗TobDeBer/lcm_dream7model· 10 dl· ♡ 110 dl♡ 1
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGenerative Adversarial Networks and Image Synthesis · Multimodal Machine Learning Applications · Domain Adaptation and Few-Shot Learning
MethodsDiffusion
