TL;DR
Researchers have introduced sCM (simple, stable, and scalable Consistency Models), a framework that finally makes continuous-time consistency models stable at scale. By unifying diffusion formulations into a new "TrigFlow" framework and applying a suite of stabilization techniques, they successfully trained a 1.5-billion-parameter model. This model achieves near-state-of-the-art image quality on ImageNet $512\times512$ in just two sampling steps, drastically reducing the compute required for high-fidelity generation.
The Problem: The "Goldilocks" Dilemma of Consistency Models
Diffusion models (like Stable Diffusion or DALL-E) are the gold standard for generative AI, but they are notoriously slow, often requiring dozens or hundreds of iterative steps to generate a single image. Consistency Models (CMs) were proposed to solve this by learning a function that maps any point on a diffusion trajectory directly back to the origin (the clean image) in a single step.
However, CMs face a significant hurdle. Discrete-time CMs are stable but suffer from discretization errors and require complex hyperparameter tuning for their "time grids." Continuous-time CMs theoretically eliminate these errors but have historically been extremely unstable to train, often diverging or producing poor results. This paper identifies the root causes of this instability—specifically, how certain mathematical parameterizations cause gradients to "blow up"—and provides a rigorous engineering recipe to fix them.
Methods: The sCM Recipe
The authors introduce several key innovations to create sCM, stabilizing the continuous-time training process:
- TrigFlow: A simplified theoretical framework that unifies previous diffusion formulations (like EDM and Flow Matching). It uses trigonometric functions to define the noising process, making the underlying mathematics much cleaner and easier to analyze.
- Stabilization Recipe:
- Identity Time Transformation: They found that the standard EDM time transformation blows up as it approaches the maximum noise level. They replaced it with a simple identity mapping ($c_{noise}(t) = t$).
- Adaptive Double Normalization: They modified the standard Adaptive Group Normalization (AdaGN) to prevent the network's internal activations from diverging during the intense CM training process.
- Tangent Normalization & Warmup: Since CM training relies on the "tangent" of the ODE trajectory, which can be very noisy, they explicitly normalize these tangents and gradually "warm them up" during the start of training.
- Adaptive Weighting: Instead of manually tuning loss weights for different noise levels, they trained a small separate network to automatically learn the optimal weighting, minimizing the variance of the training signal.
- JVP Rearrangement: To scale to 1.5B parameters, they developed a memory-efficient way to compute Jacobian-Vector Products (JVPs) within Flash Attention, allowing them to train large models in FP16 precision without numerical overflows.
Key Insights and Ideas
The "Blow-up" Discovery The authors pinpointed that instability in previous models wasn't just "bad luck"—it was baked into the math. Specifically, the derivative of the time-conditioning function in the EDM framework approaches infinity as $t \to \pi/2$. Switching to a simpler identity transform removed this singularity, preventing the catastrophic gradient explosions that plagued earlier continuous-time models.
Continuous > Discrete The paper provides strong evidence that continuous-time models are fundamentally superior. While increasing the number of steps in a discrete model helps up to a point, it eventually fails due to numerical precision issues. Continuous-time sCMs bypass this entirely.
Scaling Laws for CMs This work demonstrates that CMs follow predictable scaling laws similar to LLMs. As you increase parameters and compute, the FID (Fréchet Inception Distance) improves consistently, narrowing the gap with slow diffusion models to within 10%.
Key Results
The sCM models achieve remarkable efficiency and quality, proving that few-step generation does not have to sacrifice fidelity.
- Speed: The 2-step sCM achieves sample quality comparable to the best diffusion models while using less than 10% of the effective sampling compute.
- FID Scores (2-step):
- CIFAR-10: 2.06
- ImageNet 64: 1.48
- ImageNet 512: 1.88
- Scale: The authors successfully trained an sCD-XXL model with 1.5 billion parameters, the largest consistency model to date.
- Diversity: Compared to other distillation methods like Variational Score Distillation (VSD), sCM produces much more diverse samples and handles high "guidance scales" (used to make images match prompts better) without crashing or producing artifacts.
Limitations and Future Work
- Latent Space Lag: While sCM excels in pixel space, the authors noted that Consistency Training (sCT)—training from scratch without a teacher—is still less effective in latent spaces (like ImageNet 512) compared to Consistency Distillation (sCD). They hypothesize the VAE encoder/decoder might be ill-conditioned for CM objectives.
- Artifacts: Despite the high FID scores, some generated images still exhibit minor artifacts that are common in few-step GANs or early diffusion models.
- Teacher Dependence: The best-performing models (sCD) still require a pre-trained "teacher" diffusion model to distill from, meaning they are limited by the quality of the original teacher.
Future work will likely focus on improving "from-scratch" training in latent spaces and further refining the architecture to eliminate remaining visual artifacts.
Summary updated