[Paper Review] The State of Sparsity in Deep Neural Networks
This paper evaluates three sparsity-inducing methods on Transformer (WMT 2014 En-De) and ResNet-50 (ImageNet) and finds magnitude pruning often matches or outperforms complex methods, setting a new sparsity-accuracy benchmark for ResNet-50 with magnitude pruning.
We rigorously evaluate three state-of-the-art techniques for inducing sparsity in deep neural networks on two large-scale learning tasks: Transformer trained on WMT 2014 English-to-German, and ResNet-50 trained on ImageNet. Across thousands of experiments, we demonstrate that complex techniques (Molchanov et al., 2017; Louizos et al., 2017b) shown to yield high compression rates on smaller datasets perform inconsistently, and that simple magnitude pruning approaches achieve comparable or better results. Additionally, we replicate the experiments performed by (Frankle & Carbin, 2018) and (Liu et al., 2018) at scale and show that unstructured sparse architectures learned through pruning cannot be trained from scratch to the same test set performance as a model trained with joint sparsification and optimization. Together, these results highlight the need for large-scale benchmarks in the field of model compression. We open-source our code, top performing model checkpoints, and results of all hyperparameter configurations to establish rigorous baselines for future work on compression and sparsification.
Motivation & Objective
- Assess the effectiveness of variational dropout, l0 regularization, and magnitude pruning on large-scale models.
- Compare sparsity-accuracy trade-offs across Transformer and ResNet-50.
- Investigate whether pruning-induced sparsity can train from scratch (lottery tickets) at scale.
- Provide open-source code, checkpoints, and hyperparameter results to establish baselines.
Proposed method
- Evaluate three sparsity techniques (variational dropout, l0 regularization, magnitude pruning) on Transformer (WMT 2014 En-De) and ResNet-50 (ImageNet).
- Include a random pruning baseline for lower-bound comparison.
- Analyze layer-wise sparsity distributions to understand non-uniform sparsity patterns.
- Repeat lottery ticket and scratch experiments to test training from scratch with learned sparse architectures.
Experimental results
Research questions
- RQ1Do complex sparsity techniques outperform magnitude pruning on large-scale tasks?
- RQ2How does sparsity distribution across layers affect compression-accuracy trade-offs?
- RQ3Can sparse architectures learned by pruning be trained from scratch to match jointly trained sparse models?
- RQ4What is the impact of sparsity on training time and resource usage?
- RQ5Are results consistent across Transformer and ResNet-50 at scale?
Key findings
- Magnitude pruning achieves comparable or better results than more complex sparsity techniques at high sparsity levels.
- l0 regularization performs well on Transformer but not on ResNet-50.
- Variational dropout can maintain high sparsity with good accuracy but requires more memory and underperforms at some sparsity ranges.
- A new state-of-the-art sparsity-accuracy trade-off for ResNet-50 is achieved with magnitude pruning.
- Unstructured sparse architectures learned by pruning cannot be trained from scratch to match jointly trained sparse models at scale.
- Open-source code, checkpoints, and hyperparameters are provided as baselines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.