arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.16387stat.MLcs.LG
收藏

反向转移核:加速扩散推断的灵活框架

Reverse Transition Kernel: A Flexible Framework to Accelerate Diffusion Inference

Hong Kong University of Science and Technology(香港科技大学);The University of Hong Kong(香港大学);University of California San Diego(加州大学圣迭戈分校);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Xunpeng Huang, Difan Zou, Hanze Dong, Yi Zhang, Yi-An Ma, Tong Zhang

AI总结:

本文提出反向转移核(RTK)框架,将扩散推断分解为强对数凹子问题,并利用MALA和ULD算法加速采样,实现更优的收敛速率。.

摘要:

为了从训练好的扩散模型中生成数据,大多数推断算法,如DDPM、DDIM及其他变体,依赖于对反向随机微分方程(SDEs)或其等价常微分方程(ODEs)进行离散化。在本文中,我们将这类方法视为将整个去噪扩散过程分解为若干段,每一段对应一个反向转移核(RTK)采样子问题。具体而言,DDPM使用RTK的高斯近似,导致每个子问题的复杂度较低,但需要大量段(即子问题),这被推测为效率低下。为解决这一问题,我们开发了一个通用的RTK框架,能够实现更均衡的子问题分解,从而产生$\tilde O(1)$个子问题,每个子问题具有强对数凹目标。然后,我们提出利用两种快速采样算法——Metropolis调整Langevin算法(MALA)和欠阻尼Langevin动力学(ULD)——来解决这些强对数凹子问题。这产生了用于扩散推断的RTK-MALA和RTK-ULD算法。在理论上,我们进一步发展了RTK-MALA和RTK-ULD在总变差(TV)距离下的收敛保证:RTK-ULD在温和条件下可在$\tilde{\mathcal O}(d^{1/2}ε^{-1})$内达到$ε$目标误差,而RTK-MALA在稍严格条件下享有$\mathcal{O}(d^{2}\log(d/ε))$的收敛速率。这些理论结果超越了扩散推断的最先进收敛速率,并得到了数值实验的有力支持。

英文摘要:

To generate data from trained diffusion models, most inference algorithms, such as DDPM, DDIM, and other variants, rely on discretizing the reverse SDEs or their equivalent ODEs. In this paper, we view such approaches as decomposing the entire denoising diffusion process into several segments, each corresponding to a reverse transition kernel (RTK) sampling subproblem. Specifically, DDPM uses a Gaussian approximation for the RTK, resulting in low per-subproblem complexity but requiring a large number of segments (i.e., subproblems), which is conjectured to be inefficient. To address this, we develop a general RTK framework that enables a more balanced subproblem decomposition, resulting in $\tilde O(1)$ subproblems, each with strongly log-concave targets. We then propose leveraging two fast sampling algorithms, the Metropolis-Adjusted Langevin Algorithm (MALA) and Underdamped Langevin Dynamics (ULD), for solving these strongly log-concave subproblems. This gives rise to the RTK-MALA and RTK-ULD algorithms for diffusion inference. In theory, we further develop the convergence guarantees for RTK-MALA and RTK-ULD in total variation (TV) distance: RTK-ULD can achieve $ε$ target error within $\tilde{\mathcal O}(d^{1/2}ε^{-1})$ under mild conditions, and RTK-MALA enjoys a $\mathcal{O}(d^{2}\log(d/ε))$ convergence rate under slightly stricter conditions. These theoretical results surpass the state-of-the-art convergence rates for diffusion inference and are well supported by numerical experiments.

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

↑