Multi-Scale Memory-Based Video Deblurring

Bo Ji, Angela Yao

TL;DR

This paper introduces a novel Multi-Scale Memory-Based network for video deblurring that treats the restoration process as a retrieval task. By maintaining an external memory bank of blurry-sharp feature pairs, the model can "look up" sharp details from other parts of the video sequence to restore the current frame, outperforming state-of-the-art methods with significantly lower computational costs.

What Problem Does This Paper Address?

Video deblurring is a notoriously difficult "ill-posed" problem because a single blurry frame could correspond to many possible sharp images. The challenge is compounded by the fact that blur is non-uniform: different objects in the same frame, or even the same object across different frames, exhibit varying levels of distortion due to camera shake or object motion.

Figure 1. Different image regions have different blurry artifacts.

Existing solutions generally fall into two camps:

  1. Window-based methods: These look at a small fixed set of neighboring frames (e.g., 5-7 frames). They are limited by a narrow temporal receptive field.
  2. Recurrent methods: These pass a hidden state from frame to frame. While they have a longer "memory," they often struggle to propagate information effectively from the distant past or future.

The authors argue that these methods fail to exploit the fact that a sharp version of a currently blurry region might exist elsewhere in the entire video sequence.

Methods

The authors propose a two-branch architecture: a deblurring branch (the backbone) and a memory branch.

The Memory Bank

Inspired by memory networks used in NLP and video object segmentation, this model stores blurry-sharp feature pairs in a key-value format.

  • Keys: Encoded from the blurry input frame.
  • Values: Encoded from the corresponding hidden features and deblurred results.

When the model encounters a blurry region (the "query"), it uses a spatio-temporal attention mechanism to search the memory bank for the most relevant sharp features. This allows the model to "borrow" sharp details even if it doesn't know the exact blur kernel.

Bidirectional Recurrency and Multi-Scale Design

To maximize the utility of the memory, the authors implemented two key strategies:

  • Bidirectional Pass: The model processes the video both forward and backward. This ensures that a frame at the beginning of a sequence can benefit from sharp information found at the very end.
  • Shared Multi-Scale Memory: The video is processed at three different resolutions. Crucially, all scales share the same memory bank. This allows for "cross-scale matching," where a large, blurry object at a high resolution can be matched against a smaller, sharper version of itself at a lower resolution.
Figure 2. Temporal receptive field comparison between differ- ent methods for video deblurring. Window-based approach re- constructs sharp images referencing neighbouring frames within a small fixed-size window. Recurrent methods collectively aggre- gate frame features till up-to-date to provide restoration cues. In contrast, our method allows the feature propagation from the entire sequence when restoring the given frame.

Datasets

The model was evaluated on the GOPRO dataset, a standard benchmark for dynamic scene deblurring. The authors tested on two versions:

  • Original GOPRO: High-resolution (1280x720) frames.
  • Downsampled GOPRO: A version (960x540) with gamma correction, often used to reduce noise and compression artifacts.

Key Insights and Ideas

  • Restoration as Retrieval: The most striking idea is moving away from purely generative deblurring toward a retrieval-based approach. If the information exists elsewhere in the video, the network should just go get it.
  • Low-Level Memory Works: While memory networks are usually used for high-level semantics (like "is this a car?"), this paper proves they are highly effective for low-level feature reconstruction (like "what does this specific texture look like?").
  • Separate $h$ and $r$ Memories: The authors found that storing hidden features ($h$) and deblurred results ($r$) in separate memories—rather than concatenating them—provided a significant performance boost. This suggests that these features play distinct, complementary roles in the restoration process.

Key Results

The proposed model, MemDeblur, achieved state-of-the-art results on the GOPRO dataset while remaining highly efficient.

  • Accuracy: On the original GOPRO dataset, it achieved a PSNR of 31.76 dB, slightly outperforming the previous leader, CDVD-TSP (31.67 dB).
  • Efficiency: Despite the higher accuracy, MemDeblur is significantly leaner. It uses only 344.49 GMACs compared to CDVD-TSP's massive 5122.29 GMACs.
  • Speed: The inference time is roughly one-fifth that of CDVD-TSP (0.191s vs 1.015s per frame), making it much more practical for real-world applications.

Qualitatively, the model excels at recovering fine details like license plate numbers and text that other models leave illegible.

Limitations and Future Work

The primary limitation is the memory overhead. Storing features for every frame can quickly consume GPU memory. To mitigate this, the authors currently use a simple strategy of discarding older memories and only updating the bank every few frames ($T$).

The authors suggest that future work could involve more "principled memory management strategies"—perhaps moving beyond a simple FIFO (First-In-First-Out) queue to more intelligently decide which features are worth keeping for the long term.

Summary updated

BibTeX
@misc{ji2022multi,
  author = {Bo Ji and Angela Yao},
  title = {{Multi-Scale Memory-Based Video Deblurring}},
  year = {2022},
  eprint = {2204.02977},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.02977},
}
Figure