Enhanced Control for Diffusion Bridge in Image Restoration

Conghan Yue, Zhengwei Peng, Junlong Ma, Dongyu ZhangarXiv 2024

TL;DR

This paper introduces ECDB, a novel diffusion bridge model for image restoration that significantly enhances conditional control by incorporating low-quality image features directly into the architecture. It also proposes a Conditional Fusion Schedule to better handle these features, especially during the early stages of the diffusion process, leading to state-of-the-art results across various restoration tasks.

What Problem Does This Paper Address?

Image restoration, the process of recovering high-quality images from degraded versions (e.g., due to noise, blur, or missing regions), has traditionally relied on direct mapping techniques, often using convolutional neural networks (CNNs). More recently, diffusion models, particularly "diffusion bridges," have shown great promise by framing restoration as a reverse diffusion process. However, existing diffusion bridge models often lack fine-grained control over the restoration process, relying solely on the low-quality image as a global condition. This can limit their ability to precisely guide the generation of high-quality details. The paper aims to address this by introducing a more robust conditional control mechanism within the diffusion bridge framework.

Methods

The core of the proposed ECDB model is an enhancement of the diffusion bridge architecture, building upon the GOUB (Generalized Ornstein-Uhlenbeck bridge) model. ECDB introduces four key modules:

  • Denoising Module (DM): This is the foundational diffusion model, adapted from GOUB. It's pre-trained and frozen during ECDB's training, preserving its inherent denoising capabilities.
  • Condition Hint Module (CHM): This module extracts relevant features from the low-quality image, focusing on aspects like color and edges.
  • Degradation Feature Module (DFM): This module is designed to specifically capture features related to the degradation itself (e.g., noise patterns, missing regions).
  • Control Module (CM): This module integrates the features from CHM and DFM, along with the time step information, to generate enhanced control signals that guide the DM.

A crucial innovation is the Conditional Fusion Schedule. Recognizing that diffusion models have weaker denoising capabilities at larger time steps (early in the reverse process), this schedule dynamically weights the DFM features. It ensures that these degradation-specific features have a stronger influence when they are most informative (later in the process) and a diminished influence when they might be noisy or less meaningful (earlier in the process). This is achieved using an exponential weight function that smoothly transitions from near-zero to one as the diffusion time progresses.

Datasets

The paper evaluates ECDB on several standard datasets for image restoration tasks:

  • Deraining: Rain100H and Rain100L datasets.
  • Super-Resolution: DIV2K validation set (for 4x upscaling).
  • Inpainting: CelebA-HQ 256x256 dataset.

Key Insights and Ideas

  • Granular Conditional Control: The paper demonstrates that by explicitly incorporating modules to extract and process low-quality image features (CHM, DFM) and then integrating them via a control module (CM), diffusion bridge models can achieve much finer control over the restoration process than simply using the LQ image as a global condition.
  • The Importance of Temporal Feature Fusion: The Conditional Fusion Schedule is a key insight. It highlights that the informativeness of degradation features varies significantly with the diffusion time step. Dynamically weighting these features, rather than using them uniformly, is critical for stable and effective training, especially when dealing with the inherent challenges of early diffusion steps.
  • Leveraging Pre-trained Models: Freezing the pre-trained denoising module (DM) and only training the new conditional modules (CHM, DFM, CM) leads to efficient training while retaining the strong foundation of the original diffusion model.

Key Results

ECDB achieves state-of-the-art (SOTA) results across multiple image restoration tasks:

  • Deraining: Outperforms baselines like MHNet, IR-SDE, and GOUB on Rain100H, achieving the highest PSNR and SSIM.
  • Super-Resolution: Achieves SOTA results on the DIV2K dataset for 4x upscaling, surpassing DDRM, IR-SDE, and GOUB.
  • Inpainting: Also achieves SOTA performance on the CelebA-HQ dataset, outperforming DDRM, IR-SDE, and GOUB.

Qualitative results show that ECDB produces visually superior outputs with better details compared to existing methods.

Limitations and Future Work

  • Computational Cost: While training is efficient due to freezing the DM, diffusion models inherently have higher inference costs compared to traditional CNNs. This is a general limitation of diffusion-based methods.
  • Generalizability of Fusion Schedule: The paper proposes a specific exponential function for the Conditional Fusion Schedule. Further research could explore other forms of adaptive weighting or more sophisticated fusion mechanisms.
  • Task-Specific DFM Design: While DFM is designed to capture degradation features, its specific architecture might be further optimized for different types of degradation.

The paper's success in enhancing conditional control and its strong performance across diverse tasks suggest that this approach can be extended to other image restoration problems and potentially other generative tasks requiring fine-grained control.

Summary updated

Abstract

Image restoration refers to the process of restoring a damaged low-quality image back to its corresponding high-quality image. Typically, we use convolutional neural networks to directly learn the mapping from low-quality images to high-quality images achieving image restoration. Recently, a special type of diffusion bridge model has achieved more advanced results in image restoration. It can transform the direct mapping from low-quality to high-quality images into a diffusion process, restoring low-quality images through a reverse process. However, the current diffusion bridge restoration models do not emphasize the idea of conditional control, which may affect performance. This paper introduces the ECDB model enhancing the control of the diffusion bridge with low-quality images as conditions. Moreover, in response to the characteristic of diffusion models having low denoising level at larger values of \(\bm t \), we also propose a Conditional Fusion Schedule, which more effectively handles the conditional feature information of various modules. Experimental results prove that the ECDB model has achieved state-of-the-art results in many image restoration tasks, including deraining, inpainting and super-resolution. Code is avaliable at https://github.com/Hammour-steak/ECDB.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Rain100HECDBPSNR↑32.23+0.27 vs baselinesplit: test
Source quote
L131: ECDB │ 32.23 │ 0.9058 │ 0.043 │ 16.79
CelebA · HQECDBPSNR↑29.01+0.03 vs baselinesplit: test · mask=thin · resolution=256×256
Source quote
L168: ECDB │ 29.01 │ 0.9071 │ 0.0372 │ 4.13
DIV2KECDBPSNR↑27.39+0.5 vs baselinesplit: val · scale=4×
Source quote
L180: ECDB │ 27.39 │ 0.7682 │ 0.212 │ 18.88
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
Rain100HGOUB baselinePSNR↑31.96split: test
Source quote
L130: GOUB │ 31.96 │ 0.9028 │ 0.046 │ 18.14
CelebA · HQGOUB baselinePSNR↑28.98split: test · mask=thin · resolution=256×256
Source quote
L167: GOUB │ 28.98 │ 0.9067 │ 0.0378 │ 4.30
DIV2KGOUB baselinePSNR↑26.89split: val · scale=4×
Source quote
L179: GOUB │ 26.89 │ 0.7478 │ 0.220 │ 20.85
BibTeX
@misc{yue2024enhanced,
  author = {Conghan Yue and Zhengwei Peng and Junlong Ma and Dongyu Zhang},
  title = {{Enhanced Control for Diffusion Bridge in Image Restoration}},
  year = {2024},
  eprint = {2408.16303},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.16303},
}
Figure