On the Relation between Rectified Flows and Optimal Transport

Johannes Hertrich, A. Chambolle, Julie Delon
5/1/2025
diffusion-flow

No confident code implementation found for this paper.

Abstract

This paper investigates the connections between rectified flows, flow matching, and optimal transport. Flow matching is a recent approach to learning generative models by estimating velocity fields that guide transformations from a source to a target distribution.

Show full abstract

Rectified flow matching aims to straighten the learned transport paths, yielding more direct flows between distributions. Our first contribution is a set of invariance properties of rectified flows and explicit velocity fields. In addition, we also provide explicit constructions and analysis in the Gaussian (not necessarily independent) and Gaussian mixture settings and study the relation to optimal transport. Our second contribution addresses recent claims suggesting that rectified flows, when constrained such that the learned velocity field is a gradient, can yield (asymptotically) solutions to optimal transport problems. We study the existence of solutions for this problem and demonstrate that they only relate to optimal transport under assumptions that are significantly stronger than those previously acknowledged. In particular, we present several counterexamples that invalidate earlier equivalence results in the literature, and we argue that enforcing a gradient constraint on rectified flows is, in general, not a reliable method for computing optimal transport maps.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hertrich2025relation,
  title  = {On the Relation between Rectified Flows and Optimal Transport},
  author = {Johannes Hertrich and A. Chambolle and Julie Delon},
  year   = {2025},
  eprint = {2505.19712},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.19712},
  url    = {https://doi.org/10.48550/arXiv.2505.19712},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.19712.svg)](https://codeofpaper.com/paper/2505.19712)

Discussion