TL;DR
Standard Plug-and-Play (PnP) image restoration algorithms suffer from oversmoothing because they rely on MMSE denoisers rather than the theoretically ideal MAP estimators. While directly targeting the MAP using diffusion model scores typically introduces unnatural "cartoonish" artifacts, ProxiMAP solves this by dynamically matching the iteration's residual noise to the denoiser's training distribution. This acts as a principled early-stopping mechanism, delivering significantly sharper, more realistic images at a fraction of the computational cost when deployed in a hybrid framework.
What Problem Does This Paper Address?
In imaging inverse problems—such as deblurring, super-resolution, and inpainting—the goal is to recover a clean image from a degraded, noisy measurement. Plug-and-Play (PnP) frameworks handle this by decoupling the physics of the degradation from the image prior, inserting an off-the-shelf deep learning denoiser directly into an optimization loop.
Theoretically, this framework requires a Maximum A Posteriori (MAP) denoiser to find the most probable clean image. In practice, however, deep denoisers are trained using Mean Squared Error (MSE) loss, meaning they approximate the Minimum Mean Squared Error (MMSE) estimator. This mismatch causes a well-known problem: "regression-to-the-mean" oversmoothing, where fine textures and sharp edges are washed away.
Recent attempts to fix this by using diffusion model scores to optimize directly for the MAP solution introduce a bizarre failure mode known as the cartoon effect. Instead of realistic details, full convergence yields flat colors, exaggerated edges, and artificial textures.
Methods
The authors introduce ProxiMAP, an iterative MAP approximation algorithm designed to bypass the cartoon effect through a single design principle: noise matching.
A learned denoiser's score estimates degrade rapidly when fed inputs that deviate from its training noise statistics. ProxiMAP mathematically links the optimization step size and the noise schedule so that, at every step, the residual noise in the current image estimate precisely matches the noise level expected by the denoiser. As the image estimate approaches the clean data manifold, the step size naturally shrinks. This provides an implicit early stopping mechanism, halting the optimization before it can drift into the artifact-heavy cartoon regime.
Fast ProxiMAP (The Hybrid Variant)
Because ProxiMAP requires an inner loop of iterative denoiser calls, replacing every standard MMSE call in a PnP algorithm increases the Number of Function Evaluations (NFEs) by a factor of 8. To solve this, the authors propose a hybrid variant called Fast ProxiMAP. It uses standard, computationally cheap MMSE denoisers during the early PnP iterations when noise is high and coarse approximations are sufficient. It then switches to ProxiMAP only during the final iterations for sharp, high-fidelity refinement.
Datasets
The authors evaluated their approach using pretrained diffusion and flow-matching models on three standard image datasets:
- MNIST: Used primarily for diagnostic and controlled baseline comparisons.
- FFHQ: A high-quality dataset of human faces ($256 \times 256$ resolution).
- ImageNet: The standard ILSVRC-2012 dataset ($256 \times 256$ resolution) used to test diverse, natural scenes.
The models were tested across six distinct restoration tasks: Gaussian blur, motion blur, $\times4$ super-resolution, random inpainting, high dynamic range (HDR) reconstruction, and phase retrieval.
Key Insights and Ideas
- The Cartoon Effect is an Approximation Error, Not an Algorithmic Failure: By running the same MAP optimization using a Gaussian Mixture Model (GMM) where exact scores are known analytically, the authors proved that the optimization itself is sound. The cartoon artifacts happen because implicit biases in diffusion model training displace the modes of the learned distribution away from the true data distribution.
- In-Distribution Consistency is Crucial: Forcing the denoiser to always operate on images that match its training noise distribution keeps its score estimates reliable, preventing the optimization trajectory from veering off-course.
- Late-Stage Sharpening Suffices: The success of Fast ProxiMAP reveals that perceptual sharpening is primarily a late-stage phenomenon in PnP optimization. Precise score matching isn't necessary when the image estimate is still far from the data manifold.
Key Results
ProxiMAP was integrated into three state-of-the-art PnP algorithms: DPIR, DiffPIR, and DAPS.
- Perceptual Superiority: Across nearly all tasks and datasets, ProxiMAP shifted the perception-distortion Pareto front toward the optimal corner, significantly improving perceptual quality (measured via LPIPS) while maintaining highly competitive pixel-level accuracy (PSNR).
- Efficiency Gains: On ImageNet motion deblurring using DiffPIR, the Fast ProxiMAP variant reduced the required NFEs from 160 down to just 27 (a minor overhead compared to the baseline's 20), while simultaneously improving PSNR from 24.3 dB to 25.2 dB and lowering LPIPS from 0.40 to 0.34.
- Visual Quality: Visually, ProxiMAP successfully recovers fine textures, hair strands, and sharp boundaries that standard MMSE-based PnP methods smooth out.
Limitations and Future Work
A primary limitation is that ProxiMAP does not converge to a mathematically well-defined fixed point; its performance relies heavily on its specific step-size and noise schedule. Furthermore, because it relies on pretrained diffusion models, the reconstructions inherit any implicit data biases present in those models.
The authors note that this reliance on visual plausibility makes the current iteration less suitable for safety-critical applications like medical imaging. They suggest that future work should focus on training generative priors explicitly designed to align their high-density regions with the true data manifold, potentially enabling true MAP convergence without artifacts.
Summary updated