AI Paper Atlas

Research map / Architectures and efficiency / Attention and transformers

Bag of Tricks for Optimizing Transformer Efficiency

Ye Lin, Yanyang Li, Tong Xiao, Jingbo Zhu

EMNLP 2021Architectures and efficiency › Attention and transformersapproach: Vision transformer pruning7 citations (OpenAlex)

Northeastern University · The Chinese University of Hong Kong

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

14measured effects
8improved
1no clear effect
2hurt
3mixed

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

This paper tried a common change: Larger batch size

increase inference batch size · WMT14 En-De · speedup over baseline Hurt

What 848 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
reduce BPE merges from 32K to 10K (ablation)Transformer-base · WMT14 En-DeBLEU / speed: BLEU 27.21 -> 27.45; CPU 7.17 -> 7.72 sent./sImproved
restrict decoder to 1 layer (shallow decoder) (ablation)Transformer-base + 10K BPE · WMT14 En-DeBLEU / CPU speed: BLEU 27.45 -> 26.46; CPU 7.72 -> 19.44 sent./sMixed
prune decoder attention to one head (ablation)MDN build-up · WMT14 En-DeGPU speed: GPU 247.04 -> 243.42 sent./sNo clear effect
drop decoder FFN (ablation)MDN build-up · WMT14 En-DeBLEU: 24.47 -> 23.26Hurt
add weight distillation (ablation)MDN build-up · WMT14 En-DeBLEU: 23.78 -> 27.09Improved
add deep configuration (ablation)MDN build-up · WMT14 En-DeBLEU: 22.83 -> 23.78Improved
remove decoder dropout (ablation)MDN build-up · WMT14 En-DeBLEU: 27.09 -> 27.18Improved
remove label smoothing (ablation)MDN build-up · WMT14 En-DeBLEU: 27.18 -> 27.23Improved
apply MDN to Transformer-baseTransformer-base · WMT14 En-DeCPU/GPU speedup: 3.28x CPU, 2.53x GPU at BLEU 27.23 vs 27.21Improved
apply MDN to Transformer-deepTransformer-deep (48-layer encoder) · WMT14 En-Despeedup / BLEU: 2.49x CPU, 2.09x GPU; BLEU 29.43 -> 29.02Mixed
apply proposed tricks to AANAAN · WMT14 En-DeCPU speed: 9.82 -> 19.32 sent./sImproved
apply proposed tricks to CANCAN · WMT14 En-DeGPU speed: 279.39 -> 293.43 sent./sImproved

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