Dynamic Scene Deblurring Using Spatially Variant Recurrent Neural Networks

Jiawei Zhang, Jinshan Pan, Jimmy S. J. Ren, Yibing Song, Linchao Bao, Rynson W. H. Lau, Ming-Hsuan YangCVPR 2018 · DOI

Introduction

Image deblurring has long been a cornerstone of computer vision, yet real-world dynamic scenes present a significant challenge. Traditional approaches often rely on massive, spatially invariant Convolutional Neural Networks (CNNs) that are computationally expensive and struggle with the non-uniform nature of motion blur. This research introduces a paradigm shift: a spatially variant Recurrent Neural Network (RNN) architecture. By learning unique weights for every pixel, this model achieves state-of-the-art results while being 10x faster and nearly 10x smaller than previous leading models.

The Challenge of Spatially Variant Blur

Most classical deblurring algorithms assume "uniform" blur, where camera shake affects the entire image equally. However, real-world dynamic scenes exhibit spatially variant blur. For instance, a moving vehicle will blur differently than the static background, and objects at different depths will have distinct blur patterns.

Existing deep learning solutions, such as the multi-scale CNN by Nah et al., attempt to solve this by using extremely deep networks to increase the "receptive field"—the area of the image the network considers to "undo" the blur. While effective, these models are computationally heavy and slow, as they apply the same fixed filters across the entire image regardless of local blur characteristics.

Methods: RNNs as Efficient Filters

The proposed method treats deblurring as a spatially variant filtering problem through a four-part pipeline:

  1. Feature Extraction: A shallow CNN extracts initial features from the blurry input.
  2. RNN Weight Generation: A 14-layer CNN analyzes the blurry image to predict a set of pixel-wise weights for the RNN. This "brain" tells the system exactly how to deblur each specific region.
  3. RNN Deconvolution: Instead of standard convolutions, the model uses an RNN that moves in four directions. Mathematically, a deconvolution operation is equivalent to an Infinite Impulse Response (IIR) filter. RNNs can approximate these filters very efficiently, providing a massive receptive field with minimal parameters.
  4. Image Reconstruction: A final CNN reconstructs the sharp, full-resolution image from the deblurred features.
The RNN architecture efficiently propagates information across the image to approximate a deconvolution operator with a large receptive field.

The entire system is trained end-to-end, allowing the weight-generating network to optimize parameters specifically for the RNN deconvolution stage.

Key Results and Performance

The model was evaluated on standard benchmarks, including the GoPro Dataset and the Deep Video Deblurring Dataset. The results demonstrate a significant leap in both efficiency and quality:

  • Accuracy: Achieved a 29.19 dB PSNR on the GoPro dataset, surpassing the previous best of 28.49 dB.
  • Efficiency: The model processes a 720p image in just 1.4 seconds, roughly 10x faster than the 15 seconds required by previous SOTA models.
  • Portability: At only 37.1 MB, the model is nearly 10x smaller than the 303.6 MB size of its predecessors.
Qualitative comparison showing the proposed method (c) achieving sharper edges and better detail recovery compared to the previous state-of-the-art (b).

Conclusion

By leveraging the efficiency of RNNs to handle long-range dependencies and spatially variant blur, this architecture provides a practical solution for high-quality deblurring on resource-constrained devices. Future work may involve incorporating temporal information from video sequences to further enhance stability and sharpness.

Summary updated

BibTeX
@inproceedings{zhang2018dynamic,
  author = {Jiawei Zhang and Jinshan Pan and Jimmy S. J. Ren and Yibing Song and Linchao Bao and Rynson W. H. Lau and Ming-Hsuan Yang},
  title = {{Dynamic Scene Deblurring Using Spatially Variant Recurrent Neural Networks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00267},
}
Figure