Research map / Architectures and efficiency / Pruning and efficient tuning
EBERT: Efficient BERT Inference with Dynamic Structured Pruning
Zejian Liu, Fanrong Li, Gang Li, Jian Cheng
University of Chinese Academy of Sciences · Chinese Academy of Sciences
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- SST-2 leaderboard accuracy 93.4 · rank 103 of 272 papers
- QNLI leaderboard accuracy 89.2 · rank 48 of 92 papers
- MNLI-m leaderboard accuracy 83.3 · rank 16 of 27 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use Gumbel-Softmax masks instead of Top-k masks (ablation) | EBERT (BERT-base) · QQP dev (50% FLOPs) | accuracy drop vs full model: drop 0.6% vs 1.8% | Improved |
| use Gumbel-Softmax masks instead of Top-k masks (ablation) | EBERT (RoBERTa-base) · MNLI (50% FLOPs) | accuracy: +2.3% | Improved |
| use Gumbel-Softmax masks instead of Top-k masks (ablation) | EBERT (BERT-base) · SQuAD v1.1 dev (50% FLOPs) | EM / F1: +2.8% EM, +2.4% F1 | Improved |
| use Gumbel-Softmax masks instead of Top-k masks (ablation) | EBERT (BERT-base) · SQuAD v2.0 dev (50% FLOPs) | EM / F1: +3.3% EM, +3.4% F1 | Improved |
| add re-training stage of BERT branch (ablation) | EBERT (RoBERTa-base) · MNLI dev (50% FLOPs) | accuracy: 84.4 -> 85.0 | Improved |
| add re-training stage of BERT branch (ablation) | EBERT (RoBERTa-base) · SST-2 dev (50% FLOPs) | accuracy: 92.2 -> 92.8 | Improved |
| add re-training stage on large dataset (MNLI) vs small (SST-2) (ablation) | EBERT (RoBERTa-base) · MNLI vs SST-2 | avg accuracy gain: +0.4% MNLI vs +0.8% SST-2 | Mixed |
| add per-layer FLOPs losses L_M and L_F (ablation) | EBERT (RoBERTa-base) · SST-2 | non-pruned heads per layer: about 9 heads at 80% FLOPs | Improved |
| prune dynamically (EBERT_g, 60% FLOPs) vs DeeBERT | BERT-base · MNLI-m test | accuracy: 80.0 -> 83.3 | Improved |
| dynamic pruning at 50% FLOPs vs full BERT-base | EBERT_g · MNLI-m dev | accuracy: 84.7 -> 82.4 | Hurt |
Open problems in layer-wise pruning of LLMs
How can layer-wise pruning keep accuracy at high sparsity and still give real speedups on larger LLMs?
- Accuracy drops sharply at high sparsity or compression ratios. · 15 papers state it
- Pruning is checked only on models far smaller than 70B. · 10 papers state it
- Sparsity gives little real speedup without special kernels or hardware. · 10 papers state it
Closest papers by meaning
- SkipBERT: Efficient Inference with Shallow Layer Skipping (ACL 2022 · similarity 0.85)
- The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Models (EMNLP 2022 · similarity 0.85)
- AdapLeR: Speeding up Inference by Adaptive Length Reduction (ACL 2022 · similarity 0.84)
- Block Pruning For Faster Transformers (EMNLP 2021 · similarity 0.84)
- Less is KEN: a Universal and Simple Non-Parametric Pruning Algorithm for Large Language Models (ACL 2024 · similarity 0.84)
- PoWER-BERT: Accelerating BERT Inference via Progressive Word-vector Elimination (ICML 2020 · similarity 0.84)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.