Rectified flow is an ODE-based generative modeling framework that learns a velocity field transporting samples from a source distribution to a target distribution along straight paths. Given a coupling , the velocity is trained by minimizing where is the linear interpolation. The optimal velocity is , a pure conditional target-pulling velocity.

The rectified flow ODE produces a deterministic coupling with provably non-increasing convex transport costs — simultaneously for all convex cost functions, via Jensen’s inequality. The non-crossing property of ODE trajectories forces the flow to “rewire” intersecting interpolation paths, creating a deterministic transport from a stochastic coupling.

Rectified flow connects deeply to random bridges: the conditional expectation drift of a Lévy random bridge has the identical form to the optimal rectified flow velocity (Shelley & Mengütürk 2025). In fact, rectified flow is the zero-volatility limit of the Gaussian random bridge, and for any Lévy driving process.

Probability flow ODEs and DDIM are special cases of a generalized nonlinear rectified flow framework with non-linear interpolation choices, but these produce curved paths that cannot be straightened by reflow.

Key Details

  • Training loss =
  • Optimal
  • Non-crossing property creates deterministic coupling
  • 1-RF achieves FID 2.58 on CIFAR-10
  • PF-ODEs and DDIM are special cases
  • Zero-volatility limit of Gaussian random bridge

Textbook References

Optimal Transport Old and New (Villani, 2009)

  • Example 7.2 (pp. 127-128): The fundamental straightness argument — for strictly convex in , Jensen forces constant-velocity straight lines. The OT displacement interpolation paths are the fixed point that reflow converges toward
  • Theorem 7.30(iv) (p. 151): Non-crossing of OT paths at intermediate times. This is the continuous analogue of the non-crossing property of ODE flows that rectified flow exploits
  • Corollary 7.22 (pp. 139-140): Displacement interpolation geodesic in , confirming that the OT coupling gives (perfect straightness)

concept