Pruning Deep Neural Networks from a Sparsity Perspective
Authors:
- Enmao DiaoEDEnmao Diao
- Ganghua WangGWGanghua Wang
- Jiawei ZhanJZJiawei Zhan
- Yuhong YangYYYuhong Yang
- Jie DingJDJie Ding
- Vahid TarokhVTVahid Tarokh
Preprint
Abstract
In recent years, deep network pruning has attracted significant attention in order to enable the rapid deployment of AI into small devices with computation and memory constraints. Pruning is often achieved by dropping redundant weights, neurons, or layers of a deep network while attempting to retain a comparable test performance. Many deep pruning algorithms have been proposed with impressive empirical success. However, existing approaches lack a quantifiable measure to estimate the compressibility of a sub-network during each pruning iteration and thus may under-prune or over-prune the model. In this work, we propose PQ Index (PQI) to measure the potential compressibility of deep neural networks and use this to develop a Sparsity-informed Adaptive Pruning (SAP) algorithm. Our extensive experiments corroborate the hypothesis that for a generic pruning procedure, PQI decreases first when a large model is being effectively regularized and then increases when its compressibility reaches a limit that appears to correspond to the beginning of underfitting. Subsequently, PQI decreases again when the model collapse and significant deterioration in the performance of the model start to occur. Additionally, our experiments demonstrate that the proposed adaptive pruning algorithm with proper choice of hyper-parameters is superior to the iterative pruning algorithms such as the lottery ticket-based pruning methods, in terms of both compression efficiency and robustness.Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- wav2vec: Unsupervised Pre-Training for Speech Recognition2019
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding2019
- Model Selection Techniques: An OverviewIEEE Signal Processing Magazine, 2018
- ThiNet: A Filter Level Pruning Method for Deep Neural Network Compression2017
- Comparing Measures of SparsityIEEE Transactions on Information Theory, 2009
- A Frame Construction and a Universal Distortion Bound for Sparse RepresentationsIEEE Transactions on Signal Processing, 2008
- Entropy and diversityOikos, 2006
- Atomic Decomposition by Basis PursuitSIAM Review, 2001
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998
- Regression Shrinkage and Selection Via the LassoJournal of the Royal Statistical Society Series B: Statistical Methodology, 1996