Skip to main content
QUICK REVIEW

[Paper Review] LCM-LoRA: A Universal Stable-Diffusion Acceleration Module

Simian Luo, Yiqin Tan|arXiv (Cornell University)|Nov 9, 2023
Generative Adversarial Networks and Image SynthesisComputer Science23 citations
TL;DR

LCM-LoRA introduces a universal, training-free acceleration module built with LoRA distillation on Latent Consistency Models, enabling fast, few-step inference across SD models and LoRAs without additional training.

ABSTRACT

Latent Consistency Models (LCMs) have achieved impressive performance in accelerating text-to-image generative tasks, producing high-quality images with minimal inference steps. LCMs are distilled from pre-trained latent diffusion models (LDMs), requiring only ~32 A100 GPU training hours. This report further extends LCMs' potential in two aspects: First, by applying LoRA distillation to Stable-Diffusion models including SD-V1.5, SSD-1B, and SDXL, we have expanded LCM's scope to larger models with significantly less memory consumption, achieving superior image generation quality. Second, we identify the LoRA parameters obtained through LCM distillation as a universal Stable-Diffusion acceleration module, named LCM-LoRA. LCM-LoRA can be directly plugged into various Stable-Diffusion fine-tuned models or LoRAs without training, thus representing a universally applicable accelerator for diverse image generation tasks. Compared with previous numerical PF-ODE solvers such as DDIM, DPM-Solver, LCM-LoRA can be viewed as a plug-in neural PF-ODE solver that possesses strong generalization abilities. Project page: https://github.com/luosiallen/latent-consistency-model.

Motivation & Objective

  • Demonstrate that LoRA distillation can extend Latent Consistency Models (LCMs) to larger Stable-Diffusion variants (SD-V1.5, SSD-1B, SDXL).
  • Show that LoRA parameters from LCM distillation serve as a universal acceleration module that can be combined with style LoRAs without retraining.
  • Provide a training-efficient pathway to enable fast, high-quality text-to-image generation across diverse SD fine-tuned models.
  • Highlight the compatibility of LCM-LoRA with existing LoRA-based fine-tuning and its potential for style transfer via linear combination of LoRA vectors.

Proposed method

  • Apply Latent Consistency Distillation (LCD) on top of pre-trained diffusion models with LoRA-based parameter efficiency.
  • Use LoRA to train a small set of update matrices during LCD, dramatically reducing memory usage while distilling into LCMs for SD variants.
  • Introduce the acceleration vector (LCM-LoRA) and show it can be linearly combined with a style vector (style LoRA) to produce style-specific, fast-generation models without further training.
  • Demonstrate that LCM-LoRA can be plugged into SD fine-tuned models or SD LoRAs to enable fast inference with minimal sampling steps.
  • Present a concrete formula for combining acceleration and style vectors: theta_LCM' = theta_pre + tau_LCM'_LCM and tau_LCM'_LCM = lambda1 * tau' + lambda2 * tau_LCM.

Experimental results

Research questions

  • RQ1Can Latent Consistency Distillation (LCD) be effectively extended to larger Stable-Diffusion models (SDXL, SSD-1B) using LoRA with reduced memory overhead?
  • RQ2Do LoRA parameters from LCD (LCM-LoRA) function as a universal, training-free accelerator across diverse SD models and LoRAs?
  • RQ3Can the LCM-LoRA acceleration vector be linearly combined with style-specific LoRA vectors to generate style-driven images without additional training?
  • RQ4How does LCM-LoRA perform relative to traditional PF-ODE solvers (DDIM, DPM-Solver) in terms of speed and quality at few sampling steps?

Key findings

  • LCM-LoRA enables fast inference with minimal steps across SD-V1.5, SDXL, and SSD-1B with reduced memory via LoRA distillation.
  • LoRA parameters from LCD require significantly fewer trainable parameters while maintaining high-quality results for larger base models (SDXL, SSD-1B).
  • LCM-LoRA parameters can be directly combined with other style LoRAs to produce style-specific image generation without further training.
  • The approach demonstrates robust generalization across fine-tuned SD models and LoRAs, acting as a neural PF-ODE solver plug-in.
  • Compared to PF-ODE solvers, LCM-LoRA provides a training-free, generalizable acceleration mechanism for latent diffusion models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.