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

对齐你的步骤:优化扩散模型中的采样调度

Align Your Steps: Optimizing Sampling Schedules in Diffusion Models

University of Toronto(多伦多大学);NVIDIA(英伟达);Vector Institute(向量研究院)

Amirmojtaba Sabour, Sanja Fidler, Karsten Kreis

AI总结:

本文提出了一种名为Align Your Steps的通用方法,通过随机 calculus 优化扩散模型的采样调度,在图像、视频及2D数据合成基准上,针对不同求解器和数据集找到最优调度,显著提升了少步合成质量并超越了手工启发式调度。

摘要:

扩散模型(DMs)已成为视觉领域及其他领域最先进的生成建模方法。DMs的一个关键缺点是采样速度慢,依赖于通过大型神经网络进行许多顺序函数评估。从DMs采样可以看作是通过一组离散化的噪声水平(称为采样调度)来求解微分方程。过去的工作主要集中在推导高效的求解器上,很少关注寻找最优采样调度,整个文献都依赖手工制作的启发式方法。在本工作中,我们首次提出了一种通用且有原则的方法来优化DMs的采样调度以获得高质量输出,称为$\ extit{Align Your Steps}$。我们利用随机 calculus 的方法,找到了针对不同求解器、训练好的DMs和数据集的特定最优调度。我们在几个图像、视频以及2D玩具数据合成基准上,使用各种不同的采样器评估了我们的新方法,并观察到我们优化的调度在几乎所有实验中都优于以前手工制作的调度。我们的方法展示了采样调度优化的未开发潜力,特别是在少步合成机制中。

英文摘要:

Diffusion models (DMs) have established themselves as the state-of-the-art generative modeling approach in the visual domain and beyond. A crucial drawback of DMs is their slow sampling speed, relying on many sequential function evaluations through large neural networks. Sampling from DMs can be seen as solving a differential equation through a discretized set of noise levels known as the sampling schedule. While past works primarily focused on deriving efficient solvers, little attention has been given to finding optimal sampling schedules, and the entire literature relies on hand-crafted heuristics. In this work, for the first time, we propose a general and principled approach to optimizing the sampling schedules of DMs for high-quality outputs, called $\textit{Align Your Steps}$. We leverage methods from stochastic calculus and find optimal schedules specific to different solvers, trained DMs and datasets. We evaluate our novel approach on several image, video as well as 2D toy data synthesis benchmarks, using a variety of different samplers, and observe that our optimized schedules outperform previous hand-crafted schedules in almost all experiments. Our method demonstrates the untapped potential of sampling schedule optimization, especially in the few-step synthesis regime.

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

↑