Hierarchical Integration Diffusion Model for Realistic Image Deblurring

Zheng Chen, Yulun Zhang, Ding Liu, Bin Xia, Jinjin Gu, Linghe Kong, Xin Yuan

Introduction

Image deblurring is a fundamental yet challenging task in computer vision, characterized by its ill-posed nature. A single blurry image can correspond to multiple potential sharp reconstructions. Historically, the field has been divided between two paradigms: regression-based methods and generative models. Regression-based approaches, such as CNNs and Transformers, are typically optimized for distortion metrics like Peak Signal-to-Noise Ratio (PSNR). While stable, they often produce "conservative" results that lack high-frequency details. Conversely, generative models like Diffusion Models (DMs) excel at synthesizing realistic textures but suffer from high computational costs and a tendency to "hallucinate" details that deviate from the ground truth.

The Hierarchical Integration Diffusion Model (HI-Diff) bridges this gap. By integrating the generative capabilities of DMs with the structural stability of regression-based Transformers, HI-Diff achieves high-fidelity restoration with remarkable efficiency.

Methodology

The HI-Diff framework utilizes a two-stage training strategy designed to leverage a Diffusion Model as a provider of a "prior feature" rather than a direct image generator.

Stage 1: Latent Compression and Regression

In the initial stage, the authors employ a Latent Encoder (LE) to compress sharp ground-truth images into an extremely compact latent space consisting of only 16 tokens. This is a significant departure from standard Latent Diffusion Models (LDMs), which typically use much larger latent representations. Simultaneously, a regression-based Transformer (a modified Restormer) is trained to perform the primary deblurring task, using the compact latent as a guiding prior.

Stage 2: Latent Diffusion and Hierarchical Integration

In the second stage, a Diffusion Model is trained to generate the compact latent prior from Gaussian noise, conditioned on the blurry input. Because the latent space is limited to 16 tokens, the diffusion process is exceptionally fast, requiring as few as 8 iterations to reach peak performance.

To effectively incorporate this prior, the authors introduced the Hierarchical Integration Module (HIM). The HIM uses cross-attention mechanisms to inject diffusion-generated features into the Transformer backbone at multiple scales. This ensures that the generative prior informs various levels of the image's feature hierarchy, from global structure to fine-grained texture.

Joint Training

A critical component of the HI-Diff pipeline is the joint training of the DM and the Transformer during the second stage. This process allows the Transformer to become robust to the minor stochastic variations inherent in diffusion-generated priors, preventing the "misalignment" issues common in previous generative restoration methods.

Experimental Evaluation

The model was rigorously evaluated on both synthetic and real-world datasets, including GoPro, HIDE, RealBlur, and RWBI.

Quantitative Performance

HI-Diff established new state-of-the-art benchmarks. On the GoPro dataset, it achieved a PSNR of 33.33 dB, outperforming the previous leading method, Stripformer, by 0.25 dB and the baseline Restormer by 0.41 dB. These results demonstrate that the addition of the diffusion prior significantly enhances the model's ability to recover lost information without sacrificing distortion accuracy.

Real-World Generalization

The model's performance on real-world data was particularly noteworthy. On the RealBlur-J dataset, HI-Diff improved upon Stripformer by 0.33 dB. This suggests that the generative prior is highly effective at handling the complex, non-uniform blur patterns found in real-world photography, which are often poorly modeled by synthetic training data.

Efficiency and Computational Cost

Despite the inclusion of a Diffusion Model, HI-Diff remains computationally practical. It adds approximately 4.86 million parameters and 8.22 GFLOPs over the baseline Restormer. By operating in a highly compressed latent space, it avoids the massive overhead typically associated with image-space diffusion models.

Conclusion

HI-Diff demonstrates that the "prior paradigm"—where a Diffusion Model provides a compact texture guide to a regression backbone—is a powerful solution for image restoration. By compressing the latent space to just 16 tokens, the authors have created a model that is both high-performing and efficient, requiring significantly fewer inference steps than traditional generative approaches. While the two-stage training process adds some complexity, the resulting gains in visual quality and metric performance mark a significant step forward for realistic image deblurring.

Summary updated

BibTeX
@inproceedings{chen2023hierarchical,
  author = {Zheng Chen and Yulun Zhang and Ding Liu and Bin Xia and Jinjin Gu and Linghe Kong and Xin Yuan},
  title = {{Hierarchical Integration Diffusion Model for Realistic Image Deblurring}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=XeMryhpniy},
}
Figure