Exploring Weight Importance and Hessian Bias in Model Pruning
arXiv:2006.10903
Abstract
Model pruning is an essential procedure for building compact and computationally-efficient machine learning models. A key feature of a good pruning algorithm is that it accurately quantifies the relative importance of the model weights. While model pruning has a rich history, we still don't have a full grasp of the pruning mechanics even for relatively simple problems involving linear models or shallow neural nets. In this work, we provide a principled exploration of pruning by building on a natural notion of importance. For linear models, we show that this notion of importance is captured by covariance scaling which connects to the well-known Hessian-based pruning. We then derive asymptotic formulas that allow us to precisely compare the performance of different pruning methods. For neural networks, we demonstrate that the importance can be at odds with larger magnitudes and proper initialization is critical for magnitude-based pruning. Specifically, we identify settings in which weights become more important despite becoming smaller, which in turn leads to a catastrophic failure of magnitude-based pruning. Our results also elucidate that implicit regularization in the form of Hessian structure has a catalytic role in identifying the important weights, which dictate the pruning performance.
28 pages
References in corpus (23)
- Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Coding
- Message Passing Algorithms for Compressed Sensing
- Reconciling modern machine learning practice and the bias-variance trade-off
- Gradient Descent Provably Optimizes Over-parameterized Neural Networks
- Fine-Grained Analysis of Optimization and Generalization for Overparameterized Two-Layer Neural Networks
- On Lazy Training in Differentiable Programming
- The generalization error of random features regression: Precise asymptotics and double descent curve
- Gradient Descent Finds Global Minima of Deep Neural Networks
- Gradient Descent with Early Stopping is Provably Robust to Label Noise for Overparameterized Neural Networks
- Picking Winning Tickets Before Training by Preserving Gradient Flow
- In Search of the Real Inductive Bias: On the Role of Implicit Regularization in Deep Learning
- The LASSO with Non-linear Measurements is Equivalent to One With Linear Measurements
- The generalization error of max-margin linear classifiers: Benign overfitting and high dimensional asymptotics in the overparametrized regime
- Proving the Lottery Ticket Hypothesis: Pruning is All You Need
- Risk and parameter convergence of logistic regression
- Training Skinny Deep Neural Networks with Iterative Hard Thresholding Methods
- Overparameterized Nonlinear Learning: Gradient Descent Takes the Shortest Path?
- Stochastic Gradient Descent on Separable Data: Exact Convergence with a Fixed Learning Rate
- The Full Spectrum of Deepnet Hessians at Scale: Dynamics with SGD Training and Sample Size
- Stochastic Gradient/Mirror Descent: Minimax Optimality and Implicit Regularization
- Luck Matters: Understanding Training Dynamics of Deep ReLU Networks
- One-Shot Pruning of Recurrent Neural Networks by Jacobian Spectrum Evaluation
- Path Length Bounds for Gradient Descent and Flow