利用先前步骤:一种用于 Flow Diffusion 的免训练快速求解器
Leveraging Previous Steps: A Training-free Fast Solver for Flow Diffusion
AI总结:
针对 Flow Diffusion 模型 ODE 采样 NFE 高、速度慢的问题,本文提出免训练 flow-solver,通过缓存先前步骤并结合多项式插值计算 Taylor 高阶导数,在多个图像生成基准上显著降低 FID 并加速生成。
摘要:
Flow diffusion models(FDM,流扩散模型)近来因其较高的生成质量而在生成任务中展现出潜力。然而,当前用于 FDM 的常微分方程(ODE)求解器(例如 Euler 求解器)仍面临生成速度慢的问题,因为 ODE 求解器需要大量函数评估次数(NFE)才能保持高质量生成。本文提出一种新颖的免训练 flow-solver(流求解器),在保持高质量生成的同时降低 NFE。该 flow-solver 的关键洞见是利用先前步骤来减少 NFE,即通过建立缓存来复用这些先前步骤的结果。具体而言,首先使用 Taylor 展开来近似 ODE。为计算 Taylor 展开的高阶导数,flow-solver 提出利用先前步骤和多项式插值对其进行近似,其中可近似的阶数等于缓存的先前步骤数量。我们还证明了 flow-solver 具有更小的近似误差和更快的生成速度。在 CIFAR-10、CelebA-HQ、LSUN-Bedroom、LSUN-Church、ImageNet 以及真实文本到图像生成任务上的实验结果证明了 flow-solver 的效率。具体而言,在 CIFAR-10 和 LSUN-Church 上,当 NFE=10 时,flow-solver 将 FID-30K 分别从 13.79 改善到 6.75、从 46.64 改善到 19.49。
英文摘要:
Flow diffusion models (FDMs) have recently shown potential in generation tasks due to the high generation quality. However, the current ordinary differential equation (ODE) solver for FDMs, e.g., the Euler solver, still suffers from slow generation since ODE solvers need many number function evaluations (NFE) to keep high-quality generation. In this paper, we propose a novel training-free flow-solver to reduce NFE while maintaining high-quality generation. The key insight for the flow-solver is to leverage the previous steps to reduce the NFE, where a cache is created to reuse these results from the previous steps. Specifically, the Taylor expansion is first used to approximate the ODE. To calculate the high-order derivatives of Taylor expansion, the flow-solver proposes to use the previous steps and a polynomial interpolation to approximate it, where the number of orders we could approximate equals the number of previous steps we cached. We also prove that the flow-solver has a more minor approximation error and faster generation speed. Experimental results on the CIFAR-10, CelebA-HQ, LSUN-Bedroom, LSUN-Church, ImageNet, and real text-to-image generation prove the efficiency of the flow-solver. Specifically, the flow-solver improves the FID-30K from 13.79 to 6.75, from 46.64 to 19.49 with $\text{NFE}=10$ on CIFAR-10 and LSUN-Church, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。