DMCP: Differentiable Markov Channel Pruning for Neural Networks

Shaopeng Guo, Yujie Wang, Quanquan Li, Junjie Yan
5/7/2020
cs.CVcs.LG
quantization-pruning

Official code: Zx55/dmcp (120 stars, Python, CC-BY-4.0, last commit 2020-06-13).

Abstract

Recent works imply that the channel pruning can be regarded as searching optimal sub-structure from unpruned networks. However, existing works based on this observation require training and evaluating a large number of structures, which limits their application.

Show full abstract

In this paper, we propose a novel differentiable method for channel pruning, named Differentiable Markov Channel Pruning (DMCP), to efficiently search the optimal sub-structure. Our method is differentiable and can be directly optimized by gradient descent with respect to standard task loss and budget regularization (e.g. FLOPs constraint). In DMCP, we model the channel pruning as a Markov process, in which each state represents for retaining the corresponding channel during pruning, and transitions between states denote the pruning process. In the end, our method is able to implicitly select the proper number of channels in each layer by the Markov process with optimized transitions. To validate the effectiveness of our method, we perform extensive experiments on Imagenet with ResNet and MobilenetV2. Results show our method can achieve consistent improvement than state-of-the-art pruning methods in various FLOPs settings. The code is available at https://github.com/zx55/dmcp

View on arXivView PDF

Code Implementations(1)

Zx55/dmcpOfficial100%
CC-BY-4.0
12020PythonApr 8, 20206 years agoCC-BY-4.0

Similar Papers

Cite this paper

@article{guo2020dmcp,
  title  = {DMCP: Differentiable Markov Channel Pruning for Neural Networks},
  author = {Shaopeng Guo and Yujie Wang and Quanquan Li and Junjie Yan},
  year   = {2020},
  eprint = {2005.03354},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.03354}
}

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

Discussion