arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.19075cs.LGcs.AIcs.CV
收藏

面向生成流模型的定制求解器

Bespoke Solvers for Generative Flow Models

Weizmann Institute of Science(魏茨曼科学研究所);Meta

Neta Shaul, Juan Perez, Ricky T. Q. Chen, Ali Thabet, Albert Pumarola, Yaron Lipman

AI总结:

本文提出Bespoke solvers框架,为预训练流模型定制参数高效的ODE求解器,以极低训练成本和少量NFE显著提升生成质量,在CIFAR10和ImageNet-64上接近真实数据FID。

摘要:

扩散或基于流的模型是强大的生成范式,但众所周知难以采样,因为样本被定义为高维常微分方程或随机微分方程(ODE/SDE)的解,需要大量函数评估次数(NFE)才能良好近似。现有缓解昂贵采样过程的方法包括模型蒸馏和设计专用ODE求解器。然而,蒸馏训练成本高,有时会降低质量,而专用求解器仍需要相对较大的NFE才能生成高质量样本。在本文中,我们引入“Bespoke solvers”,这是一个新颖框架,用于构建针对给定预训练流模型的ODE量身定制的自定义ODE求解器。我们的方法优化了一个阶数一致且参数高效的求解器(例如,具有80个可学习参数),训练所需的GPU时间约为训练预训练模型所需时间的1%,与专用求解器相比,显著提高了近似和生成质量。例如,针对CIFAR10模型的Bespoke求解器在10 NFE下生成的样本Fréchet Inception Distance(FID)为2.73,并且仅用20 NFE就达到该模型Ground Truth(GT)FID(2.59)的1%以内。在更具挑战性的ImageNet-64×64上,Bespoke在10 NFE下达到2.2 FID,并在20 NFE下达到GT FID(1.71)的2%以内。

英文摘要:

Diffusion or flow-based models are powerful generative paradigms that are notoriously hard to sample as samples are defined as solutions to high-dimensional Ordinary or Stochastic Differential Equations (ODEs/SDEs) which require a large Number of Function Evaluations (NFE) to approximate well. Existing methods to alleviate the costly sampling process include model distillation and designing dedicated ODE solvers. However, distillation is costly to train and sometimes can deteriorate quality, while dedicated solvers still require relatively large NFE to produce high quality samples. In this paper we introduce "Bespoke solvers", a novel framework for constructing custom ODE solvers tailored to the ODE of a given pre-trained flow model. Our approach optimizes an order consistent and parameter-efficient solver (e.g., with 80 learnable parameters), is trained for roughly 1% of the GPU time required for training the pre-trained model, and significantly improves approximation and generation quality compared to dedicated solvers. For example, a Bespoke solver for a CIFAR10 model produces samples with Fréchet Inception Distance (FID) of 2.73 with 10 NFE, and gets to 1% of the Ground Truth (GT) FID (2.59) for this model with only 20 NFE. On the more challenging ImageNet-64$\times$64, Bespoke samples at 2.2 FID with 10 NFE, and gets within 2% of GT FID (1.71) with 20 NFE.

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

↑