arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2209.03003cs.LG
收藏

直接而快速的流程:学习使用Rectified Flow生成和传输数据

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

University of Texas at Austin(德克萨斯大学奥斯汀分校)

Xingchao Liu, Chengyue Gong, Qiang Liu

摘要:

我们提出了整流,一个令人惊讶的简单方法来学习(神经)常微分方程(ODE)模型,以在两个经验观察到的分布π_0和π_1之间传输,从而提供了一个统一的解决方案,生成建模和域转移,以及其他各种涉及分布传输的任务。整流流的思想是学习常微分方程,使其尽可能地遵循连接从π_0和π_1所画的点的直线路径。这是通过解决一个简单的非线性最小二乘优化问题来实现的,该问题可以很容易地扩展到大型模型,而无需在标准监督学习之外引入额外的参数。直线路径是特殊的和优选的,因为它们是两点之间的最短路径,并且可以在没有时间离散化的情况下精确地模拟,因此产生计算效率高的模型。我们证明了从数据中学习整流流的过程,称为整流,将π_0和π_1的任意耦合变成一个新的确定性耦合,具有可证明不增加的凸传输成本。此外,递归地应用整流允许我们获得具有越来越直的路径的流的序列,这可以在推理阶段中通过粗略的时间离散化来精确地模拟。在实证研究中,我们表明,整流流表现出色的图像生成,图像到图像的翻译,和领域自适应。特别是,在图像生成和翻译方面,我们的方法产生了几乎直线的流,即使使用单个欧拉离散化步骤也能提供高质量的结果。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑