MaRS:一种基于ODE和SDE求解器的均值回复扩散快速采样器
MaRS: A Fast Sampler for Mean Reverting Diffusion based on ODE and SDE Solvers
AI总结:
针对现有免训练快速采样器无法直接应用于均值回复(MR)扩散、其采样需大量函数评估的问题,提出MaRS算法,通过推导MR扩散相关方程的半解析解,实现免训练、少步骤的高质量采样,在十项图像恢复任务中提速10-20倍。
摘要:
在扩散模型的应用中,可控生成具有实际意义,但也颇具挑战性。当前的可控生成方法主要聚焦于修改扩散模型的得分函数,而均值回复(Mean Reverting,MR)扩散直接修改随机微分方程(SDE)的结构,使得图像条件的引入更简单自然。然而,现有的免训练快速采样器无法直接应用于MR扩散,因此MR扩散需要数百次函数评估次数(NFEs)才能生成高质量样本。本文提出了名为MaRS(MR采样器)的新算法,以减少MR扩散的采样NFEs。我们求解了与MR扩散相关的反向时间SDE和概率流常微分方程(PF-ODE),并推导得到半解析解。这些解由解析函数和一个由神经网络参数化的积分项组成。基于该解,我们能够以更少的步骤生成高质量样本。我们的方法无需训练,支持所有主流参数化方式,包括噪声预测、数据预测和速度预测。大量实验表明,在十种不同的图像恢复任务中,MR采样器在保持高采样质量的同时,速度提升了10至20倍。我们的算法加速了MR扩散的采样过程,使其在可控生成中更具实用性。
英文摘要:
In applications of diffusion models, controllable generation is of practical significance, but is also challenging. Current methods for controllable generation primarily focus on modifying the score function of diffusion models, while Mean Reverting (MR) Diffusion directly modifies the structure of the stochastic differential equation (SDE), making the incorporation of image conditions simpler and more natural. However, current training-free fast samplers are not directly applicable to MR Diffusion. And thus MR Diffusion requires hundreds of NFEs (number of function evaluations) to obtain high-quality samples. In this paper, we propose a new algorithm named MaRS (MR Sampler) to reduce the sampling NFEs of MR Diffusion. We solve the reverse-time SDE and the probability flow ordinary differential equation (PF-ODE) associated with MR Diffusion, and derive semi-analytical solutions. The solutions consist of an analytical function and an integral parameterized by a neural network. Based on this solution, we can generate high-quality samples in fewer steps. Our approach does not require training and supports all mainstream parameterizations, including noise prediction, data prediction and velocity prediction. Extensive experiments demonstrate that MR Sampler maintains high sampling quality with a speedup of 10 to 20 times across ten different image restoration tasks. Our algorithm accelerates the sampling procedure of MR Diffusion, making it more practical in controllable generation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。