arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.17423cs.LG
收藏

S4S:求解扩散模型求解器

S4S: Solving for a Diffusion Model Solver

University of Washington(华盛顿大学);Harvard University(哈佛大学);Allen Institute for AI(艾伦人工智能研究所)

Eric Frankel, Sitan Chen, Jerry Li, Pang Wei Koh, Lillian J. Ratliff, Sewoong Oh

AI总结:

提出S4S方法,通过匹配强教师求解器输出直接优化扩散模型求解器,无需数据且可黑盒集成,在少量NFE下显著提升生成质量,并扩展至S4S-Alt优化调度,实现性能大幅提升。

摘要:

扩散模型(DMs)通过从随机噪声开始,迭代求解一个反向时间常微分方程(ODE),从数据分布中生成样本。由于迭代求解中的每一步都需要昂贵的神经函数评估(NFE),因此在不修改底层模型的情况下,仅用少量NFE近似求解这些扩散ODE引起了广泛关注。然而,在少量NFE的机制下,我们观察到使用传统ODE求解器跟踪真实ODE演化从根本上是不可能的。在这项工作中,我们提出了一种新方法,为DM学习一个好的求解器,称之为“为求解器求解”(S4S)。S4S通过学习匹配强教师求解器的输出来直接优化求解器,以获得良好的生成质量。我们在六个不同的预训练DM上评估了S4S,包括像素空间和潜在空间的DM,用于条件采样和无条件采样。在所有设置中,S4S相对于传统ODE求解器一致地提高了样本质量。此外,我们的方法轻量级、无需数据,并且可以作为黑盒插件应用于任何离散化调度或架构之上以提高性能。在此基础上,我们还提出了S4S-Alt,它同时优化求解器和离散化调度。通过利用DM求解器的完整设计空间,在5次NFE下,我们在CIFAR10上实现了3.73的FID,在MS-COCO上实现了13.26的FID,相比之前无需训练的ODE方法,性能提升了1.5倍。

英文摘要:

Diffusion models (DMs) create samples from a data distribution by starting from random noise and iteratively solving a reverse-time ordinary differential equation (ODE). Because each step in the iterative solution requires an expensive neural function evaluation (NFE), there has been significant interest in approximately solving these diffusion ODEs with only a few NFEs without modifying the underlying model. However, in the few NFE regime, we observe that tracking the true ODE evolution is fundamentally impossible using traditional ODE solvers. In this work, we propose a new method that learns a good solver for the DM, which we call Solving for the Solver (S4S). S4S directly optimizes a solver to obtain good generation quality by learning to match the output of a strong teacher solver. We evaluate S4S on six different pre-trained DMs, including pixel-space and latent-space DMs for both conditional and unconditional sampling. In all settings, S4S uniformly improves the sample quality relative to traditional ODE solvers. Moreover, our method is lightweight, data-free, and can be plugged in black-box on top of any discretization schedule or architecture to improve performance. Building on top of this, we also propose S4S-Alt, which optimizes both the solver and the discretization schedule. By exploiting the full design space of DM solvers, with 5 NFEs, we achieve an FID of 3.73 on CIFAR10 and 13.26 on MS-COCO, representing a $1.5\times$ improvement over previous training-free ODE methods.

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

↑