Soft Masking for Cost-Constrained Channel Pruning

Ryan Humble, Maying Shen, Jorge Albericio Latorre, Eric Darve1, Jose M. Alvarez
11/4/2022
cs.CV
quantization-pruning

Official code: NVlabs/SMCP (23 stars, Python, last commit 2022-10-24).

Abstract

Structured channel pruning has been shown to significantly accelerate inference time for convolution neural networks (CNNs) on modern hardware, with a relatively minor loss of network accuracy. Recent works permanently zero these channels during training, which we observe to significantly hamper final accuracy, particularly as the fraction of the network being pruned increases.

Show full abstract

We propose Soft Masking for cost-constrained Channel Pruning (SMCP) to allow pruned channels to adaptively return to the network while simultaneously pruning towards a target cost constraint. By adding a soft mask re-parameterization of the weights and channel pruning from the perspective of removing input channels, we allow gradient updates to previously pruned channels and the opportunity for the channels to later return to the network. We then formulate input channel pruning as a global resource allocation problem. Our method outperforms prior works on both the ImageNet classification and PASCAL VOC detection datasets.

View on arXivView PDF

Code Implementations(1)

NVlabs/SMCPOfficial100%
235Python, DockerfileJul 19, 20224 years agoNOASSERTION

Similar Papers

Cite this paper

@article{humble2022soft,
  title  = {Soft Masking for Cost-Constrained Channel Pruning},
  author = {Ryan Humble and Maying Shen and Jorge Albericio Latorre and Eric Darve1 and Jose M. Alvarez},
  year   = {2022},
  eprint = {2211.02206},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.02206}
}

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/2211.02206.svg)](https://codeofpaper.com/paper/2211.02206)

Discussion