Neural Pruning via Growing Regularization

Huan Wang, Can Qin, Yulun Zhang, Yun Fu
12/16/2020
cs.CVcs.AIcs.LG
quantization-pruning

No official code found. Best implementation: MingSun-Tse/Regularization-Pruning (82 stars, Python, last commit 2021-07-15).

Abstract

Regularization has long been utilized to learn sparsity in deep neural network pruning. However, its role is mainly explored in the small penalty strength regime.

Show full abstract

In this work, we extend its application to a new scenario where the regularization grows large gradually to tackle two central problems of pruning: pruning schedule and weight importance scoring. (1) The former topic is newly brought up in this work, which we find critical to the pruning performance while receives little research attention. Specifically, we propose an L2 regularization variant with rising penalty factors and show it can bring significant accuracy gains compared with its one-shot counterpart, even when the same weights are removed. (2) The growing penalty scheme also brings us an approach to exploit the Hessian information for more accurate pruning without knowing their specific values, thus not bothered by the common Hessian approximation problems. Empirically, the proposed algorithms are easy to implement and scalable to large datasets and networks in both structured and unstructured pruning. Their effectiveness is demonstrated with modern deep neural networks on the CIFAR and ImageNet datasets, achieving competitive results compared to many state-of-the-art algorithms. Our code and trained models are publicly available at https://github.com/mingsuntse/regularization-pruning.

View on arXivView PDF

Code Implementations(1)

[ICLR'21] Neural Pruning via Growing Regularization (PyTorch)

8222PythonDec 15, 20205 years ago
efficient-neural-networksfilter-pruningmodel-compressionpruningregularization

Similar Papers

Cite this paper

@article{wang2020neural,
  title  = {Neural Pruning via Growing Regularization},
  author = {Huan Wang and Can Qin and Yulun Zhang and Yun Fu},
  year   = {2020},
  eprint = {2012.09243},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.09243}
}

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

Discussion