Uncertainty as a Proxy for Semantic Correctness in Diffusion-Based Medical Image Synthesis
Organizations: Department of Engineering Science, University of Oxford, Oxford, United Kingdom · Nuffield Department of Surgical Sciences, University of Oxford, Oxford, United Kingdom
Abstract
Diffusion models can synthesise contrast-enhanced CT (CECT) from non-contrast CT (NCCT), avoiding contrast administration and its environmental and patient-access costs. However, visually realistic images are not necessarily anatomically correct, and the pixel-intensity and feature-space similarity metrics used to assess generation quality do not directly measure anatomical correctness. In this work, we investigate whether uncertainty can serve as a proxy for semantic correctness in diffusion-based medical image synthesis. We study NCCT-to-CECT synthesis using AortaDiff, a multitask diffusion framework that jointly generates CECT images and lumen segmentations. The segmentation output provides an explicit representation of the generated vascular anatomy, enabling segmentation-derived errors to be used as a quantitative measure of generation correctness. Six methods spanning weight (Ensemble, HyperDiff, BayesDiff), architecture-perturbation (MCDropout), generative-stochasticity (RDS) and input-perturbation (TTA) uncertainty are compared at the pixel, region and image levels, and for detection of clinically relevant out-of-distribution (OOD) cases. Uncertainty proves informative at all three spatial scales, remains informative on an external multi-centre dataset under distribution shift, and supports OOD detection. MCDropout stands out among the six: it ranks among the leading methods at every scale, generalizes well on the external dataset, and can be enabled at inference on any model already trained with dropout, so reliable uncertainty comes at no extra training cost. Uncertainty reliably flags severe failures but discriminates poorly among already high-quality images. These findings support uncertainty as a practical and computationally economical signal for quality filtering, reliability assessment and OOD detection in NCCT-to CECT synthesis.
Figures & tables
| Source | Method | Mechanism and configuration | Passes | Time (s) | Training overhead |
|---|---|---|---|---|---|
| Input perturbation | TTA | 400 augmented views (bounding-box expansion, rotation, isotropic scaling), inverse-warped to original coordinates | 400 | 42 | None |
| Generative stochasticity | RDS | Deterministic DDIM ( ) from 400 initial noise realizations | 400 | 42 | None |
| Architecture perturbation | MCDropout | Dropout in U-Net residual blocks; 20 seeds 20 trajectories | 400 | 44 | None |
| Weight | Ensemble | 4 independently trained models 100 samples | 400 | 44 | 4 models |
| HyperDiff | Bayesian hypernetwork generating denoiser weights; 20 weight sets 20 samples | 400 | 55 | Hypernetwork | |
| BayesDiff | Last-layer Laplace approximation (diagonal Hessian) on the final convolutional layer | 1 | 0.22 | Laplace fitting |
| Method | AUSE | AUSC | AUROC |
|---|---|---|---|
| TTA | 0.037 | 0.904 | 0.787 ± 0.094 |
| Ensemble | 0.063 | 0.878 | 0.689 ± 0.122 |
| RDS | 0.035 | 0.906 | 0.809 ± 0.094 |
| MCDropout | 0.028 | 0.911 | 0.830 ± 0.073 |
| HyperDiff | 0.049 | 0.890 | 0.815± 0.084 |
| BayesDiff | 0.170 | 0.771 | 0.493 ± 0.049 |
| Method | AUSE | AUSC | Spearman |
|---|---|---|---|
| MCDropout | 0.023 | 0.901 | 0.65 ± 0.19 |
| TTA | 0.028 | 0.897 | 0.56 ± 0.23 |
| RDS | 0.042 | 0.881 | 0.60 ± 0.20 |
| Ensemble | 0.041 | 0.882 | 0.44 ± 0.29 |
| HyperDiff | 0.021 | 0.899 | 0.64 ± 0.16 |
| BayesDiff | 0.160 | 0.764 | -0.24 ± 0.28 |
| Method | Mean | Max | P90 | MWA 7 |
|---|---|---|---|---|
| MCDropout | 0.77 | 0.83 | 0.81 | 0.82 |
| RDS | 0.79 | 0.84 | 0.79 | 0.85 |
| HyperDiff | 0.75 | 0.78 | 0.75 | 0.81 |
| TTA | 0.80 | 0.85 | 0.81 | 0.83 |
| BayesDiff | 0.48 | 0.82 | 0.53 | 0.72 |
| Ensemble | 0.78 | 0.81 | 0.79 | 0.80 |
Medical Image Synthesis
Medical image synthesis creates, translates, reconstructs, and edits clinical images to fill missing data and support analysis.
See all 310 papers