Data-Driven Sparse Structure Selection for Deep Neural Networks

Zehao Huang, Naiyan Wang
7/5/2017
cs.CVcs.LGcs.NE

Official code: huangzehao/sparse-structure-selection (39 stars, Apache-2.0, last commit 2018-07-17).

Abstract

Deep convolutional neural networks have liberated its extraordinary power on various tasks. However, it is still very challenging to deploy state-of-the-art models into real-world applications due to their high computational complexity. How can we design a compact and effective network without massive experiments and expert knowledge? In this paper, we propose a simple and effective framework to learn and prune deep models in an end-to-end manner. In our framework, a new type of parameter -- scaling factor is first introduced to scale the outputs of specific structures, such as neurons, groups or residual blocks. Then we add sparsity regularizations on these factors, and solve this optimization problem by a modified stochastic Accelerated Proximal Gradient (APG) method. By forcing some of the factors to zero, we can safely remove the corresponding structures, thus prune the unimportant parts of a CNN. Comparing with other structure selection methods that may need thousands of trials or iterative fine-tuning, our method is trained fully end-to-end in one training pass without bells and whistles. We evaluate our method, Sparse Structure Selection with several state-of-the-art CNNs, and demonstrate very promising results with adaptive depth and width selection.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
397PythonJul 24, 20188 years agoApache-2.0

Similar Papers

Cite this paper

@article{huang2017datadriven,
  title  = {Data-Driven Sparse Structure Selection for Deep Neural Networks},
  author = {Zehao Huang and Naiyan Wang},
  year   = {2017},
  eprint = {1707.01213},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1707.01213}
}

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

Discussion