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

UniPC:用于扩散模型快速采样的统一预测-校正框架

UniPC: A Unified Predictor-Corrector Framework for Fast Sampling of Diffusion Models

Tsinghua University(清华大学)

Wenliang Zhao, Lujia Bai, Yongming Rao, Jie Zhou, Jiwen Lu

AI总结:

本文提出UniPC统一预测-校正框架,通过结合UniP和UniC提高扩散模型采样精度,在极少步数下显著提升采样质量,并在CIFAR10和ImageNet上实现低FID。

摘要:

扩散概率模型(DPMs)在高分辨率图像合成中展现出了非常有前景的能力。然而,由于需要对去噪网络进行多次评估,从预训练的DPM中采样非常耗时,这使得加速DPM的采样变得越来越重要。尽管在快速采样器设计方面最近取得了进展,但在许多偏好较少步数(例如,<10)的应用中,现有方法仍然无法生成令人满意的图像。在本文中,我们开发了一个统一的校正器(UniC),它可以应用于任何现有的DPM采样器之后,在不增加模型评估的情况下提高精度阶数,并推导出一个支持任意阶数的统一预测器(UniP)作为副产品。结合UniP和UniC,我们提出了一个统一的预测-校正框架,称为UniPC,用于DPM的快速采样,该框架对任意阶数具有统一的分析形式,并且可以显著提高采样质量,尤其是在极少数步数的情况下。我们通过大量实验评估了我们的方法,包括使用像素空间和潜在空间DPM的无条件和条件采样。我们的UniPC在CIFAR10(无条件)上仅用10次函数评估即可达到3.87 FID,在ImageNet 256×256(条件)上达到7.51 FID。代码可在https://github.com/wl-zhao/UniPC获取。

英文摘要:

Diffusion probabilistic models (DPMs) have demonstrated a very promising ability in high-resolution image synthesis. However, sampling from a pre-trained DPM is time-consuming due to the multiple evaluations of the denoising network, making it more and more important to accelerate the sampling of DPMs. Despite recent progress in designing fast samplers, existing methods still cannot generate satisfying images in many applications where fewer steps (e.g., $<$10) are favored. In this paper, we develop a unified corrector (UniC) that can be applied after any existing DPM sampler to increase the order of accuracy without extra model evaluations, and derive a unified predictor (UniP) that supports arbitrary order as a byproduct. Combining UniP and UniC, we propose a unified predictor-corrector framework called UniPC for the fast sampling of DPMs, which has a unified analytical form for any order and can significantly improve the sampling quality over previous methods, especially in extremely few steps. We evaluate our methods through extensive experiments including both unconditional and conditional sampling using pixel-space and latent-space DPMs. Our UniPC can achieve 3.87 FID on CIFAR10 (unconditional) and 7.51 FID on ImageNet 256$\times$256 (conditional) with only 10 function evaluations. Code is available at https://github.com/wl-zhao/UniPC.

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

↑