Introduction
Image restoration tasks, such as deblurring, inpainting, and super-resolution, are fundamentally "ill-posed" inverse problems. Because multiple high-quality images can correspond to a single degraded observation, solving these problems requires strong "priors"—mathematical models of what natural images look like. While traditional methods relied on handcrafted priors, modern "Plug-and-Play" (PnP) frameworks replace these with deep neural networks. However, most PnP methods provide only a single deterministic "point estimate," failing to quantify the uncertainty inherent in the restoration process.
This paper introduces the Plug-and-Play Split Gibbs Sampler (PnP-SGS), a novel Bayesian framework that embeds pre-trained Denoising Diffusion Probabilistic Models (DDPMs) as stochastic priors. By doing so, PnP-SGS enables both high-fidelity image restoration and rigorous uncertainty quantification.
Methodology: The PnP-SGS Framework
The core of PnP-SGS lies in bridging the gap between Markov Chain Monte Carlo (MCMC) sampling and deep generative models.
Variable Splitting and Gibbs Sampling
The algorithm employs a "divide-and-conquer" strategy by splitting the posterior sampling task into two alternating steps:
- Data-Fidelity Step: Ensures the sampled image remains consistent with the observed, degraded data.
- Denoising Step: Ensures the image adheres to the learned natural image prior.
Diffusion as a Stochastic Denoiser
Unlike standard PnP methods that use deterministic denoisers, PnP-SGS "plugs in" a pre-trained DDPM. Instead of generating an image from pure noise, the model treats the current iteration's image as a noisy observation. It then runs the diffusion process backward for a limited number of steps ($t^*$) to produce a cleaned sample. An automated strategy adaptively sets $t^*$ based on the estimated noise level at each iteration, enhancing robustness.
Experimental Setup
The researchers evaluated PnP-SGS on two high-resolution benchmarks: FFHQ (1,000 face images) and ImageNet (1,000 diverse images), both at 256×256 resolution. The framework was tested against three challenging tasks:
- Inpainting: Recovering images with 80% missing pixels.
- Deblurring: Handling both Gaussian and motion blur.
- Super-resolution: 4x upscaling.
Key Results and Performance
PnP-SGS demonstrates state-of-the-art (SOTA) performance across a wide range of metrics, including PSNR, SSIM, and perceptual measures like FID and LPIPS.
As shown in the tables, PnP-SGS often outperforms existing diffusion-based models such as DDRM, MCG, and DPS. On the ImageNet dataset, it maintains high fidelity even in complex, diverse scenes.
Uncertainty Quantification and Efficiency
A significant advantage of PnP-SGS over deterministic methods is its ability to generate a collection of samples rather than a single image. This allows for the calculation of pixel-wise credibility intervals, providing heatmaps that highlight areas of high uncertainty, such as fine textures or complex edges.
While Bayesian samplers are traditionally slow, PnP-SGS utilizes "warm-starting"—beginning the diffusion process from a partially noisy image. This makes it significantly faster than other diffusion-based restoration techniques. For instance, in inpainting tasks, PnP-SGS was found to be more than twice as fast as Score-SDE (13.8s vs 36.7s).
Conclusion and Future Work
PnP-SGS represents a significant step forward in integrating deep generative models into Bayesian inference. It provides a flexible, efficient, and high-performing solution for inverse problems while offering the critical benefit of uncertainty quantification. Future research aims to address the theoretical convergence properties of using deep denoisers within stochastic samplers and further automate hyperparameter tuning.
Summary updated