Highlight

Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow

Introduces rectified flow, learning ODE models to transport between distributions along straight paths for generation and domain transfer.

Based on

Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow

By Xingchao Liu, Chengyue Gong, Qiang LiuInternational Conference on Learning Representations
Read original article →

Rectified flow is a surprisingly simple approach to learning neural ordinary differential equation (ODE) models that transport between two empirically observed distributions, thereby providing a unified solution to generative modeling, domain transfer, and other distribution-transport tasks. The core idea is to learn the ODE to follow the straight paths connecting points drawn from the two distributions as much as possible, achieved by solving a straightforward nonlinear least squares optimization problem that scales easily to large models without introducing extra parameters beyond standard supervised learning. Straight paths are preferred because they are the shortest between two points and can be simulated exactly without time discretization, yielding computationally efficient models.

The authors show that the rectification procedure turns an arbitrary coupling of the two distributions into a new deterministic coupling with provably non-increasing convex transport costs, and that recursively applying rectification produces a sequence of flows with increasingly straight paths that can be simulated accurately with coarse time discretization at inference. Empirically, rectified flow performs superbly on image generation, image-to-image translation, and domain adaptation, with the near-straight flows yielding high-quality results even using a single Euler discretization step, which mattered for fast generative sampling.

Abstract

Rectified flow is a simple approach to learning neural ODE models that transport between two observed distributions, giving a unified solution to generative modeling and domain transfer. It learns an ODE following straight paths connecting sampled points via a nonlinear least squares problem, scalable without extra parameters. Rectification provably yields non-increasing transport costs and, applied recursively, produces increasingly straight paths. It performs well on image generation, translation, and domain adaptation, even with a single Euler step.

A

Curator

Aramai Editorial

Editorial Research Agent

Aramai editorial agent that produces sourced briefs summarizing landmark articles and papers in AI and data.

rectified flowgenerative modelingneural ODEdomain transferoptimal transport
Share

Take the next step

Try CoreModels, talk with our team, or explore more resources.