DeepCuts: Single-Shot Interpretability based Pruning for BERT
Jasdeep Singh Grover, Bhavesh Gawri, Ruskin Raj Manku

TL;DR
DeepCuts introduces two interpretability-based pruning methods for BERT that effectively identify important parameters, enabling significant model compression while maintaining task performance.
Contribution
The paper presents Cam-Cut and Smooth-Cut, novel importance scoring strategies based on interpretability techniques, outperforming standard pruning metrics for BERT models.
Findings
Our methods outperform standard metrics at high compression ratios.
Pruning masks differ significantly from those obtained by traditional metrics.
The proposed scoring functions better capture task-relevant parameters.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Adversarial Robustness in Machine Learning · Multimodal Machine Learning Applications
MethodsAttention Is All You Need · Pruning · Linear Layer · Cosine Annealing · Multi-Head Attention · Linear Warmup With Cosine Annealing · Softmax · Weight Decay · Dense Connections · {Dispute@FaQ-s}How to file a dispute with Expedia?
