BayesDiff: Estimating Pixel-wise Uncertainty in Diffusion via Bayesian Inference

Siqi Kou, Lei Gan, Dequan Wang, Chongxuan Li, Zhijie Deng
2/12/2026

No official code found. Best implementation: karrykkk/BayesDiff (32 stars, last commit 2024-05-17).

Abstract

Diffusion models have impressive image generation capability, but low-quality generations still exist, and their identification remains challenging due to the lack of a proper sample-wise metric. To address this, we propose BayesDiff, a pixel-wise uncertainty estimator for generations from diffusion models based on Bayesian inference. In particular, we derive a novel uncertainty iteration principle to characterize the uncertainty dynamics in diffusion, and leverage the last-layer Laplace approximation for efficient Bayesian inference. The estimated pixel-wise uncertainty can not only be aggregated into a sample-wise metric to filter out low-fidelity images but also aids in augmenting successful generations and rectifying artifacts in failed generations in text-to-image tasks. Extensive experiments demonstrate the efficacy of BayesDiff and its promise for practical applications.

View on arXivView PDF

Code Implementations(1)

karrykkk/BayesDiffCommunity100%
326Shell, PythonOct 12, 20232 years ago

Similar Papers

Cite this paper

@article{kou2026bayesdiff,
  title  = {BayesDiff: Estimating Pixel-wise Uncertainty in Diffusion via Bayesian Inference},
  author = {Siqi Kou and Lei Gan and Dequan Wang and Chongxuan Li and Zhijie Deng},
  year   = {2026},
  eprint = {2310.11142},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2310.11142},
  journal = {ICLR 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/2310.11142.svg)](https://codeofpaper.com/paper/2310.11142)

Discussion