arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.06169cs.LGcs.CV
收藏

阐明扩散模型扩展逆时SDE的解空间

Elucidating the solution space of extended reverse-time SDE for diffusion models

Tsinghua University(清华大学);Zhejiang University of Science and Technology(浙江科技学院)

Qinpeng Cui, Xinyi Zhang, Qiqi Bao, Qingmin Liao

AI总结:

本文提出扩展逆时SDE统一ODE与SDE采样,理论分析解空间,设计ER-SDE-Solvers采样器,在ImageNet上以20次函数评估达到8.33 FID,兼顾速度与质量。

摘要:

从扩散模型中采样可视为求解微分方程,其中存在速度与图像视觉质量之间的平衡挑战。基于ODE的采样器提供快速采样时间但达到性能极限,而基于SDE的采样器实现更优质量,但迭代时间更长。在本工作中,我们将采样过程表述为扩展逆时SDE(ER SDE),统一了先前对ODE和SDE的探索。理论上,利用ER SDE解的半线性结构,我们分别对VP SDE和VE SDE提供精确解和近似解。基于ER SDE的近似解空间(称为一步预测误差),我们获得数学洞见,阐明ODE求解器的快速采样能力和SDE求解器的高质量采样能力。此外,我们揭示VP SDE求解器与VE SDE对应求解器性能相当。基于这些发现,利用ODE求解器和SDE求解器的双重优势,我们设计了高效高质量采样器,即ER-SDE-Solvers。实验结果表明,ER-SDE-Solvers在所有随机采样器中达到最先进性能,同时保持确定性采样器的效率。具体而言,在ImageNet $128\times128$数据集上,ER-SDE-Solvers仅用20次函数评估即获得8.33 FID。代码可在\href{https://github.com/QinpengCui/ER-SDE-Solver}{https://github.com/QinpengCui/ER-SDE-Solver}获取。

英文摘要:

Sampling from Diffusion Models can alternatively be seen as solving differential equations, where there is a challenge in balancing speed and image visual quality. ODE-based samplers offer rapid sampling time but reach a performance limit, whereas SDE-based samplers achieve superior quality, albeit with longer iterations. In this work, we formulate the sampling process as an Extended Reverse-Time SDE (ER SDE), unifying prior explorations into ODEs and SDEs. Theoretically, leveraging the semi-linear structure of ER SDE solutions, we offer exact solutions and approximate solutions for VP SDE and VE SDE, respectively. Based on the approximate solution space of the ER SDE, referred to as one-step prediction errors, we yield mathematical insights elucidating the rapid sampling capability of ODE solvers and the high-quality sampling ability of SDE solvers. Additionally, we unveil that VP SDE solvers stand on par with their VE SDE counterparts. Based on these findings, leveraging the dual advantages of ODE solvers and SDE solvers, we devise efficient high-quality samplers, namely ER-SDE-Solvers. Experimental results demonstrate that ER-SDE-Solvers achieve state-of-the-art performance across all stochastic samplers while maintaining efficiency of deterministic samplers. Specifically, on the ImageNet $128\times128$ dataset, ER-SDE-Solvers obtain 8.33 FID in only 20 function evaluations. Code is available at \href{https://github.com/QinpengCui/ER-SDE-Solver}{https://github.com/QinpengCui/ER-SDE-Solver}

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

↑