Skip to main content
QUICK REVIEW

[Paper Review] Attentive Fine-Grained Structured Sparsity for Image Restoration

Junghun Oh, Heewon Kim|arXiv (Cornell University)|Apr 26, 2022
Advanced Image Processing TechniquesComputer Science5 citations
TL;DR

This paper proposes SLS (Searching for Layer-wise N:M Structured Sparsity), a novel pruning framework that dynamically determines layer-wise N:M structured sparsity ratios for efficient image restoration. By introducing trainable scores per pruning unit and enabling adaptive inference across multiple pruned models, SLS achieves state-of-the-art accuracy-efficiency trade-offs on super-resolution and deblurring tasks, outperforming existing methods across multiple benchmarks.

ABSTRACT

Image restoration tasks have witnessed great performance improvement in recent years by developing large deep models. Despite the outstanding performance, the heavy computation demanded by the deep models has restricted the application of image restoration. To lift the restriction, it is required to reduce the size of the networks while maintaining accuracy. Recently, N:M structured pruning has appeared as one of the effective and practical pruning approaches for making the model efficient with the accuracy constraint. However, it fails to account for different computational complexities and performance requirements for different layers of an image restoration network. To further optimize the trade-off between the efficiency and the restoration accuracy, we propose a novel pruning method that determines the pruning ratio for N:M structured sparsity at each layer. Extensive experimental results on super-resolution and deblurring tasks demonstrate the efficacy of our method which outperforms previous pruning methods significantly. PyTorch implementation for the proposed methods is available at https://github.com/JungHunOh/SLS_CVPR2022.

Motivation & Objective

  • To address the inefficiency of uniform pruning ratios in image restoration networks, where different layers exhibit varying sensitivity to pruning.
  • To develop a method that determines optimal N:M structured sparsity levels per layer, improving the accuracy-efficiency trade-off.
  • To enable flexible inference by combining multiple pruned models with different computational budgets based on input complexity.
  • To overcome the limitations of existing N:M pruning methods that assume uniform sparsity across layers and lack adaptability.

Proposed method

  • The method formulates N:M structured sparsity as a sparse tensor decomposition, where each sparse tensor corresponds to a pruning unit based on weight magnitude.
  • It introduces a trainable score for each pruning unit to prioritize removal of low-importance units, enabling differentiable and efficient sparsity learning.
  • The framework performs layer-wise N:M sparsity search by optimizing pruning ratios per layer using a differentiable pruning objective.
  • An adaptive inference mechanism selects the most suitable pruned model at inference time based on input patch difficulty, estimated via an auxiliary network.
  • The auxiliary network predicts patch-level MSE to guide model selection, balancing computational cost and restoration quality.
  • The method is applied to super-resolution (EDSR, CARN, RFDN) and deblurring (DMPHN, SRN, residual UNet) models, with joint pretraining and pruning stages.
Figure 1 : Trade-off between image restoration performance (PSNR) vs computational costs (MACs) on super-resolution (top) and deblurring tasks (bottom). We compare our method to the magnitude-based filter pruning [ 28 ] and the existing methods on $N$ : $M$ sparsity (One-shot pruning [ 37 ] and SR-S
Figure 1 : Trade-off between image restoration performance (PSNR) vs computational costs (MACs) on super-resolution (top) and deblurring tasks (bottom). We compare our method to the magnitude-based filter pruning [ 28 ] and the existing methods on $N$ : $M$ sparsity (One-shot pruning [ 37 ] and SR-S

Experimental results

Research questions

  • RQ1Can layer-wise N:M structured sparsity improve the accuracy-efficiency trade-off in image restoration compared to uniform pruning?
  • RQ2How does adaptive inference using multiple pruned models enhance performance under varying computational budgets?
  • RQ3What is the impact of different pruning ratios per layer on model sensitivity and restoration quality?
  • RQ4Can a differentiable, magnitude-based pruning unit selection strategy effectively guide N:M sparsity learning?
  • RQ5Does the proposed method maintain or improve performance on diverse image restoration benchmarks like DIV2K, GOPRO, and Urban100?

Key findings

  • SLS outperforms magnitude-based filter pruning and existing N:M structured pruning methods (One-shot, SR-STE) on both super-resolution and deblurring tasks.
  • On the GOPRO dataset, SLS achieves 28.48/27.49/25.82 PSNR for deblurring, surpassing the baseline and prior methods.
  • For super-resolution on Urban100, SLS achieves 28.48 PSNR with only 260.58K MACs, demonstrating high efficiency.
  • Adaptive inference reduces computational overhead while maintaining or improving PSNR by dynamically selecting models based on input patch complexity.
  • The method enables a flexible trade-off between efficiency and accuracy, with models trained at different pruning ratios allowing runtime budget control.
  • The auxiliary network for MSE estimation adds minimal overhead (3.45 GMACs for HD images) and enables effective model path selection at inference.
(a)
(a)

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.