arXiv Open Access 2022

ClassPruning: Speed Up Image Restoration Networks by Dynamic N:M Pruning

Yang Zhou Yuda Song Hui Qian Xin Du
Lihat Sumber

Abstrak

Image restoration tasks have achieved tremendous performance improvements with the rapid advancement of deep neural networks. However, most prevalent deep learning models perform inference statically, ignoring that different images have varying restoration difficulties and lightly degraded images can be well restored by slimmer subnetworks. To this end, we propose a new solution pipeline dubbed ClassPruning that utilizes networks with different capabilities to process images with varying restoration difficulties. In particular, we use a lightweight classifier to identify the image restoration difficulty, and then the sparse subnetworks with different capabilities can be sampled based on predicted difficulty by performing dynamic N:M fine-grained structured pruning on base restoration networks. We further propose a novel training strategy along with two additional loss terms to stabilize training and improve performance. Experiments demonstrate that ClassPruning can help existing methods save approximately 40% FLOPs while maintaining performance.

Topik & Kata Kunci

Penulis (4)

Y

Yang Zhou

Y

Yuda Song

H

Hui Qian

X

Xin Du

Format Sitasi

Zhou, Y., Song, Y., Qian, H., Du, X. (2022). ClassPruning: Speed Up Image Restoration Networks by Dynamic N:M Pruning. https://arxiv.org/abs/2211.05488

Akses Cepat

Lihat di Sumber
Informasi Jurnal
Tahun Terbit
2022
Bahasa
en
Sumber Database
arXiv
Akses
Open Access ✓