Training Your Sparse Neural Network Better with Any Mask

Ajay Jaiswal, Haoyu Ma, Tianlong Chen, Ying Ding, Zhangyang Wang
6/26/2022
cs.CV

Official code: VITA-Group/ToST (30 stars, Python, last commit 2022-07-24).

Abstract

Pruning large neural networks to create high-quality, independently trainable sparse masks, which can maintain similar performance to their dense counterparts, is very desirable due to the reduced space and time complexity. As research effort is focused on increasingly sophisticated pruning methods that leads to sparse subnetworks trainable from the scratch, we argue for an orthogonal, under-explored theme: improving training techniques for pruned sub-networks, i.e. sparse training.

Show full abstract

Apart from the popular belief that only the quality of sparse masks matters for sparse training, in this paper we demonstrate an alternative opportunity: one can carefully customize the sparse training techniques to deviate from the default dense network training protocols, consisting of introducing ``ghost" neurons and skip connections at the early stage of training, and strategically modifying the initialization as well as labels. Our new sparse training recipe is generally applicable to improving training from scratch with various sparse masks. By adopting our newly curated techniques, we demonstrate significant performance gains across various popular datasets (CIFAR-10, CIFAR-100, TinyImageNet), architectures (ResNet-18/32/104, Vgg16, MobileNet), and sparse mask options (lottery ticket, SNIP/GRASP, SynFlow, or even randomly pruning), compared to the default training protocols, especially at high sparsity levels. Code is at https://github.com/VITA-Group/ToST

View on arXivView PDF

Code Implementations(1)

VITA-Group/ToSTOfficial100%

[ICML2022] Training Your Sparse Neural Network Better with Any Mask. Ajay Jaiswal, Haoyu Ma, Tianlong Chen, ying Ding, and Zhangyang Wang

304PythonJun 28, 20224 years ago
lottery-ticketssparse-trainingsparsity

Similar Papers

Cite this paper

@article{jaiswal2022training,
  title  = {Training Your Sparse Neural Network Better with Any Mask},
  author = {Ajay Jaiswal and Haoyu Ma and Tianlong Chen and Ying Ding and Zhangyang Wang},
  year   = {2022},
  eprint = {2206.12755},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.12755}
}

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

Discussion