Abstract
Pre-trained diffusion models are commonly used to generate clean data (e.g., images) from random noises, effectively forming pairs of noises and corresponding clean images. Distillation on these pre-trained models can be viewed as the process of constructing advanced trajectories within the pair to accelerate sampling. For instance, consistency model distillation develops consistent projection functions to regulate trajectories, although sampling efficiency remains a concern. Rectified flow method enforces straight trajectories to enable faster sampling, yet relies on numerical ODE solvers, which may introduce approximation errors. In this work, we bridge the gap between the consistency model and the rectified flow method by proposing a Straight Consistent Trajectory (SCoT) model. SCoT enjoys the benefits of both approaches for fast sampling, producing trajectories with consistent and straight properties simultaneously. These dual properties are strategically balanced by targeting two critical objectives: (1) regulating the gradient of SCoT's mapping to a constant, (2) ensuring trajectory consistency. Extensive experimental results demonstrate the effectiveness and efficiency of SCoT.
Introduction: The Speed Bottleneck in Diffusion
Standard diffusion models generate high-fidelity data by iteratively removing noise over hundreds of steps. To mitigate this computational cost, distillation techniques have emerged to teach "student" models to skip steps. Currently, two primary paradigms dominate trajectory-based distillation:
- Consistency Models (CM): These ensure that any point along a denoising path maps to the same final image. However, the underlying trajectories are often highly curved, making them difficult for neural networks to learn accurately in few steps.
- Rectified Flows (RF): These force trajectories to be straight lines (constant velocity). While easier to traverse, they still rely on numerical ODE solvers (e.g., Euler or Heun). Large steps with these solvers introduce approximation errors that degrade image quality.
SCoT (Straight-Consistent Trajectories) bridges this gap by creating trajectories that are both straight and consistent, enabling high-quality 1-step generation without the need for ODE solvers.
The Evolution of Distillation Trajectories
Visual comparison of generation trajectories: (a) Reflow, (b) CTM, (c) ShortCut, and (d) the proposed SCoT method. Source, p. 2
As shown in the comparison above, traditional methods like CTM (Consistency Trajectory Models) deal with complex, curved paths. By contrast, SCoT enforces a straight-consistent property. This synergy makes the consistency mapping simpler for the network to learn while bypassing the error-prone nature of ODE solvers used in Rectified Flow methods.
Methodology: Straightness and Consistency
SCoT learns a projection function that maps a noisy image at time $t$ to a future time $s$. The model is trained using a dual-objective loss function:
- Velocity Guarantee (Straightness): SCoT regularizes the gradient of its mapping function to match the constant difference between initial noise and final data. This "straightens" the path. Unlike RF, which learns velocity and requires integration, SCoT learns the trajectory directly using velocity as a penalty.
- Consistency Guarantee: Borrowing from CTM, SCoT applies a soft-consistency loss to ensure that projections from different points on the same trajectory yield the same result.
To maintain training stability against second-order derivative calculations, the authors implement a "Normalized Velocity Loss" clipping strategy. This prevents gradient explosions while enforcing the constant velocity constraint.
Key Results and Insights
SCoT achieves state-of-the-art performance for non-adversarial distillation methods on standard benchmarks:
- CIFAR-10: SCoT achieved a Fréchet Inception Distance (FID) of 2.40 in 1 step and 2.30 in 2 steps, outperforming standard Consistency Distillation (FID 2.93 at 2 steps).
- ImageNet (64x64): SCoT reached an FID of 4.80 in 1 step and 2.60 in 2 steps. In comparison, standard Consistency Distillation scores 6.20 at 2 steps.
A crucial insight from the ablation studies is that adding the velocity (straightness) guarantee dropped the 1-step FID on ImageNet from 14.7 to 4.8. This confirms that straightening the trajectory is the key to unlocking efficient 1-step consistency models. Furthermore, SCoT achieves these results without unstable adversarial (GAN) training, offering a more robust distillation path.
Conclusion
SCoT successfully unifies the benefits of Consistency Models and Rectified Flows. By enforcing straight-consistent trajectories, it enables high-quality, 1-step image generation that is both mathematically grounded and computationally efficient. Future work will focus on scaling SCoT to high-resolution synthesis and conditional generation tasks.
Summary updated