Soft Filter Pruning for Accelerating Deep Convolutional Neural Networks

Yang He, Guoliang Kang, Xuanyi Dong, Yanwei Fu, Yi Yang
8/21/2018
cs.CV

Official code: he-y/soft-filter-pruning (385 stars, PyTorch, last commit 2019-10-02).

Abstract

This paper proposed a Soft Filter Pruning (SFP) method to accelerate the inference procedure of deep Convolutional Neural Networks (CNNs). Specifically, the proposed SFP enables the pruned filters to be updated when training the model after pruning. SFP has two advantages over previous works: (1) Larger model capacity. Updating previously pruned filters provides our approach with larger optimization space than fixing the filters to zero. Therefore, the network trained by our method has a larger model capacity to learn from the training data. (2) Less dependence on the pre-trained model. Large capacity enables SFP to train from scratch and prune the model simultaneously. In contrast, previous filter pruning methods should be conducted on the basis of the pre-trained model to guarantee their performance. Empirically, SFP from scratch outperforms the previous filter pruning methods. Moreover, our approach has been demonstrated effective for many advanced CNN architectures. Notably, on ILSCRC-2012, SFP reduces more than 42% FLOPs on ResNet-101 with even 0.2% top-5 accuracy improvement, which has advanced the state-of-the-art. Code is publicly available on GitHub: https://github.com/he-y/soft-filter-pruning

View on arXivView PDF

Code Implementations(1)

PyTorch

Soft Filter Pruning for Accelerating Deep Convolutional Neural Networks

38576Shell, PythonApr 25, 20187 years ago
model-compressionpruningpytorch

Similar Papers

Cite this paper

@article{he2018soft,
  title  = {Soft Filter Pruning for Accelerating Deep Convolutional Neural Networks},
  author = {Yang He and Guoliang Kang and Xuanyi Dong and Yanwei Fu and Yi Yang},
  year   = {2018},
  eprint = {1808.06866},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1808.06866}
}

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

Discussion