Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

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.

Siqi Kou, Lei Gan, Dequan Wang, Chongxuan Li, Zhijie Deng• 2023

Related benchmarks

TaskDatasetResultRank
Out-of-Distribution DetectionJUMP (Unseen Plates)
AUROC74.1
10
Out-of-Distribution DetectionJUMP (Unseen Cell Lines)
AUROC0.8561
10
Out-of-Distribution DetectionJUMP Intensity Shift
AUROC57.27
10
Out-of-Distribution DetectionBBBC021 Unseen Pert.
AUROC65.38
10
Out-of-Distribution DetectionBBBC021 Intensity Shift
AUROC0.6353
10
Uncertainty-based sample filteringSines
Gap-Closure (%)13.3654
6
Uncertainty-based sample filteringChirp
Gap-Closure0.4173
3
Showing 7 of 7 rows

Other info

Follow for update