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

Wenliang Zhao, Lujia Bai, Yongming Rao, Jie Zhou, Jiwen Lu
2/12/2026

No official code found. Best implementation: wl-zhao/UniPC (357 stars, MIT, last commit 2023-09-22).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

wl-zhao/UniPCCommunity74%
MIT

[NeurIPS 2023] UniPC: A Unified Predictor-Corrector Framework for Fast Sampling of Diffusion Models

35716C++, CudaJan 24, 20233 years agoMIT

Similar Papers

Cite this paper

@article{zhao2026unipc,
  title  = {UniPC: A Unified Predictor-Corrector Framework for Fast Sampling of Diffusion Models},
  author = {Wenliang Zhao and Lujia Bai and Yongming Rao and Jie Zhou and Jiwen Lu},
  year   = {2026},
  eprint = {2302.04867},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2302.04867},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.04867.svg)](https://codeofpaper.com/paper/2302.04867)

Discussion