Phased Consistency Model

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

Abstract

Diffusion models achieve high-quality generation but suffer from slow inference. While Consistency Models (CMs) and Latent Consistency Models (LCMs) aim to accelerate this via distillation, they often struggle with poor controllability, inconsistent multi-step sampling, and low-step quality. We present Phased Consistency Models (PCMs), which partition the generation trajectory into discrete "phases." This approach enables high-fidelity, deterministic image and video generation in 1–4 steps, maintaining compatibility with high guidance scales and negative prompts.

Introduction

Diffusion models are the current state-of-the-art for generative AI but are computationally expensive due to their iterative nature. Distillation methods like Latent Consistency Models (LCMs) attempt to map multi-step trajectories into a single-step mapping. However, LCMs exhibit three major flaws:

  1. Inconsistency: Stochastic sampling leads to different results for the same seed across different step counts.
  2. Poor Controllability: High Classifier-Free Guidance (CFG) scales cause "exposure" artifacts, and models often ignore negative prompts.
  3. Low-Step Quality: Standard losses (L2/Huber) fail to produce sharp details in 1-2 steps.

Phased Consistency Models (PCMs) address these by introducing a phased trajectory approach, allowing for deterministic multi-step refinement and improved training stability.

Overview of PCM performance in text-to-image and text-to-video generation across various inference steps.

Methodology

The core of PCM is Phased Consistency Distillation. Instead of a global mapping, the Probability Flow ODE (PF-ODE) trajectory is divided into $M$ sub-trajectories or "phases."

Phased Trajectory and Deterministic Sampling

The model learns to map points within a specific phase to the start of that sub-trajectory. This enables deterministic multi-step sampling ($x_T \to x_{s_{M-1}} \to \dots \to x_0$) without the stochastic error accumulation seen in standard CMs. This phasing acts as a regularizer, reducing the distribution gap between the teacher and student models at each step.

Adversarial Consistency Loss

To combat the blurriness typical of low-step regimes, PCMs utilize a GAN-style adversarial loss. Unlike pixel-based discriminators, PCMs employ a latent-based discriminator leveraging the teacher's U-Net backbone. This provides a richer, aligned supervision signal that preserves high-level structure more effectively.

CFG and Controllability

By phasing the trajectory, PCMs can utilize a standard ODE solver during distillation rather than a CFG-augmented one. This prevents the "exposure problem"—where images appear over-sharpened at high guidance—and restores sensitivity to negative prompts during inference.

Comparison of PCM and LCM highlighting consistency across steps, CFG scale robustness, and the impact of loss terms.

Experiments and Results

PCMs were trained on CC3M and WebVid-2M and evaluated on benchmarks like COCO-2014 and UCF-101.

Image Generation

PCMs consistently outperform LCMs and Consistency Trajectory Models (CTMs). On COCO-30K with SD v1-5, PCM achieved an FID of 8.27 at 1-step, a significant improvement over LCM's 53.43. Human preference metrics (HPSv2, PickScore) indicate that PCMs match or exceed specialized 1-step models like SD-Turbo while benefiting from additional refinement steps.

Video Generation

Applied to video via the AnimateLCM framework, PCMs achieve state-of-the-art results for few-step text-to-video. They demonstrate superior temporal consistency and motion magnitude compared to previous distillation methods.

Discussion

The phased approach serves as a stabilizer. By breaking the distillation task into smaller chunks, training becomes more robust. Furthermore, the latent discriminator proves superior for high-resolution models like SDXL, where pixel-space discriminators often fail to capture fine details.

Conclusion and Future Work

Phased Consistency Models provide a robust framework for fast diffusion inference. While 1-step generation can still occasionally produce artifacts, the 2–4 step range offers high-fidelity results through multi-step refinement. Future work includes scaling to larger foundation models and exploring more advanced discriminator architectures.

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 Hongsheng Li and Xiaogang Wang},
  title = {{Phased Consistency Model}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=mtBmKqyqGS},
}
Figure