Motion Deblurring with an Adaptive Network

Kuldeep Purohit, A. N. RajagopalanarXiv 2019

TL;DR

This paper introduces a Spatially-Adaptive Residual Network (SARN) that tackles dynamic scene deblurring by replacing massive, multi-scale architectures with efficient, deformable modules. By learning to adapt its filters to local motion patterns, the model achieves state-of-the-art accuracy while being 70% smaller and 20x faster than previous leading methods, enabling near real-time performance.

What Problem Does This Paper Address?

Motion blur in real-world "dynamic" scenes is messy. It isn't just a uniform smudge from a shaky camera; it varies across the image because objects move at different speeds, in different directions, and at different depths.

Traditional deep learning approaches try to handle this by building massive networks with huge "receptive fields"—essentially giving the network a very wide view to see where a blurred pixel might have originated. They usually do this by stacking dozens of layers, using giant filters, or processing the image at multiple scales. The downside? These models are computationally expensive, slow to run, and often ignore the fact that blur is inherently directional. The authors aim to bridge this gap by creating a compact network that "adapts" its shape to the specific blur it sees.

Methods

The authors propose the Spatially-Adaptive Residual Network (SARN), built on a residual encoder-decoder structure. The secret sauce lies in two specific modules placed at the network's bottleneck (where the spatial resolution is lowest and computation is cheapest):

  1. Deformable Residual Module (DRM): Standard convolutions sample pixels from a rigid grid (e.g., a 3x3 square). The DRM instead learns to predict "offsets," allowing the filter to sample from an irregular, adaptive grid. This is mathematically motivated by the fact that deblurring filters should be directional and asymmetric to match the motion that caused the blur.
  2. Spatial Attention (SA) Module: This module helps the network capture non-local relationships across the image, effectively increasing the receptive field without needing to add more layers.
Figure 1. The proposed deblurring network and its components.

For video deblurring, the authors extend this design with spatio-temporal recurrence. They use a ConvLSTM to propagate features between frames and a frame-level recurrence loop that feeds previously deblurred estimates back into the input, ensuring temporal consistency.

Figure 2. Schematic of our deformable residual module.

Datasets

The model was trained and evaluated on two primary benchmarks:

  • GoPro Dataset: The standard benchmark for single-image dynamic scene deblurring, containing pairs of sharp and realistically blurred images.
  • Deep Video Deblurring (DVD) Dataset: A collection of 71 real-world videos used to evaluate the spatio-temporal recurrent version of the network.

Key Insights and Ideas

  • Adaptivity > Scale: Instead of forcing a network to be "deep" to see more, make it "smart." By allowing filters to change their sampling shape (via DRMs), the network can follow the trajectory of the motion blur rather than just looking at a larger fixed area.
  • Directionality is Key: The authors provide a theoretical derivation showing that for any motion blur kernel, the corresponding deblurring filter must be directional. This justifies the use of deformable convolutions over standard ones.
  • Efficiency via Bottlenecks: By placing the most complex adaptive modules at the lowest spatial resolution of the encoder-decoder, the authors achieve high performance with a fraction of the parameters used by multi-scale networks like SRN.

Key Results

The proposed SARN model sets a new bar for both efficiency and quality:

  • Accuracy: On the GoPro dataset, SARN achieved a PSNR of 31.13 dB, outperforming the previous state-of-the-art (SRN) by nearly 0.9 dB.
  • Speed: SARN is significantly faster, clocking in at 0.02 seconds per image compared to SRN’s 0.4 seconds—a 20x speedup that makes real-time deblurring feasible.
  • Model Size: The network is remarkably compact at only 11.2 MB, which is roughly 70% smaller than its closest competitors.
  • Qualitative Superiority: Visual results show that SARN is better at restoring fine details and avoiding the "ringing" artifacts common in other methods, especially in scenes with complex, large-scale motion.
Visual comparisons of deblurring results on test images from the GoPro dataset.

Limitations and Future Work

While the paper demonstrates excellent results, the authors note that their current focus was on creating a compact, efficient design. They suggest that the spatially-aware architecture could be scaled up even further for higher-end applications. Additionally, they believe this "spatially-aware" design philosophy—adapting filters to the content of the image—could be successfully applied to other computer vision tasks like super-resolution or object detection, which they plan to explore in future work.

Summary updated

BibTeX
@misc{purohit2019motion,
  author = {Kuldeep Purohit and A. N. Rajagopalan},
  title = {{Motion Deblurring with an Adaptive Network}},
  year = {2019},
  eprint = {1903.11394},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.11394},
}
Figure