Skip to main content
QUICK REVIEW

[Paper Review] Denoising Diffusion Models for Plug-and-Play Image Restoration

Yuanzhi Zhu, Kai Zhang|arXiv (Cornell University)|May 15, 2023
Advanced Image Processing TechniquesComputer Science9 citations
TL;DR

DiffPIR integrates diffusion models as a plug-and-play denoising prior into HQS-based image restoration, achieving state-of-the-art results with efficient sampling (≤100 NFEs) across super-resolution, deblurring, and inpainting.

ABSTRACT

Plug-and-play Image Restoration (IR) has been widely recognized as a flexible and interpretable method for solving various inverse problems by utilizing any off-the-shelf denoiser as the implicit image prior. However, most existing methods focus on discriminative Gaussian denoisers. Although diffusion models have shown impressive performance for high-quality image synthesis, their potential to serve as a generative denoiser prior to the plug-and-play IR methods remains to be further explored. While several other attempts have been made to adopt diffusion models for image restoration, they either fail to achieve satisfactory results or typically require an unacceptable number of Neural Function Evaluations (NFEs) during inference. This paper proposes DiffPIR, which integrates the traditional plug-and-play method into the diffusion sampling framework. Compared to plug-and-play IR methods that rely on discriminative Gaussian denoisers, DiffPIR is expected to inherit the generative ability of diffusion models. Experimental results on three representative IR tasks, including super-resolution, image deblurring, and inpainting, demonstrate that DiffPIR achieves state-of-the-art performance on both the FFHQ and ImageNet datasets in terms of reconstruction faithfulness and perceptual quality with no more than 100 NFEs. The source code is available at {\url{https://github.com/yuanzhi-zhu/DiffPIR}}

Motivation & Objective

  • Motivate and enable flexible plug-and-play image restoration using generative diffusion priors instead of discriminative Gaussian denoisers.
  • Decouple data fidelity and prior terms via HQS to allow diffusion-based priors in a general degradation framework.
  • Develop an efficient diffusion-based sampling method that incorporates measurements at each reverse diffusion step.
  • Demonstrate state-of-the-art reconstruction faithfulness and perceptual quality on FFHQ and ImageNet for multiple IR tasks.
  • Provide analysis and ablations showing the efficiency and diversity of DiffPIR reconstructions.

Proposed method

  • Use HQS to split the optimization into a prior-distance denoising subproblem and a data-consistency proximal subproblem.
  • Treat the diffusion model as a generative denoiser prior and solve the prior subproblem as z_k ≈ x_k + ((1−ᾱ_t)/ᾱ_t) s_θ(x_t,t) where s_θ is the score network.
  • Solve the data proximal subproblem by an analytical or first-order proximal solution to obtain x̂_0^(t) that satisfies the degradation model H(x) and measurement y.
  • Incorporate the measurement y inside the DDIM-style reverse diffusion step to produce x_{t−1} from x_t using x̂_0^(t)(y) and a corrected noise term.
  • Introduce a noise-balance hyperparameter ζ to modulate the injected noise during sampling, enabling a controllable trade-off between fidelity and diversity.
  • Provide a closed-form-like sampling update that blends the estimated x̂_0^(t)(y) with predicted noise ε̂ and fresh Gaussian noise to complete each reverse step.

Experimental results

Research questions

  • RQ1Can diffusion models serve as effective plug-and-play denoisers within HQS for general image restoration tasks?
  • RQ2Does integrating measurements into diffusion steps (via DDIM-style updates) enable fast, faithful, and perceptually high-quality restorations across SR, deblurring, and inpainting?
  • RQ3How does DiffPIR compare to existing diffusion-based and discriminative denoiser plug-and-play methods in PSNR, FID, and LPIPS on standard datasets?
  • RQ4What is the impact of NFEs and initialization strategies on restoration quality and diversity of reconstructions?
  • RQ5Can a training-free, pre-trained diffusion model generalize as a versatile IR prior for multiple degradation operators H?

Key findings

  • DiffPIR achieves superior perceptual quality (lower LPIPS, lower FID) and competitive PSNR across FFHQ and ImageNet for Gaussian and motion deblurring as well as 4× SR.
  • Using ≤100 NFEs, DiffPIR outperforms several diffusion-based and plug-and-play priors on multiple tasks and datasets.
  • DiffPIR produces diverse and semantically aligned reconstructions, especially evident in inpainting with large masks.
  • In noiseless settings, DiffPIR with 100 NFEs outperforms competitors in FID and LPIPS, while even with 20 NFEs it remains competitive.
  • The method supports fast sampling via DDIM-based updates and can start from partially noised states to reduce NFEs without quality loss.
  • Analyses show that a balance parameter ζ controls diversity and fidelity during sampling, enabling controllable restoration outcomes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.