NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

LCM-LoRA: A Universal Stable-Diffusion Acceleration Module

Simian Luo, Yiqin Tan, Suraj Patil, Daniel Gu, Patrick von Platen, Apolinário Passos, Longbo Huang, Jian Li, Hang ZhaoarXiv 2023 · DOI

Abstract

Latent Diffusion Models (LDMs) have revolutionized creative AI but suffer from slow inference, typically requiring 20-50 sampling steps. LCM-LoRA addresses this bottleneck by introducing a universal acceleration module that enables high-quality image generation in just 1-4 steps. By combining Latent Consistency Models (LCM) with Low-Rank Adaptation (LoRA), the authors demonstrate that acceleration can be treated as a composable "vector" in weight space. This allows for the immediate speedup of diverse, pre-existing fine-tuned models without additional training.

Introduction

Standard LDMs like Stable Diffusion are computationally intensive, making real-time applications challenging on consumer-grade hardware. While distillation techniques can create faster "Consistency Models," the process is traditionally rigid and expensive, requiring separate distillation for every fine-tuned variant (e.g., photorealistic vs. artistic models). LCM-LoRA proposes a "universal" alternative: a plug-and-play neural solver that can be dropped into almost any Stable Diffusion-based architecture.

Methodology

The core innovation of LCM-LoRA lies in the synthesis of two distinct technologies:

  1. Latent Consistency Models (LCMs): These models frame image generation as solving a Probability Flow Ordinary Differential Equation (PF-ODE). Unlike standard diffusion, which requires many small iterative steps, LCMs are trained to predict the final solution in significantly fewer jumps.
  2. Low-Rank Adaptation (LoRA): A parameter-efficient fine-tuning technique that freezes base model weights and trains small auxiliary matrices.

The Acceleration Vector

The authors applied LCM distillation specifically to LoRA layers. They discovered that the resulting weights act as an "acceleration vector" ($\tau_{acceleration}$). Because LoRA weights are additive, this vector can be combined with existing "style vectors" ($\tau_{style}$) to produce a fast, stylized model without further training.

The LCM-LoRA framework illustrates how style and acceleration vectors are combined to create a fast, customized model.

The final model weights are computed as: $$\theta'_{LCM} = \theta_{base} + \lambda_1 \tau_{style} + \lambda_2 \tau_{acceleration}$$

Key Insights

  • Neural PF-ODE Solver: LCM-LoRA functions as a built-in neural solver, replacing traditional, slower numerical solvers like DDIM.
  • Linear Weight Composition: The research reveals that "acceleration" and "style" are largely independent in the model's weight space, allowing for modular "task arithmetic."
  • Resource Efficiency: By distilling only the LoRA parameters, the authors successfully distilled large-scale models like SDXL (3.5B parameters) using significantly fewer resources than full-model distillation.

Key Results and Universal Compatibility

LCM-LoRA achieves a dramatic reduction in sampling steps, producing high-quality outputs in 1-4 steps. For SDXL, the team only needed to train 197M parameters (roughly 5.6% of the total model).

LCM-LoRA maintains high fidelity across diverse aesthetic domains, including photorealism, landscapes, and character art, while operating at high speeds.

The module's "universality" was validated by plugging it into various third-party models. In all cases, the module provided immediate acceleration while preserving the unique aesthetic of the base fine-tuned model.

Limitations and Future Work

Despite its success, LCM-LoRA requires careful manual balancing of the scaling factors ($\lambda_1$ and $\lambda_2$) to maintain style fidelity. Additionally, finding optimal Classifier-Free Guidance (CFG) settings for extremely low step counts remains a challenge. Future research may extend this modular approach to other generative domains, such as video and audio synthesis.

Summary updated

BibTeX
@misc{luo2023lcm,
  author = {Simian Luo and Yiqin Tan and Suraj Patil and Daniel Gu and Patrick von Platen and Apolinário Passos and Longbo Huang and Jian Li and Hang Zhao},
  title = {{LCM-LoRA: A Universal Stable-Diffusion Acceleration Module}},
  year = {2023},
  eprint = {2311.05556},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.05556},
}
Figure