Motion-Aware Adaptive Pixel Pruning for Efficient Local Motion Deblurring

Wei Shang, Dongwei Ren, Wanying Zhang, Pengfei Zhu, Qinghua Hu, Wangmeng Zuo

Introduction

Real-world images frequently suffer from local motion blur, where specific moving objects appear blurred while the background remains sharp. Traditional deblurring methods, designed for global camera shake, often prove inefficient for these scenarios. They waste significant computational resources processing sharp regions and can introduce unwanted artifacts into static areas. While recent attempts have explored patch-level pruning to mitigate this, the coarse nature of patches still leaves room for optimization. This paper introduces M²AENet (Mask- and Motion-Aware Efficient Network), a novel architecture that achieves fine-grained, pixel-level pruning to maximize efficiency in local motion deblurring.

Methodology

M²AENet is built upon the lightweight NAFNet architecture and incorporates three primary innovations to handle local blur efficiently:

Adaptive Pixel Pruning

The core of M²AENet's efficiency is its ability to identify and process only the blurred pixels. A Mask Predictor generates a binary mask of the blurred regions. To enable efficient inference, the authors utilize structural reparameterization. During testing, standard 3x3 convolutions are converted into 1x1 convolutions through an unfolding process. Since 1x1 convolutions are spatially invariant, the network can sample just the masked pixels, process them, and then re-insert them into the feature map, drastically reducing redundant calculations.

Intra-Motion Analysis

To better understand the nature of the blur, the network includes an Intra-Motion Analyzer. This module estimates the relative displacement of pixels during the camera's exposure time, creating a map of motion trajectories for moving objects.

Motion-Aware Deformable Convolution

Unlike standard deformable convolutions that learn offsets without explicit guidance, M²AENet uses the trajectories from the Intra-Motion Analyzer as offsets. This physics-guided approach directs the network to focus on the specific direction and magnitude of the blur, leading to more accurate restoration.

Evaluation and Results

The model was evaluated on the ReLoBlur dataset (real-world local blur) and the GoPro dataset (global blur).

Performance and Efficiency

M²AENet achieves a new state-of-the-art on the ReLoBlur dataset with a PSNR of 35.647 dB, surpassing previous leading models like LMD-ViT. Crucially, it achieves this while being significantly more efficient.

Performance vs. Efficiency: M²AENet (Ours) achieves the highest PSNR with the lowest FLOPs compared to other state-of-the-art models.

As shown in Figure 1, M²AENet occupies the top-left quadrant of the PSNR vs. FLOPs trade-off, indicating superior performance at a fraction of the computational cost. Specifically, it reduces FLOPs by 49% and GPU memory usage by 79% compared to LMD-ViT.

Qualitative Comparison

Visual results demonstrate that M²AENet effectively restores sharp details in blurred regions without distorting the static background.

Qualitative comparison on the ReLoBlur dataset. M²AENet (Ours) produces sharper results with fewer artifacts compared to NAFNet, Restormer, and Uformer.

Conclusion

M²AENet demonstrates that pixel-level pruning, guided by motion trajectories, is a highly effective strategy for local motion deblurring. By focusing computational effort only where it is needed, the model achieves state-of-the-art results with remarkable efficiency. Future work will focus on improving the mask predictor's accuracy in textureless regions to further refine the pruning process.

Summary updated

BibTeX
@inproceedings{shang2025motion,
  author = {Wei Shang and Dongwei Ren and Wanying Zhang and Pengfei Zhu and Qinghua Hu and Wangmeng Zuo},
  title = {{Motion-Aware Adaptive Pixel Pruning for Efficient Local Motion Deblurring}},
  booktitle = {ACM Multimedia},
  year = {2025},
  doi = {10.1145/3746027.3755062},
}
Figure