DeepCuts: Single-Shot Interpretability based Pruning for BERT
Not on the map. Why?
Abstract (arXiv)
As language models have grown in parameters and layers, it has become much harder to train and infer with them on single GPUs. This is severely restricting the availability of large language models such as GPT-3, BERT-Large, and many others. A common technique to solve this problem is pruning the network architecture by removing transformer heads, fully-connected weights, and other modules. The main challenge is to discern the important parameters from the less important ones. Our goal is to find strong metrics for identifying such parameters. We thus propose two strategies: Cam-Cut based on the GradCAM interpretations, and Smooth-Cut based on the SmoothGrad, for calculating the importance scores. Through this work, we show that our scoring functions are able to assign more relevant task-based scores to the network parameters, and thus both our pruning approaches significantly outperform the standard weight and gradient-based strategies, especially at higher compression ratios in BERT-based models. We also analyze our pruning masks and find them to be significantly different from the ones obtained using standard metrics.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 26 of its 31 references that are in the map. First posted on arXiv 27 Dec 2022.
Builds on
26 of 31 references.
References · 26
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
- 2017SmoothGrad: removing noise by adding noisecited by 1,097
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
- 2018Neural Network Acceptability Judgmentscited by 952
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2018SNIP: Single-shot Network Pruning based on Connection Sensitivitycited by 802
14 more
- 2021Knowledge Neurons in Pretrained Transformerscited by 590
- 2020What is the State of Neural Network Pruning?cited by 578
- 2017Learning Sparse Neural Networks through L0 Regularizationcited by 571
- 2019The State of Sparsity in Deep Neural Networkscited by 471
- 2014Understanding Deep Image Representations by Inverting Themcited by 399
- 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
- 2021Accelerating Sparse Deep Neural Networkscited by 213
- 2020Layer-adaptive sparsity for the Magnitude-based Pruningcited by 122
- 2022The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Modelscited by 115
- 2020When BERT Plays the Lottery, All Tickets Are Winningcited by 114
- 2020GAMI-Net: An Explainable Neural Network based on Generalized Additive Models with Structured Interactionscited by 82
- 2021Hessian-Aware Pruning and Optimal Neural Implantcited by 43
- 2020Know What You Don't Need: Single-Shot Meta-Pruning for Attention Headscited by 16
- 2022The Topological BERT: Transforming Attention into Topology for Natural Language Processingcited by 10
Built on by
Citing papers per year: 2023: 1.
1 paper.