One-Cycle Pruning: Pruning ConvNets Under a Tight Training Budget

Nathan Hubens, Matei Mancas, Bernard Gosselin, Marius Preda, Titus Zaharia
7/5/2021
cs.CVcs.AI

Official code: nathanhubens/One-Cycle-Pruning (4 stars, Python, last commit 2021-06-11).

Abstract

Introducing sparsity in a neural network has been an efficient way to reduce its complexity while keeping its performance almost intact. Most of the time, sparsity is introduced using a three-stage pipeline: 1) train the model to convergence, 2) prune the model according to some criterion, 3) fine-tune the pruned model to recover performance.

Show full abstract

The last two steps are often performed iteratively, leading to reasonable results but also to a time-consuming and complex process. In our work, we propose to get rid of the first step of the pipeline and to combine the two other steps in a single pruning-training cycle, allowing the model to jointly learn for the optimal weights while being pruned. We do this by introducing a novel pruning schedule, named One-Cycle Pruning, which starts pruning from the beginning of the training, and until its very end. Adopting such a schedule not only leads to better performing pruned models but also drastically reduces the training budget required to prune a model. Experiments are conducted on a variety of architectures (VGG-16 and ResNet-18) and datasets (CIFAR-10, CIFAR-100 and Caltech-101), and for relatively high sparsity values (80%, 90%, 95% of weights removed). Our results show that One-Cycle Pruning consistently outperforms commonly used pruning schedules such as One-Shot Pruning, Iterative Pruning and Automated Gradual Pruning, on a fixed training budget.

View on arXivView PDF

Code Implementations(1)

41PythonJun 8, 20215 years ago

Similar Papers

Cite this paper

@article{hubens2021onecycle,
  title  = {One-Cycle Pruning: Pruning ConvNets Under a Tight Training Budget},
  author = {Nathan Hubens and Matei Mancas and Bernard Gosselin and Marius Preda and Titus Zaharia},
  year   = {2021},
  eprint = {2107.02086},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.02086}
}

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

Discussion