The Speed Limit of Diffusion Models
Diffusion models have revolutionized AI-generated art, but they come with a significant "speed limit." Generating a single image typically requires solving a complex Ordinary Differential Equation (ODE) over many iterative steps, which is computationally expensive and slow.
A popular solution, known as Rectified Flow, attempted to solve this by "straightening" the ODE path into a linear trajectory, allowing the model to jump from noise to image in fewer steps. However, previous research suggested this required specific, restrictive ingredients: a "flow-matching" formulation and "$v$-prediction" models. This created a barrier for many existing high-quality models (like the original Stable Diffusion) that use different mathematical setups.
The authors of this paper ask a fundamental question: Is "straightness" actually necessary for speed, or have we been focusing on the wrong target?
Rethinking Rectification: Methods and Insights
This paper challenges the prevailing wisdom that straightening ODE paths is the key to fast diffusion models. By demonstrating that the true power of rectification lies elsewhere, the authors introduce Rectified Diffusion—a generalized framework that achieves superior image quality and faster training speeds across various diffusion architectures without requiring complex model conversions.
The authors propose that Rectified Diffusion strips away the requirement for straight paths, relying instead on three main components:
- Matched Pair Retraining: Instead of training on random noise and random images, the authors use a pretrained model to generate specific images from specific noise samples. This creates a deterministic "noise-data pair." Retraining the model on these pairs is the actual "secret sauce" that enables fast sampling, not the geometry of the path.
- First-Order Approximate ODE Paths: They mathematically prove that the goal isn't a straight path, but a "first-order approximate" one. While flow-matching models have straight paths, other models like DDPM have inherently curved paths. Rectified Diffusion allows these curves to exist as long as they satisfy this first-order property.
- Phased and Distilled Variants:
- Rectified Diffusion (Phased): Divides the ODE path into segments to enforce local accuracy, significantly reducing training costs.
- Rectified Diffusion (CD): Integrates Consistency Distillation after the rectification process to further boost one-step generation performance.
Crucially, this method requires zero changes to the original model's architecture, noise schedulers, or prediction types (e.g., it works directly with standard $\epsilon$-prediction). Because they don't have to convert models between different mathematical forms, they avoid the error introduced by such conversions, leading to much faster convergence during training.
Key Results and Performance
The researchers validated their approach using widely recognized benchmarks (MS-COCO, Laion, CC3M) and human preference metrics (Pickscore, HPSv2, ImageReward). The results show massive efficiency and quality gains:
- Superior Efficiency: Rectified Diffusion achieved better 1-step performance than the leading baseline (InstaFlow) using only 8% of the training images.
- Drastic Cost Reduction: The total training cost for their distilled version was approximately 3% of the GPU days required by InstaFlow.
- Quantitative Gains: On COCO-2017, Rectified Diffusion (CD) achieved an FID of 22.83 in a single step, significantly outperforming Rectified Flow's 47.91.
- Qualitative Excellence: Human preference evaluations consistently favored Rectified Diffusion over existing rectified flow-based models across multiple metrics like aesthetic score and image reward.
Limitations and Future Work
While Rectified Diffusion significantly closes the gap in fast generation, the authors acknowledge that in the extreme "one-step" regime, it still slightly lags behind the absolute state-of-the-art specialized distillation or GAN-based methods (though Rectified Diffusion is much easier to train).
Future work could explore more sophisticated "phasing" strategies or investigate how this generalized rectification might apply to other modalities, such as video or audio generation, where ODE solving remains a major bottleneck.
Summary updated