Research map / Architectures and efficiency / Attention and transformers
Accelerating BERT Inference for Sequence Labeling via Early-Exit
Xiaonan Li, Yunfan Shao, Tianxiang Sun, Hang Yan, Xipeng Qiu, Xuanjing Huang
Fudan University
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
8improved
1no clear effect
2hurt
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 |
|---|---|---|---|
| use token-level early exit (TOKEE) instead of sentence-level (SENTEE) | early-exit BERT · Ontonotes 4.0, ~4x speedup | F1 change vs BERT: -14.40 -> -3.81 | Improved |
| use token-level early exit (TOKEE) instead of sentence-level (SENTEE) | early-exit BERT · CoNLL2003, ~2x speedup | F1 change vs BERT: +0.01 -> -0.09 | No clear effect |
| use TOKEE instead of DistilBERT at equal speedup | BERT · CoNLL2003, ~4x speedup | F1 change vs BERT: -2.78 -> -1.44 | Improved |
| add window-based uncertainty (k>0) instead of token-independent uncertainty (k=0) (ablation) | TOKEE · sequence labeling datasets | F1 | Improved |
| use a large window size k (ablation) | TOKEE · sequence labeling, 3x and 4x speedup | F1 | Hurt |
| use max-pooling instead of average-pooling of token uncertainty (ablation) | SENTEE · sequence labeling | F1 | Improved |
| add self-sampling fine-tuning instead of random sampling (ablation) | TOKEE · CoNLL2003 | F1 | Improved |
| add extra fine-tuning stage (versus none) (ablation) | TOKEE · CoNLL2003, high speedup | F1 | Improved |
| apply TOKEE to RoBERTa instead of SENTEE | early-exit RoBERTa · Ontonotes 4.0, ~3x speedup | F1 change vs backbone: -5.61 -> -0.58 | Improved |
| apply TOKEE to ALBERT instead of SENTEE | early-exit ALBERT · Ontonotes 4.0, ~3x speedup | F1 change vs backbone: -6.90 -> -0.87 | Improved |
| increase sentence length | SENTEE speedup · Ontonotes 4.0 | speedup ratio at <1 drop | Hurt |
Open problems in sparse attention for long-context LLMs
Which attention can a long-context model drop without losing the answer?
- The overhead does not vanish. · 14 papers state it
- Very long contexts hit memory limits or go untested. · 8 papers state it
- Sparsity speeds up prefill or decoding, not both. · 6 papers state it
Closest papers by meaning
- Small and Practical BERT Models for Sequence Labeling (EMNLP 2019 · similarity 0.91)
- BERT Loses Patience: Fast and Robust Inference with Early Exit (NeurIPS 2020 · similarity 0.89)
- PCEE-BERT: Accelerating BERT Inference via Patient and Confident Early Exiting (NAACL 2022 · similarity 0.89)
- DeeBERT: Dynamic Early Exiting for Accelerating BERT Inference (ACL 2020 · similarity 0.88)
- Token Dropping for Efficient BERT Pretraining (ACL 2022 · similarity 0.88)
- Augmented Natural Language for Generative Sequence Labeling (EMNLP 2020 · similarity 0.87)
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.