Flow-Anchored Consistency Models

Yansong Peng, Kai Zhu, Yu Liu, Pingyu Wu, Hebei Li, Xiaoyan Sun, Feng Wu · DOI

Introduction

Generative AI faces a significant efficiency challenge: while Diffusion and Flow Matching models produce high-quality imagery, they typically require dozens or hundreds of sampling iterations (steps) to generate a single image. Consistency Models (CMs) were introduced to address this by learning a "shortcut" that maps noise directly to data in just one or two steps.

However, training continuous-time CMs is notoriously unstable, often leading to "training collapse" where gradients explode or image quality degrades. This instability stems from the model attempting to learn a destination (the data) without a stable understanding of the journey (the probability flow). Flow-Anchored Consistency Models (FACM) solve this by "anchoring" the model to its underlying probability flow, enabling stable training and state-of-the-art few-step generation that scales to massive 14B parameter models.

Methodology

FACM introduces two primary innovations to stabilize and scale consistency training:

1. Flow-Anchoring via Expanded Time Intervals

To prevent the model from "forgetting" the underlying path it is trying to shortcut, the authors force the model to simultaneously learn the "instantaneous velocity" (Flow Matching, or FM) alongside the shortcut objective. This is achieved by doubling the time domain to decouple the tasks:

  • Shortcut Task: When the time input $t$ is in $[0, 1]$, the model learns to jump directly to the data manifold.
  • Anchoring Task: When the time input is mapped to $[1, 2]$ (specifically using $2-t$), the model performs Flow Matching to learn the local trajectory.
The auxiliary time condition anchors the Consistency Model (CM) to the Flow Matching (FM) trajectory, ensuring the shortcut remains aligned with the true probability flow.

This "Flow-Anchoring" ensures that the model's internal gradient field remains well-behaved, preventing the self-referential training loops that typically cause collapse in standard CMs.

2. Chain-JVP for Scalability

Training CMs requires computing a Jacobian-Vector Product (JVP), which is traditionally memory-intensive. Standard implementations require loading entire model parameters onto a single GPU, hindering the use of Fully Sharded Data Parallel (FSDP) for models larger than ~1B parameters. The authors developed Chain-JVP, a memory-efficient algorithm that computes the derivative sequentially, module-by-module. This breakthrough allowed the team to train a 14B parameter model without exceeding hardware memory limits.

Experimental Results

The researchers evaluated FACM across standard benchmarks and a massive-scale Text-to-Image (T2I) model:

  • ImageNet 256×256: FACM achieved a state-of-the-art FID of 1.70 in one step (NFE=1) and 1.32 in two steps (NFE=2), outperforming previous methods like MeanFlow and sCM.
  • Wan 2.2 (14B parameters): By distilling this large-scale model, FACM reduced inference requirements from 80 steps down to just 2–8 steps while maintaining high image quality and text alignment.
  • Efficiency: On an A100 GPU, the 2-step FACM sampler generates an image in approximately 70ms, representing a 100x speedup over a standard 250-step Euler sampler.
Qualitative results across various Number of Function Evaluations (NFE). FACM maintains high fidelity and complex detail even in ultra-few-step regimes (NFE=1, 2) across diverse artistic and realistic prompts.

Discussion and Future Work

FACM demonstrates that the instability in Consistency Models is not an inherent flaw in the objective, but a consequence of training in isolation. By re-introducing Flow Matching as a dynamic anchor, the model achieves a smooth transition between learning the flow and learning the shortcut.

While FACM sets new benchmarks for 1-2 step generation, a small quality gap remains when compared to 8-step generation on the largest models. Future work may focus on closing this "ultra-few-step" gap and extending the FACM framework to Text-to-Video (T2V) synthesis, where the computational benefits of few-step generation would be even more transformative.

Summary updated

BibTeX
@inproceedings{peng2026flow,
  author = {Yansong Peng and Kai Zhu and Yu Liu and Pingyu Wu and Hebei Li and Xiaoyan Sun and Feng Wu},
  title = {{Flow-Anchored Consistency Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=k9BpW1c4in},
}
Figure