Introduction
Standard diffusion models, such as Denoising Diffusion Probabilistic Models (DDPM), are computationally expensive during inference, often requiring hundreds of steps to solve complex Ordinary Differential Equations (ODEs). A prominent acceleration technique, Rectified Flow, aims to "straighten" these ODE paths to enable one-step generation. However, this approach often necessitates specific architectural constraints, such as flow-matching formulations and $v$-prediction, which limit its applicability to existing pretrained models like Stable Diffusion. This paper challenges the assumption that "straightness" is the primary driver of performance, proposing Rectified Diffusion as a more flexible and efficient alternative.
Methodology: Beyond Straight Paths
Rectified Diffusion generalizes the concept of "rectification" by focusing on the deterministic coupling of noise and data rather than geometric straightness. The approach consists of three main pillars:
General Rectification
The core innovation lies in using a pretrained "teacher" model to generate a paired dataset of noise ($\epsilon$) and corresponding samples ($\hat{x}_0$). By retraining the model on these deterministic pairs, it learns a simplified mapping. Unlike Rectified Flow, this method is compatible with various diffusion forms (e.g., DDPM, EDM, Sub-VP) without requiring changes to the noise scheduler or prediction type.
Phased ODE Segmentation and Consistency Distillation
To accommodate curved ODE paths inherent in models like DDPM, the authors introduce Phased ODE Segmentation. This technique divides the trajectory into segments, enforcing first-order linearity within each to improve few-step accuracy. Furthermore, the "rectified" paths are more amenable to Consistency Distillation (CD), significantly accelerating the distillation process because the path is already closer to a first-order solution.
Experimental Results
The researchers evaluated Rectified Diffusion on benchmarks including COCO-2017 and Pick-a-pic, using Stable Diffusion v1-5 and SDXL as base models.
Efficiency and Quality
Rectified Diffusion demonstrates remarkable efficiency. It outperformed the InstaFlow baseline in 1-step generation while requiring only 8% of the training data. On COCO-2017, it achieved a 2-step FID of 22.98, a substantial improvement over Rectified Flow's 31.35.
Human Preference and Scaling
In human preference evaluations using metrics like Pickscore and HPSv2, Rectified Diffusion consistently surpassed previous methods in 1, 2, and 4-step regimes. The method also scales effectively to high-resolution models like SDXL, producing high-quality images in just 4 steps that surpass the quality of previous segment-based methods like PeRFlow.
Conclusion: The "Straightness" Myth
The findings suggest that the efficiency of rectified models stems from data pairing and first-order consistency rather than the geometric straightness of the ODE path. By embracing the "natural" curved paths of existing diffusion models, Rectified Diffusion offers a lower-cost, higher-performance path to fast image generation, reducing training costs from 75.2 A100 GPU days to just 20 A800 GPU days. While it still slightly lags behind specialized GAN-based methods in the extreme 1-step regime, it represents a significant step forward in making high-quality diffusion generation accessible and efficient.
Summary updated