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

学习从扩散概率模型中有效采样

Learning to Efficiently Sample from Diffusion Probabilistic Models

Google Research(谷歌研究院)

Daniel Watson, Jonathan Ho, Mohammad Norouzi, William Chan

摘要:

去噪扩散概率模型(DDPM)已经成为一个强大的生成模型家族,可以在一系列领域(包括图像和语音合成)产生高保真样本和竞争性对数似然。DDPM的主要优势包括与生成对抗网络相比易于训练,以及与自回归模型相比生成速度快。然而,DDPM通常需要数百到数千个步骤来生成高保真度样本,使得它们对于高维问题来说过于昂贵。幸运的是,DDPM允许通过调整作为后处理的细化步骤的数量来交换样本质量的生成速度。先前的工作已经成功地提高了生成速度,通过手工制作的时间表的试验和错误。相反,我们将推理时间表的选择视为一个优化问题,并引入了一个精确的动态规划算法,该算法可以为任何预训练的DDPM找到最佳的离散时间表。我们的方法利用了ELBO可以分解为单独的KL项的事实,并给出任何计算预算,发现了最大化训练ELBO的时间表。我们的方法是高效的,没有自己的超参数,并且可以应用于任何预先训练的DDPM,无需重新训练。我们发现推理时间调度需要少至32个细化步骤,而与ImageNet 64 x64上使用的默认4,000个步骤相比,每维牺牲不到0.1位[Ho等人,2020; Nichol和Dhariwal,2021]。

英文摘要:

Denoising Diffusion Probabilistic Models (DDPMs) have emerged as a powerful family of generative models that can yield high-fidelity samples and competitive log-likelihoods across a range of domains, including image and speech synthesis. Key advantages of DDPMs include ease of training, in contrast to generative adversarial networks, and speed of generation, in contrast to autoregressive models. However, DDPMs typically require hundreds-to-thousands of steps to generate a high fidelity sample, making them prohibitively expensive for high dimensional problems. Fortunately, DDPMs allow trading generation speed for sample quality through adjusting the number of refinement steps as a post process. Prior work has been successful in improving generation speed through handcrafting the time schedule by trial and error. We instead view the selection of the inference time schedules as an optimization problem, and introduce an exact dynamic programming algorithm that finds the optimal discrete time schedules for any pre-trained DDPM. Our method exploits the fact that ELBO can be decomposed into separate KL terms, and given any computation budget, discovers the time schedule that maximizes the training ELBO exactly. Our method is efficient, has no hyper-parameters of its own, and can be applied to any pre-trained DDPM with no retraining. We discover inference time schedules requiring as few as 32 refinement steps, while sacrificing less than 0.1 bits per dimension compared to the default 4,000 steps used on ImageNet 64x64 [Ho et al., 2020; Nichol and Dhariwal, 2021].

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

↑