Classifier-free Guidance (CFG) lets practitioners trade-off fidelity against diversity in Diffusion Models (DMs). The practicality of CFG is however hindered by DMs sampling cost. On the other hand, Consistency Models (CMs) generate images in one or a few steps, but existing guidance methods require knowledge distillation from a separate DM teacher, limiting CFG to Consistency Distillation (CD) methods. We propose Joint Flow Distribution Learning (JFDL), a lightweight alignment method enabling guidance in a pre-trained CM. With a pre-trained CM as an ordinary differential equation (ODE) solver, we verify with normality tests that the variance-exploding noise implied by the velocity fields from unconditional and conditional distributions is Gaussian. In practice, JFDL equips CMs with the familiar adjustable guidance knob, yielding guided images with similar characteristics to CFG. Applied to an original Consistency Trained (CT) CM that could only do conditional sampling, JFDL unlocks guided generation and reduces FID on both CIFAR-10 and ImageNet 64x64 datasets. This is the first time that CMs are able to receive effective guidance post-hoc without a DM teacher, thus, bridging a key gap in current methods for CMs.
Figures & tables
Figure 1: Comparison of class v.s. ∅ -conditioned ODE solutions and their marginal distributions. Each row corresponds to a different 2-D toy dataset, spiral , circle , Gaussian blob . We choose three different time steps, σt=0.002,0.207,23.771 (from left to right), and compare the distribution of a hybrid flow p(y0∅,t) ( left ) with the class distribution p(x0c∣c) ( right ) separated by dotted lines. In Prop. 1 , we state that the marginal of the two are the same.
Figure 2: Normality of pseudo-noise across timesteps. Heat-maps show pass (green) or fail (red) at α=0.05 for (top) Shapiro–Wilk, (middle) Anderson–Darling, and (bottom) Kolmogorov–Smirnov tests. Rows correspond to the four datasets, spiral, circle, Gaussian blob, CIFAR-10 . With only a handful of isolated rejections, as well as extremely low SNR ratio, the pseudo-noise is effectively Gaussian at almost every t , supporting the normality assumption.
Figure 3: Preliminary results tuning LJFDL only. CIFAR-10 samples from Naive JFDL ( top left ) v.s. Random JFDL ( bottom left ). FID w.r.t. ω plot ( right ) reflects the stronger guidance effect from Random JFDL compared to Naive, causing the FID to diverge faster.
Method
CIFAR-10
ImageNet 64×64
1-step FID
2-step FID
1-step FID
2-step FID
ECT (baseline)
3.40
1.92
5.84
3.72
ECT + Naive JFDL
3.29 ( ω =1.05)
2.18 ( ω =1.55)
4.38 ( ω =1.80)
3.17 ( ω =1.40)
ECT + Random JFDL
3.24 ( ω =1.15)
2.06 ( ω =1.05)
4.68 ( ω =1.80)
3.32 ( ω =1.20)
Table 1: Results on CIFAR-10 and ImageNet 64x64. We train ECT first on a budget of 25.6M images, then tune it with Naive/Random JFDL on a budget of 1.92M images. The table shows the gains of FID posthoc compared to an unguided CM, with ω denoting the lowest recorded FID.
Figure 4: FID to guidance strength progression. The red dotted line is the FID of the initial unguided ECT, the orange curve and blue curve represents the FID progression w.r.t ω for Naive and Random JFDL respectively.
Figure 5: ImageNet 64x64 sample results. The classes shown are "hotdog" and "jay", generated by ECT + Naive JFDL. Rows are guidance strength. Columns are sampling steps.
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 6: Three synthetic 2D toy distributions used for normality verification experiments, spiral (left), circle (middle), and Gaussian blob (right). We train a DM that learns the class and ∅ -class ODE. We use the DM as an ODE solver to reconstruct the pseudo-noise ( 10 ) for any t, and test whether the pseudo-noise passes the normality test.
Classifier-free guidance (CFG) improves conditional generation in Flow Matching, but strong guidance can distort the generated distribution and reduce diversity. We provide a geometric account of this behavior by viewing Flow Matching as a time-varying gradient flow and characterizing how CFG reshapes its underlying potential. This view explains how stronger alignment can be accompanied by mean displacement and trajectory concentration, and motivates controlling guidance through the model-implied terminal posterior mean. We therefore propose Posterior-Mean-Capped CFG (PMC-CFG), a training-free, per-sample method that adaptively retains the strongest feasible guidance without additional network evaluations. Experiments on synthetic and large-scale image-generation benchmarks show that PMC-CFG limits guidance-induced distortion and concentration while improving the alignment--diversity trade-off, with particularly strong benefits when nominal guidance is large.
Jishen Peng, Zheng Ma
School of Mathematical Sciences, Shanghai Jiao Tong University, Shanghai, China · Institute of Natural Sciences, MOE-LSC, Shanghai Jiao Tong University, Shanghai, China · Qing Yuan Research Institute, Shanghai Jiao Tong University, Shanghai, China +1
The slow iterative sampling nature remains a major bottleneck for the practical deployment of diffusion and flow-based generative models. While consistency models (CMs) represent a state-of-the-art distillation-based approach for efficient generation, their large-scale application is still limited by two key issues: training instability and inflexible sampling. Existing methods seek to mitigate these problems through architectural adjustments or regularized objectives, yet overlook the critical reliance on trajectory selection. In this work, we first conduct an analysis on these two limitations: training instability originates from loss divergence induced by unstable self-supervised term, whereas sampling inflexibility arises from error accumulation. Based on these insights and analysis, we propose the Dual-End Consistency Model (DE-CM) that selects vital sub-trajectory clusters to achieve stable and effective training. DE-CM decomposes the PF-ODE trajectory and selects three critical sub-trajectories as optimization targets. Specifically, our approach leverages continuous-time CMs objectives to achieve few-step distillation and utilizes flow matching as a boundary regularizer to stabilize the training process. Furthermore, we propose a novel noise-to-noisy (N2N) mapping that can map noise to any point, thereby alleviating the error accumulation in the first step. Extensive experimental results show the effectiveness of our method: it achieves a state-of-the-art FID score of 1.70 in one-step generation on the ImageNet 256x256 dataset, outperforming existing CM-based one-step approaches.
Linwei Dong, Ruoyu Guo, Ge Bai +3
1Zhejiang University · 2Bytedance Inc. · 3Zhejiang Lab
Flow and diffusion models suffer from slow inference due to computationally expensive numerical integration. Distillation provides a promising way for a student model to learn from a teacher's dynamics, enabling one-step or few-step generation. However, existing methods often depend on curated distillation datasets, costly teacher rollouts, or auxiliary proxy networks, which complicate model training and scaling. In this work, we propose Consistent Distribution Matching, a simulation-free and data-free distillation method for accelerating diffusion and flow models while preserving strong generative capacity. Our key insight is to unify sample generation and score estimation with one student network. Thus, our framework uses only two models, a frozen teacher and a trainable student, and optimizes one objective. We prove that minimizing our objective indicates Wasserstein convergence of the student flow-map pushforwards to the teacher marginals. On ImageNet 256×256, our method attains an FID of 2.04 with a single function evaluation (1-NFE) and a 4-NFE FID of 1.37 within 40 epochs of training, surpassing the state-of-the-art distillation baselines without data. Our code code and model are available at https://consistentdmd.github.io/.
Yuxiang Fu, Qi Yan, Zike Wu +4
University of British Columbia · Vector Institute for AI · Canada CIFAR AI Chair