Abstract
Image restoration tasks such as denoising, inpainting, and super-resolution are inherently ill-posed, with multiple plausible solutions existing for a single degraded input. While standard models typically provide a single point estimate (e.g., the mean), they fail to capture the full posterior distribution. We present Projected Posterior Distribution Estimation (PPDE), a method utilizing conditional Energy-Based Models (EBMs) to visualize high-dimensional uncertainty in low-dimensional (2D) projections. PPDE is significantly faster than sampling-based methods and more accurate than Gaussian approximations, enabling interactive exploration of the solution space.
Introduction
In image restoration, there is rarely a unique "correct" answer. A blurry or occluded image can correspond to numerous sharp, high-resolution versions. Most current AI models output a Minimum Mean Square Error (MMSE) estimate, which often appears blurry because it averages across all possible sharp outcomes. Visualizing the full range of possibilities—the "maybe"—is crucial for high-stakes decision-making but remains a significant challenge due to the high dimensionality of image space.
The Challenge of High-Dimensional Uncertainty
When an image restoration problem is ill-posed, the posterior distribution $p(x|y)$ is a complex "cloud" in high-dimensional space. Existing visualization techniques have notable limitations:
- Point Estimators: Provide only an average, losing sharp details.
- Sampling: Generating many samples (e.g., via diffusion) is computationally expensive and difficult for humans to navigate.
- Heatmaps: Show per-pixel variance but ignore structural correlations.
- Slicing vs. Projection: Taking a 2D "slice" of a high-dimensional distribution often misses the probability mass entirely, as natural images reside on thin manifolds.
Methodology: Projected Posterior Distribution Estimation (PPDE)
The proposed PPDE method addresses these challenges by learning to project the high-dimensional posterior onto a low-dimensional subspace, typically defined by the principal components (PCs) of the uncertainty.
Subspace Selection and Projection
Instead of slicing, PPDE performs projection (integration over the remaining dimensions). This ensures that the 2D plot accurately reflects the total likelihood of solutions within that region. The subspace is spanned by the directions of maximum variance (PCs), where the most semantically meaningful variations occur (e.g., changing a digit's identity from a '3' to a '5').
Architecture and Training
PPDE employs a conditional Energy-Based Model (EBM) with a two-part architecture. A "heavy" feature extractor processes the distorted image once, while a "lightweight" MLP uses these features to query thousands of points in the 2D subspace almost instantly. The model is trained using Multilevel Contrastive Divergence (MCD), which improves the stability and accuracy of the learned density function.
Experimental Results
The researchers evaluated PPDE on datasets including MNIST, CelebA-HQ (faces), ImageNet, and biological microscopy.
Key findings include:
- Accuracy: PPDE achieved lower Negative Log-Likelihood (NLL) than Gaussian baselines and Kernel Density Estimation (KDE) on diffusion samples.
- Speed: The method is orders of magnitude faster than generating hundreds of samples from a diffusion-based posterior sampler.
- Multimodality: Qualitatively, PPDE successfully captures non-Gaussian behavior, such as distinct "islands" of probability representing different digit classes or facial features, which traditional methods fail to represent.
Conclusion and Future Work
PPDE provides a fast, accurate, and interactive way to visualize uncertainty in image restoration. By moving from point estimates to projected distributions, it allows users to navigate the "islands" of probability and understand the model's ambiguity. Future work will explore higher-dimensional representations and alternative subspace selection methods to capture even richer semantic variations.
Summary updated