We present rectified flow, a surprisingly simple approach to learning (neural) ordinary differential equation (ODE) models to transport between two empirically observed distributions π_0 and π_1, hence providing a unified solution to generative modeling and domain transfer, among various other tasks involving distribution transport. The idea of rectified flow is to learn the ODE to follow the straight paths connecting the points drawn from π_0 and π_1 as much as possible. This is achieved by solving a straightforward nonlinear least squares optimization problem, which can be easily scaled to large models without introducing extra parameters beyond standard supervised learning. The straight paths are special and preferred because they are the shortest paths between two points, and can be simulated exactly without time discretization and hence yield computationally efficient models. We show that the procedure of learning a rectified flow from data, called rectification, turns an arbitrary coupling of π_0 and π_1 to a new deterministic coupling with provably non-increasing convex transport costs. In addition, recursively applying rectification allows us to obtain a sequence of flows with increasingly straight paths, which can be simulated accurately with coarse time discretization in the inference phase. In empirical studies, we show that rectified flow performs superbly on image generation, image-to-image translation, and domain adaptation. In particular, on image generation and translation, our method yields nearly straight flows that give high quality results even with a single Euler discretization step.
University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);University of Washington(华盛顿大学);Westlake University(西湖大学);University of Science and Technology of China(中国科学技术大学);The Hong Kong University of Science and Technology(香港科技大学);KTH Royal Institute of Technology(瑞典皇家理工学院)
Optimal Flow Matching: Learning Straight Trajectories in Just One Step
Skolkovo Institute of Science and Technology(斯科尔科沃科学技术研究院);Innopolis University(因诺波利斯大学);Moscow Institute of Physics and Technology(莫斯科物理技术学院);Steklov Mathematical Institute of RAS(俄罗斯科学院斯捷克洛夫数学研究所);Artificial Intelligence Research Institute(人工智能研究院)
Fractional ridge regression: a fast, interpretable reparameterization of ridge regression
The University of Washington eScience Institute(华盛顿大学电子科学研究所);University of Washington(华盛顿大学);Center for Magnetic Resonance Research(磁共振研究中心);University of Minnesota(明尼苏达大学)