Learning Generic Diffusion Processes for Image Restoration

Peng Qiao, Yong Dou, Yunjin Chen, WenSen Feng

Introduction

Image restoration, the process of recovering a clean image from a degraded version (e.g., noisy or blurry), typically involves a trade-off between flexibility and performance. Generative models offer high flexibility by learning a general image prior but are often computationally expensive. Conversely, discriminative models like Trainable Non-linear Reaction Diffusion (TNRD) provide state-of-the-art speed and quality but are "brittle"—they are typically optimized for a specific noise level, requiring dozens of separate models to cover a practical range of degradations.

This paper introduces genericDP, a diffusion-based framework that bridges this gap. By forcing multiple noise-specific models to share a single learned diffusion term, the authors create a robust image prior that maintains the speed of discriminative methods while gaining the flexibility of generative ones.

Methodology: The genericDP Framework

The authors build upon the TNRD architecture, which decomposes the restoration process into a series of iterative stages. Each stage consists of two primary components:

  1. Diffusion Term: Acts as a regularizer, capturing the model's internal knowledge of natural image structures, textures, and edges.
  2. Reaction Term: Ensures data fidelity by keeping the output consistent with the observed noisy input.

The core innovation of genericDP is the training of a single model where multiple noise levels share the exact same diffusion term. While the diffusion term (the prior) is universal, each noise level retains its own specific reaction term.

The architecture of the proposed genericDP model, highlighting the shared diffusion term and noise-specific reaction terms across multiple stages.

The model is trained end-to-end using a supervised approach with the L-BFGS optimization algorithm. A key advantage of this shared-prior approach is a 50x reduction in training time compared to training individual specialized models for every noise level.

Experimental Setup

The model was trained on a dataset of 1,000 natural images, partitioned into 2,000 patches of $90 \times 90$ pixels. Evaluation was conducted across two primary tasks:

  • Image Denoising: Tested on the standard BSD68 dataset.
  • Non-blind Deconvolution: To test transferability, the learned denoising prior was plugged into a Half Quadratic Splitting (HQS) framework to solve blur removal on the Levin et al. dataset, a task not seen during training.

Results and Discussion

The genericDP model demonstrates that the underlying structure of natural images is invariant to noise levels. By sharing the diffusion term, the model achieves performance nearly identical to specialized, non-generic TNRD models. For instance, at a high noise level ($\sigma=50$), genericDP achieved a PSNR of 25.99 dB, nearly matching the 26.01 dB of the specialized TNRD.

Visual comparison of denoising results on a sample image. The proposed genericDP (c) achieves results visually and quantitatively comparable to the specialized TNRD (d).

Beyond denoising, the learned prior proved highly effective for deconvolution. When transferred to blur removal, the genericDP prior outperformed both the original TNRD and generative methods like EPLL in terms of speed and quality. While generative methods like FoE can take over 45 minutes per image, genericDP completes the task in approximately 1.6 seconds.

Conclusion

The genericDP framework successfully demonstrates that a single, learned diffusion process can serve as a universal prior for various image restoration tasks. This approach significantly reduces the training burden and enhances the versatility of discriminative models. Future work will focus on extending this generality to non-Gaussian noise, such as real-world sensor artifacts, and broader restoration tasks like super-resolution.

Summary updated

BibTeX
@inproceedings{qiao2018learning,
  author = {Peng Qiao and Yong Dou and Yunjin Chen and WenSen Feng},
  title = {{Learning Generic Diffusion Processes for Image Restoration}},
  booktitle = {BMVC},
  year = {2018},
}
Figure