[Paper Review] Rectified Flow: A Marginal Preserving Approach to Optimal Transport
This paper introduces a novel marginal-preserving flow-based method for optimal transport (OT) that iteratively minimizes a user-specified convex cost function $c$ while preserving the input distributions $\pi_0$ and $\pi_1$. By adapting rectified flow to target a single cost function, it formulates a monotonic interior optimization process via unconstrained regression on neural ODEs, ensuring convergence to the optimal coupling without constraint enforcement from outside.
We present a flow-based approach to the optimal transport (OT) problem between two continuous distributions $π_0,π_1$ on $\mathbb{R}^d$, of minimizing a transport cost $\mathbb{E}[c(X_1-X_0)]$ in the set of couplings $(X_0,X_1)$ whose marginal distributions on $X_0,X_1$ equals $π_0,π_1$, respectively, where $c$ is a cost function. Our method iteratively constructs a sequence of neural ordinary differentiable equations (ODE), each learned by solving a simple unconstrained regression problem, which monotonically reduce the transport cost while automatically preserving the marginal constraints. This yields a monotonic interior approach that traverses inside the set of valid couplings to decrease the transport cost, which distinguishes itself from most existing approaches that enforce the coupling constraints from the outside. The main idea of the method draws from rectified flow, a recent approach that simultaneously decreases the whole family of transport costs induced by convex functions $c$ (and is hence multi-objective in nature), but is not tailored to minimize a specific transport cost. Our method is a single-object variant of rectified flow that guarantees to solve the OT problem for a fixed, user-specified convex cost function $c$.
Motivation & Objective
- To address the challenge of enforcing infinite-dimensional marginal constraints in continuous optimal transport without relying on duality or regularization.
- To develop a monotonic interior optimization method that traverses within the feasible set of couplings to reduce transport cost.
- To adapt rectified flow—originally a multi-objective method—for single-objective OT with a fixed, user-specified cost function $c$.
- To enable data-driven optimal transport in high-dimensional continuous settings using a sequence of simple, unconstrained regression problems.
Proposed method
- The method constructs a sequence of neural ordinary differential equations (ODEs) that evolve a coupling $(X_0, X_1)$ over time $t \in [0,1]$ while preserving the marginal laws $\mathrm{Law}(X_0) = \pi_0$ and $\mathrm{Law}(X_1) = \pi_1$.
- At each step, the velocity field $v^X_t$ is learned via a least-squares regression to predict the displacement $X_1 - X_0$ along the linear interpolation path $X_t = tX_1 + (1-t)X_0$.
- The resulting ODE flow $\mathrm{d}Z_t = v^X_t(Z_t)\mathrm{d}t$ ensures that the marginal distributions remain unchanged throughout the transformation.
- The method is a variant of rectified flow that targets a specific cost function $c$, transforming the multi-objective problem into a single-objective one via a $c$-rectified flow procedure.
- The optimization is performed iteratively, with each step solving an unconstrained regression problem, enabling stable and monotonic decrease in the $c$-transport cost.
- Theoretical analysis shows that the method satisfies the KKT conditions of the OT problem, with the optimal mapping emerging as the gradient of a convex conjugate function.
Experimental results
Research questions
- RQ1Can a monotonic interior approach be constructed for continuous optimal transport that avoids external constraint enforcement?
- RQ2How can rectified flow be adapted to minimize a specific, user-defined convex cost function $c$ rather than all convex costs simultaneously?
- RQ3What is the convergence behavior and optimality gap of the iterative $c$-rectified flow procedure?
- RQ4How can error accumulation be mitigated during recursive application of the $c$-rectified flow in practice?
- RQ5In what sense does rectified flow solve a multi-objective variant of optimal transport, and when is single-objective OT with a fixed $c$ preferable?
Key findings
- The method achieves monotonic reduction of the $c$-transport cost through a sequence of unconstrained regression problems, ensuring convergence to the optimal coupling.
- The marginal constraints are preserved automatically via the ODE flow, eliminating the need for Lagrangian duality or entropic regularization.
- Theoretical analysis confirms that the method satisfies the KKT conditions of the OT problem, with the optimal mapping $v_t = \nabla c^*(\nabla \lambda_t)$ and $\dot{\lambda}_t + c^*(\nabla \lambda_t) = 0$.
- The method provides a practical alternative to minimax and regularization-based approaches, which suffer from instability and poor constraint enforcement.
- Error accumulation in iterative application can be mitigated by reweighting or matching the final $Z_1^k$ to the target $\pi_1$ using permutation or discrepancy minimization.
- The approach enables data-driven OT in high-dimensional continuous settings, with potential for linear-time adjustment steps to maintain marginal fidelity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.