When to Prune? A Policy towards Early Structural Pruning
arXiv:2110.12007
Abstract
Pruning enables appealing reductions in network memory footprint and time complexity. Conventional post-training pruning techniques lean towards efficient inference while overlooking the heavy computation for training. Recent exploration of pre-training pruning at initialization hints on training cost reduction via pruning, but suffers noticeable performance degradation. We attempt to combine the benefits of both directions and propose a policy that prunes as early as possible during training without hurting performance. Instead of pruning at initialization, our method exploits initial dense training for few epochs to quickly guide the architecture, while constantly evaluating dominant sub-networks via neuron importance ranking. This unveils dominant sub-networks whose structures turn stable, allowing conventional pruning to be pushed earlier into the training. To do this early, we further introduce an Early Pruning Indicator (EPI) that relies on sub-network architectural similarity and quickly triggers pruning when the sub-network's architecture stabilizes. Through extensive experiments on ImageNet, we show that EPI empowers a quick tracking of early training epochs suitable for pruning, offering same efficacy as an otherwise ``oracle'' grid-search that scans through epochs and requires orders of magnitude more compute. Our method yields top-1 accuracy boost over state-of-the-art pruning counterparts, cuts down training cost on GPU by , hence offers a new efficiency-accuracy boundary for network pruning during training.
References in corpus (15)
- Distilling the Knowledge in a Neural Network
- MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications
- Language Models are Few-Shot Learners
- Pruning Convolutional Neural Networks for Resource Efficient Inference
- Rethinking the Value of Network Pruning
- Trained Ternary Quantization
- The State of Sparsity in Deep Neural Networks
- Similarity of Neural Network Representations Revisited
- Learning the Number of Neurons in Deep Networks
- Picking Winning Tickets Before Training by Preserving Gradient Flow
- Pruning neural networks without any data by iteratively conserving synaptic flow
- The Early Phase of Neural Network Training
- Progressive Skeletonization: Trimming more fat from a network at initialization
- Gradual Channel Pruning while Training using Feature Relevance Scores for Convolutional Neural Networks
- APQ: Joint Search for Network Architecture, Pruning and Quantization Policy