scimeatlas

Research map / Architectures and efficiency / Attention and transformers

TR-BERT: Dynamic Token Reduction for Accelerating BERT Inference

Deming Ye, Yankai Lin, Yufei Huang, Maosong Sun

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

Tsinghua University · Tencent · Beijing Academy of Artificial Intelligence

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
9improved
1no clear effect
2hurt
1mixed

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

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use residual-based token selection instead of attention-based selection (keeping 10% tokens, after layer 4) (ablation)BERT · SQuAD 2.0 pilotF1: +31.8% F1Improved
use residual-based token selection instead of attention-based selection (10% tokens) (ablation)BERT · IMDB pilotaccuracy: +9.5% accuracyImproved
add RL-learned dynamic token reduction (TR-BERT_12)BERT · SQuAD 2.0F1: 77.12 -> 75.66 F1, 1.00x -> 2.08x FLOPsMixed
use TR-BERT_12 instead of DynaBERTDynaBERT · SQuAD 2.0F1: 74.83 -> 75.66Improved
use TR-BERT_12 instead of DynaBERTDynaBERT · NaturalQAF1: 78.14 -> 79.03Improved
use TR-BERT_6 instead of PoWER-BERTPoWER-BERT · IMDBaccuracy: 92.02 (3.05x) -> 92.64 (4.13x)Improved
use TR-BERT_6 (distilled 6-layer base) instead of TR-BERT_12TR-BERT · RACEaccuracy: 65.00 -> 53.40Hurt
use TR-BERT_6 instead of TR-BERT_12 at high speedupTR-BERT · tasks at high speedup ratioquality vs speedImproved
use 1024-token input with token reduction instead of BERTBERT · HotpotQAF1: 57.33 -> 65.57, 1.56xImproved
use 1024-token input with token reduction instead of BERTBERT · WikiHopaccuracy: 67.67 -> 67.78, 4.65xNo clear effect
use TR-BERT-1024 instead of BERT-1024BERT-1024 · Hyperpartisanaccuracy: 76.83 -> 74.39, 0.92x -> 1.96xHurt
number of token reduction modules T=2 or 3 instead of T=1 (ablation)TR-BERT · tuningquality-speed trade-offImproved

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most 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 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