Skip to main content
QUICK REVIEW

[Paper Review] JPEG Artifact Correction using Denoising Diffusion Restoration Models

Bahjat Kawar, Jiaming Song|arXiv (Cornell University)|Sep 23, 2022
Generative Adversarial Networks and Image SynthesisComputer Science16 citations
TL;DR

This paper proposes a problem-agnostic method for JPEG artifact correction using denoising diffusion restoration models (DDRM), generalizing the pseudo-inverse concept to non-linear operators like JPEG encoding/decoding. It achieves state-of-the-art performance across quality factors without retraining, outperforming specialized models on low-quality JPEGs and generalizing to dequantization.

ABSTRACT

Diffusion models can be used as learned priors for solving various inverse problems. However, most existing approaches are restricted to linear inverse problems, limiting their applicability to more general cases. In this paper, we build upon Denoising Diffusion Restoration Models (DDRM) and propose a method for solving some non-linear inverse problems. We leverage the pseudo-inverse operator used in DDRM and generalize this concept for other measurement operators, which allows us to use pre-trained unconditional diffusion models for applications such as JPEG artifact correction. We empirically demonstrate the effectiveness of our approach across various quality factors, attaining performance levels that are on par with state-of-the-art methods trained specifically for the JPEG restoration task.

Motivation & Objective

  • To address the limitation of existing diffusion models restricted to linear inverse problems in image restoration.
  • To enable problem-agnostic image restoration using pre-trained unconditional diffusion models for non-linear degradation models like JPEG.
  • To improve generalization across quality factors, especially low-quality JPEGs where specialized models fail.
  • To extend DDRM beyond linear operators by generalizing the pseudo-inverse concept to non-linear measurement operators such as JPEG encoding and decoding.
  • To demonstrate the method's effectiveness on JPEG artifact correction and image dequantization without task-specific fine-tuning.

Proposed method

  • Generalizes the pseudo-inverse operator in DDRM to non-linear measurement operators, treating JPEG encoding and decoding as a generalized inverse pair.
  • Adapts the DDRM update rule by replacing the linear operator and its pseudo-inverse with JPEG encoding and decoding functions.
  • Uses a pre-trained unconditional diffusion model with a denoising U-Net to iteratively refine reconstructions from noisy initializations.
  • Applies a hybrid update rule that combines denoising predictions with a reconstruction term based on the JPEG-decoded measurement.
  • Initializes sampling at an intermediate diffusion step (t=300) with noise-perturbed JPEG images to improve reconstruction fidelity.
  • Averages 8 independent samples per input to stabilize results and improve quantitative metrics.

Experimental results

Research questions

  • RQ1Can the pseudo-inverse concept in DDRM be generalized to non-linear inverse problems such as JPEG artifact correction?
  • RQ2Can a pre-trained unconditional diffusion model restore JPEG-compressed images across a wide range of quality factors without fine-tuning?
  • RQ3How does the method perform on low-quality JPEGs (e.g., QF=1–10) compared to state-of-the-art methods trained specifically for JPEG restoration?
  • RQ4Can the same framework be applied to other non-linear inverse problems like image dequantization?
  • RQ5Does the method generalize better than task-specific models in low-data or out-of-distribution settings?

Key findings

  • The method achieves PSNR and SSIM performance on par with a recent SOTA GAN-based method (QGAC) trained specifically for JPEG restoration.
  • It significantly outperforms simple JPEG decoding and generalizes effectively to low-quality factors (QF=1–10), where QGAC underperforms due to lack of training data.
  • The method generalizes seamlessly to image dequantization, demonstrating its applicability beyond JPEG restoration without retraining.
  • Averaged sampling (Ours (A)) improves reconstruction quality, with the averaged output achieving better metrics than the first sample.
  • The rate-distortion curve shows that the method maintains high performance across all quality factors, indicating robustness and consistency.
  • The approach enables high-fidelity image restoration using only a pre-trained unconditional diffusion model, without task-specific fine-tuning or hyperparameter tuning.

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.