Research map / Architectures and efficiency / RNNs and normalization
AdapLeR: Speeding up Inference by Adaptive Length Reduction
Ali Modarressi, Hosein Mohebbi, Mohammad Taher Pilehvar
Tilburg University
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 92.3 · rank 144 of 272 papers
- IMDB leaderboard accuracy 91.7 · rank 58 of 174 papers
- MRPC leaderboard F1 87.6 · rank 24 of 37 papers
- QNLI leaderboard accuracy 89.3 · rank 47 of 92 papers
- MNLI leaderboard accuracy 82.9 · rank 43 of 78 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use AdapLeR token elimination instead of PoWER-BERT/TR-BERT | BERT-base-uncased · 8 classification tasks | speedup: +0.2x to +7.4x over the best model per dataset | Improved |
| apply AdapLeR length reduction | BERT-base-uncased · DBpedia test | speedup: 1.00x -> 22.23x (accuracy 99.3 -> 98.9) | Improved |
| apply AdapLeR length reduction | BERT-base-uncased · IMDB test | accuracy: 93.8 -> 91.7 | Hurt |
| apply AdapLeR length reduction | BERT-base-uncased · MNLI test | accuracy: 84.2 -> 82.9 (speedup 1.42x) | Hurt |
| apply AdapLeR length reduction | BERT-base-uncased · HateXplain test | accuracy: 68.3 -> 68.6 (speedup 4.73x) | Improved |
| apply PoWER-BERT or TR-BERT to tasks needing more contextualism | BERT-base-uncased · QNLI, MNLI, MRPC | speedup: TR-BERT 1.09x, 1.00x, 1.16x | No clear effect |
| select tokens by saliency instead of attention (all) (ablation) | BERT fine-tuned on top-k tokens · ERASER Movie Reviews | accuracy: 78.5 -> 92.3 | Improved |
| select tokens by saliency instead of [CLS] attention (ablation) | BERT fine-tuned on top-k tokens · ERASER MultiRC | accuracy: 63.7 -> 66.4 | Improved |
| fine-tune on human rationales only instead of full input (ablation) | BERT · ERASER Movie Reviews | accuracy: 93.3 -> 96.7 (3.7x speedup) | Improved |
| fine-tune on human rationales only instead of full input (ablation) | BERT · ERASER MultiRC | accuracy: 67.7 -> 76.6 (4.6x speedup) | Improved |
| use Contribution Predictor instead of attention or saliency for selecting tokens (ablation) | AdapLeR · ERASER Movie Reviews | false positive rate | Improved |
| use input-adaptive reduction (AdapLeR, TR-BERT) vs fixed retention (PoWER-BERT) | speedup-accuracy curves · two tasks | accuracy vs speedup | Improved |
Later papers that compared with this method
1 later accepted paper reports AdapLeR as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.
- Leap-of-Thought: Accelerating Transformers via Dynamic Token Routing (EMNLP 2023 · better on 7 of 8 shared results)
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 0 of 1 on most shared results.
- PoWER-BERT — PoWER-BERT: Accelerating BERT Inference via Progressive Word-vector Elimination (ICML 2020) · better on 4 of 8 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in neural scaling laws
Do fitted scaling laws still hold at frontier scale and under other hyperparameters, architectures and tasks?
- Laws are fit on small models and extrapolated to frontier scale. · 21 papers state it
- Learning rate, batch size or schedule were fixed or not swept. · 10 papers state it
- Each law is fit on one architecture, dataset or recipe and may not transfer. · 9 papers state it
Closest papers by meaning
- TR-BERT: Dynamic Token Reduction for Accelerating BERT Inference (NAACL 2021 · similarity 0.89)
- Token Dropping for Efficient BERT Pretraining (ACL 2022 · similarity 0.88)
- DeeBERT: Dynamic Early Exiting for Accelerating BERT Inference (ACL 2020 · similarity 0.88)
- SkipBERT: Efficient Inference with Shallow Layer Skipping (ACL 2022 · similarity 0.88)
- The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Models (EMNLP 2022 · similarity 0.88)
- BERT Loses Patience: Fast and Robust Inference with Early Exit (NeurIPS 2020 · similarity 0.88)
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.