Learning Efficient Convolutional Networks through Network Slimming

Zhuang Liu, Jianguo Li, Zhiqiang Shen, Gao Huang, Shoumeng Yan +1 more
8/22/2017
cs.CVcs.AIcs.LG

Official code: Eric-mingjie/network-slimming (919 stars, MIT, PyTorch, last commit 2020-11-06). 1 more implementation below.

Abstract

The deployment of deep convolutional neural networks (CNNs) in many real world applications is largely hindered by their high computational cost. In this paper, we propose a novel learning scheme for CNNs to simultaneously 1) reduce the model size; 2) decrease the run-time memory footprint; and 3) lower the number of computing operations, without compromising accuracy. This is achieved by enforcing channel-level sparsity in the network in a simple but effective way. Different from many existing approaches, the proposed method directly applies to modern CNN architectures, introduces minimum overhead to the training process, and requires no special software/hardware accelerators for the resulting models. We call our approach network slimming, which takes wide and large networks as input models, but during training insignificant channels are automatically identified and pruned afterwards, yielding thin and compact models with comparable accuracy. We empirically demonstrate the effectiveness of our approach with several state-of-the-art CNN models, including VGGNet, ResNet and DenseNet, on various image classification datasets. For VGGNet, a multi-pass version of network slimming gives a 20x reduction in model size and a 5x reduction in computing operations.

View on arXivView PDF

Code Implementations(2)

PyTorchMIT

Network Slimming (Pytorch) (ICCV 2017)

919213PythonJul 5, 20185 years agoMIT
channel-pruningconvolutional-neural-networksdeep-learningpytorchsparsity
MIT

Learning Efficient Convolutional Networks through Network Slimming, In ICCV 2017.

57775Lua, ShellAug 22, 20177 years agoMIT
convolutional-neural-networksdeep-learningefficient-inference

Similar Papers

Cite this paper

@article{liu2017learning,
  title  = {Learning Efficient Convolutional Networks through Network Slimming},
  author = {Zhuang Liu and Jianguo Li and Zhiqiang Shen and Gao Huang and Shoumeng Yan and Changshui Zhang},
  year   = {2017},
  eprint = {1708.06519},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1708.06519}
}

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

Discussion