Research map / Architectures and efficiency / RNNs and normalization
DeeBERT: Dynamic Early Exiting for Accelerating BERT Inference
Ji Xin, Raphael Tang, Jaejun Lee, Yaoliang Yu, Jimmy Lin
University of Waterloo · Vector Institute for Artificial Intelligence
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add early-exit off-ramps with entropy threshold | BERT-base · SST-2 test | accuracy and runtime: -0.6 accuracy, -40% runtime | Mixed |
| add early-exit off-ramps, large threshold | BERT-base · MRPC test | F1: -3.0 F1 at -44% runtime | Hurt |
| add early-exit off-ramps with small threshold | RoBERTa-base · SST-2 test | accuracy: +0.1 at -26% runtime | No clear effect |
| use DeeBERT instead of DistilBERT | BERT-base · RTE test | accuracy: -9.4 (DistilBERT) vs -0.6 at -11% (DeeBERT) | Improved |
| ensemble multiple layers instead of a single off-ramp output (ablation) | DeeBERT · GLUE | accuracy | No clear effect |
| early exiting as regularization (smaller effective model) (ablation) | DeeBERT · RTE, SST-2 (RoBERTa) | accuracy | Mixed |
| compare expected saving with measured saving (ablation) | DeeBERT · GLUE dev | runtime saving | Improved |
| exit at earlier layers on RoBERTa vs BERT (ablation) | RoBERTa-base · GLUE dev | accuracy | Mixed |
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
- SkipBERT: Efficient Inference with Shallow Layer Skipping (ACL 2022 · similarity 0.92)
- MosaicBERT: A Bidirectional Encoder Optimized for Fast Pretraining (NeurIPS 2023 · similarity 0.91)
- EarlyBERT: Efficient BERT Training via Early-bird Lottery Tickets (ACL 2021 · similarity 0.91)
- LeeBERT: Learned Early Exit for BERT with cross-level optimization (ACL 2021 · similarity 0.91)
- TinyBERT: Distilling BERT for Natural Language Understanding (EMNLP 2020 · similarity 0.91)
- bert2BERT: Towards Reusable Pretrained Language Models (ACL 2022 · similarity 0.91)
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.