Rethinking the Smaller-Norm-Less-Informative Assumption in Channel Pruning of Convolution Layers

Jianbo Ye, Xin Lu, Zhe Lin, James Z. Wang
2/1/2018
cs.LG

Official code: bobye/batchnorm_prune (30 stars, TensorFlow, last commit 2019-10-14).

Abstract

Model pruning has become a useful technique that improves the computational efficiency of deep learning, making it possible to deploy solutions in resource-limited scenarios. A widely-used practice in relevant work assumes that a smaller-norm parameter or feature plays a less informative role at the inference time. In this paper, we propose a channel pruning technique for accelerating the computations of deep convolutional neural networks (CNNs) that does not critically rely on this assumption. Instead, it focuses on direct simplification of the channel-to-channel computation graph of a CNN without the need of performing a computationally difficult and not-always-useful task of making high-dimensional tensors of CNN structured sparse. Our approach takes two stages: first to adopt an end-to- end stochastic training method that eventually forces the outputs of some channels to be constant, and then to prune those constant channels from the original neural network by adjusting the biases of their impacting layers such that the resulting compact model can be quickly fine-tuned. Our approach is mathematically appealing from an optimization perspective and easy to reproduce. We experimented our approach through several image learning benchmarks and demonstrate its interesting aspects and competitive performance.

View on arXivView PDF

Code Implementations(1)

TensorFlow

Tensorflow codes for "Rethinking the Smaller-Norm-Less-Informative Assumption in Channel Pruning of Convolution Layers"

308PythonOct 16, 20187 years ago
batch-normalizationdeep-learningnetwork-pruningtensorflow

Cite this paper

@article{ye2018rethinking,
  title  = {Rethinking the Smaller-Norm-Less-Informative Assumption in Channel Pruning of Convolution Layers},
  author = {Jianbo Ye and Xin Lu and Zhe Lin and James Z. Wang},
  year   = {2018},
  eprint = {1802.00124},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1802.00124}
}

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

Discussion