scimeatlas

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

ACL 2021Architectures and efficiency › Attention and transformersapproach: Sparse attention for long-context LLMsopen problems in this approach57 citations (OpenAlex)

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 changedWhereMeasuredEffect
use token-level early exit (TOKEE) instead of sentence-level (SENTEE)early-exit BERT · Ontonotes 4.0, ~4x speedupF1 change vs BERT: -14.40 -> -3.81Improved
use token-level early exit (TOKEE) instead of sentence-level (SENTEE)early-exit BERT · CoNLL2003, ~2x speedupF1 change vs BERT: +0.01 -> -0.09No clear effect
use TOKEE instead of DistilBERT at equal speedupBERT · CoNLL2003, ~4x speedupF1 change vs BERT: -2.78 -> -1.44Improved
add window-based uncertainty (k>0) instead of token-independent uncertainty (k=0) (ablation)TOKEE · sequence labeling datasetsF1Improved
use a large window size k (ablation)TOKEE · sequence labeling, 3x and 4x speedupF1Hurt
use max-pooling instead of average-pooling of token uncertainty (ablation)SENTEE · sequence labelingF1Improved
add self-sampling fine-tuning instead of random sampling (ablation)TOKEE · CoNLL2003F1Improved
add extra fine-tuning stage (versus none) (ablation)TOKEE · CoNLL2003, high speedupF1Improved
apply TOKEE to RoBERTa instead of SENTEEearly-exit RoBERTa · Ontonotes 4.0, ~3x speedupF1 change vs backbone: -5.61 -> -0.58Improved
apply TOKEE to ALBERT instead of SENTEEearly-exit ALBERT · Ontonotes 4.0, ~3x speedupF1 change vs backbone: -6.90 -> -0.87Improved
increase sentence lengthSENTEE speedup · Ontonotes 4.0speedup ratio at <1 dropHurt

Open problems in sparse attention for long-context LLMs

Which attention can a long-context model drop without losing the answer?

All 4 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy