Adaptive Window Pruning for Efficient Local Motion Deblurring

Haoying Li, Jixin Zhao, Shangchen Zhou, H. Feng, Chongyi Li +1 more
6/1/2023
transformer-attention

No confident code implementation found for this paper.

Abstract

Local motion blur commonly occurs in real-world photography due to the mixing between moving objects and stationary backgrounds during exposure. Existing image deblurring methods predominantly focus on global deblurring, inadvertently affecting the sharpness of backgrounds in locally blurred images and wasting unnecessary computation on sharp pixels, especially for high-resolution images.

Show full abstract

This paper aims to adaptively and efficiently restore high-resolution locally blurred images. We propose a local motion deblurring vision Transformer (LMD-ViT) built on adaptive window pruning Transformer blocks (AdaWPT). To focus deblurring on local regions and reduce computation, AdaWPT prunes unnecessary windows, only allowing the active windows to be involved in the deblurring processes. The pruning operation relies on the blurriness confidence predicted by a confidence predictor that is trained end-to-end using a reconstruction loss with Gumbel-Softmax re-parameterization and a pruning loss guided by annotated blur masks. Our method removes local motion blur effectively without distorting sharp regions, demonstrated by its exceptional perceptual and quantitative improvements compared to state-of-the-art methods. In addition, our approach substantially reduces FLOPs by 66% and achieves more than a twofold increase in inference speed compared to Transformer-based deblurring methods. We will make our code and annotated blur masks publicly available.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2023adaptive,
  title  = {Adaptive Window Pruning for Efficient Local Motion Deblurring},
  author = {Haoying Li and Jixin Zhao and Shangchen Zhou and H. Feng and Chongyi Li and Chen Change Loy},
  year   = {2023},
  eprint = {2306.14268},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2306.14268},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.14268.svg)](https://codeofpaper.com/paper/2306.14268)

Discussion