Phased Consistency Models

Fu-Yun Wang, Zhaoyang Huang, Alexander William Bergman, Dazhong Shen, Peng Gao, Michael Lingelbach, Keqiang Sun, Weikang Bian, Guanglu Song, Yu Liu, Xiaogang Wang, Hongsheng Li

TL;DR

Phased Consistency Models (PCMs) revolutionize few-step image and video generation by breaking down the complex diffusion "path" into manageable sub-trajectories. By generalizing the design of Latent Consistency Models (LCMs), PCMs solve critical issues in controllability and image quality, achieving state-of-the-art results in as little as 1 to 4 steps.

What Problem Does This Paper Address?

Diffusion models are the gold standard for high-quality image generation, but they are notoriously slow, often requiring dozens of iterative steps to produce a single image. Consistency Models (CMs) and their latent counterparts (LCMs) were designed to skip this process by learning a function that maps any point on the generation trajectory directly to the final image.

However, the authors identify three "fatal flaws" in current LCMs:

  1. Inconsistency: Images generated with the same seed look drastically different depending on whether you use 1, 4, or 8 steps. LCM results often become blurry if the step count is too large or too small.
  2. Poor Controllability: LCMs suffer from "exposure" issues (oversaturated/fried images) if you use high Classifier-Free Guidance (CFG) scales, and they are strangely "deaf" to negative prompts.
  3. Low Efficiency: At the ultra-low step regime (1-2 steps), the quality drops significantly compared to specialized 1-step models because the loss term fails to achieve distribution consistency.
Comparison of PCM and LCM highlighting LCM's flaws in consistency, CFG tolerance, and low-step quality.

Methods

The core innovation is Phasing. Instead of forcing the model to learn a single giant leap from pure noise ($x_T$) to a clean image ($x_0$), PCMs divide the Probability Flow ODE trajectory into multiple segments (sub-trajectories).

Key technical components include:

  • Phased Trajectories: The model learns to map points within a specific "phase" to the start of that phase. This allows for deterministic multi-step refinement without the stochastic "drift" that plagues LCMs.
  • Exact Solution Parameterization: Unlike previous methods that used first-order approximations (like DDIM), PCMs use a parameterization derived from the exact solution of the ODE, leading to more stable learning.
  • Adversarial Consistency Loss: To boost 1-step quality, the authors introduce a GAN-style loss. Interestingly, they use the teacher diffusion model's own U-Net as the backbone for the discriminator, leveraging its pre-existing knowledge of the latent space.
  • CFG-Free Distillation: Because the phased approach is more robust, the authors found they could optionally remove CFG from the distillation training. This restores the model's sensitivity to negative prompts and allows users to use a wider range of CFG scales during inference.

Datasets

The researchers evaluated PCMs on several heavy-hitting benchmarks:

  • Image Generation: Trained on CC3M and evaluated on COCO-2014 (30K Karpathy split) and CC12M-30K. They used both Stable Diffusion v1.5 and Stable Diffusion XL (SDXL) as base models.
  • Video Generation: Trained on WebVid-2M and evaluated using UCF-101 captions, following the AnimateLCM framework.

Key Insights and Ideas

  • The "Divide and Conquer" Strategy: The most significant "aha moment" is that the "consistency" property shouldn't be global. By enforcing consistency only on sub-trajectories, the model maintains the structural integrity of the original diffusion path much better than LCMs.
  • Restoring Control: The paper reveals that LCMs' struggle with negative prompts was a side effect of how CFG was "baked into" the distillation process. By phasing the trajectory, PCMs stay closer to the real data distribution, making that baked-in CFG unnecessary and restoring user control.
  • The U-Net Discriminator: Using the teacher's U-Net as a discriminator is a brilliant "free lunch." It avoids the need to train a complex new discriminator from scratch and ensures the adversarial feedback is perfectly aligned with the latent space the model is already working in.

Key Results

PCMs demonstrate a clear "win" across the board:

  • Superior Quality: On COCO-30K (SD v1.5), PCM achieved a 1-step FID of 8.27, dwarfing LCM’s 53.43.
  • Step-Consistency: Unlike LCMs, which produce blurry results if the step count is "wrong," PCMs produce visually similar and high-quality images whether you use 1, 2, 4, 8, or 16 steps.
  • State-of-the-Art Video: PCMs enabled the creation of a few-step text-to-video generator that outperforms AnimateLCM in both motion smoothness and prompt alignment.
  • 1-Step Power: Even though they are designed for multi-step refinement, PCMs' 1-step results are competitive with models specifically (and only) designed for 1-step generation, like SDXL-Turbo.
Text-to-Image and Text-to-Video generation results using Phased Consistency Models across various step counts.

Limitations and Future Work

The authors acknowledge that at the absolute limit—1-step generation—the models can still be "unstable," occasionally producing structural artifacts or slight blurriness. They note that while multi-step refinement (2-4 steps) easily fixes this, perfecting the 1-step output remains a challenge.

Future work could involve exploring more sophisticated discriminator architectures or applying the "phased" logic to other generative architectures beyond U-Nets, such as Diffusion Transformers (DiTs).

Summary updated

BibTeX
@inproceedings{wang2024phased,
  author = {Fu-Yun Wang and Zhaoyang Huang and Alexander William Bergman and Dazhong Shen and Peng Gao and Michael Lingelbach and Keqiang Sun and Weikang Bian and Guanglu Song and Yu Liu and Xiaogang Wang and Hongsheng Li},
  title = {{Phased Consistency Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=mtBmKqyqGS},
}
Figure