Introduction
Diffusion models have set new benchmarks in image generation, yet their application to inverse problems—recovering a clean image $x$ from degraded measurements $y$ (e.g., blur, noise, or downsampling)—remains a significant challenge. The ideal approach is "zero-shot" recovery, which leverages large pre-trained models without task-specific retraining. This requires calculating the conditional posterior mean, or the model's best estimate of the clean image given a noisy state and the measurement.
Existing state-of-the-art methods like DPS, $\Pi$GDM, and DiffPIR rely on mathematical "shortcuts" to estimate this posterior. This research identifies a common limitation in these methods: they assume a simplified, hand-crafted model of uncertainty (isotropic Gaussian covariance). By replacing these heuristic approximations with a principled "optimal posterior covariance" derived via maximum likelihood estimation, the authors significantly enhance reconstruction quality across various tasks without manual hyperparameter tuning.
The Unified Framework and Optimal Covariance
The researchers demonstrate that most popular zero-shot methods can be viewed through a single lens: they approximate the intractable denoising posterior with a Gaussian distribution. The primary differentiator between these methods is their choice of variance ($r_t$). To move beyond these "hacks," the paper proposes three methods for finding the optimal covariance:
- The "Convert" Method: For models predicting "reverse variances" (like Improved DDPM), a closed-form formula transforms these into the posterior variances required for inverse problems.
- The "Analytic" Method: For models without built-in variance prediction, a Monte Carlo approach estimates the expected reconstruction error of the denoiser offline.
- DWT-Var: To capture spatial correlations without the prohibitive cost of a full covariance matrix, the model learns to predict variances in the Wavelet domain (Discrete Wavelet Transform).
Key Insights: Why Uncertainty Matters
A critical finding of this work is that many previous methods relied on tuning "step sizes" or "guidance scales" as proxies for missing optimal covariance. When the correct covariance is utilized, the need for these "magic numbers" is largely eliminated.
Furthermore, the authors observed that spatial variance is most impactful during the final stages of the diffusion process (low noise levels). At high noise levels, isotropic assumptions are often sufficient, but the fine details of an image are determined by the precision of the covariance in the "home stretch" of denoising.
Results and Performance
The proposed methods were evaluated on high-resolution benchmarks (FFHQ and ImageNet) across tasks including Random Inpainting, Gaussian Deblurring, Motion Deblurring, and $4\times$ Super-resolution.
- Quantitative Superiority: On FFHQ Inpainting, the "Convert" method achieved an LPIPS score of 0.0794, significantly outperforming DPS (0.1323) and $\Pi$GDM (0.1422).
- Stability: In deblurring tasks where previous methods often became unstable or produced artifacts, the optimal covariance approach remained robust, producing sharp edges and clean textures.
- Plug-and-Play Efficiency: By operating in the Wavelet domain, the model treats coefficients as independent, reducing computational complexity from $O(d^2)$ to $O(d)$ while maintaining structural correlations.
Conclusion and Future Directions
This work provides a mathematically grounded alternative to heuristic tuning in diffusion-based inverse problems. While the current approach assumes a diagonal covariance in the Wavelet domain, it represents a major step toward principled image restoration. Future work may extend these derivations to non-linear degradations (such as JPEG compression) and integrate these insights into Latent Diffusion Models (LDMs) like Stable Diffusion to scale these high-quality restoration capabilities further.
Summary updated