Research map / Architectures and efficiency / Attention and transformers
Bag of Tricks for Optimizing Transformer Efficiency
Ye Lin, Yanyang Li, Tong Xiao, Jingbo Zhu
Northeastern University · The Chinese University of Hong Kong
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.
On benchmark leaderboards
- WMT14 En-De leaderboard BLEU 27.23 · rank 84 of 112 papers
- WMT14 En-Fr leaderboard BLEU 40.58 · rank 34 of 45 papers
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
- 490 improved
- 116 no clear effect
- 57 mixed
- 185 hurt
- Predicting the Emergence of Induction Heads in Language Model Pretraining ICML 2026 · increase batch size (fixed context 1024) · Natural data (CC100) · induction head emergence point (updates): rho=-1.0, p<0.001Improved
- When RL Meets Adaptive Speculative Training: A Unified Training-Serving System ICML 2026 · Increase batch size from 1 to 32 · MiniMax M2.1 FP8 · speedup: 1.57x -> 1.25xHurt
- Untied Ulysses: Memory-Efficient Context Parallelism via Headwise Chunking ICML 2026 · increase per-device batch size to 10 using freed memory · Llama 3-8B, 128K · throughput (TPS): 2464.10 (Ulysses) -> 2526.77 (UPipe)Improved
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 changed | Where | Measured | Effect |
|---|---|---|---|
| reduce BPE merges from 32K to 10K (ablation) | Transformer-base · WMT14 En-De | BLEU / speed: BLEU 27.21 -> 27.45; CPU 7.17 -> 7.72 sent./s | Improved |
| restrict decoder to 1 layer (shallow decoder) (ablation) | Transformer-base + 10K BPE · WMT14 En-De | BLEU / CPU speed: BLEU 27.45 -> 26.46; CPU 7.72 -> 19.44 sent./s | Mixed |
| prune decoder attention to one head (ablation) | MDN build-up · WMT14 En-De | GPU speed: GPU 247.04 -> 243.42 sent./s | No clear effect |
| drop decoder FFN (ablation) | MDN build-up · WMT14 En-De | BLEU: 24.47 -> 23.26 | Hurt |
| add weight distillation (ablation) | MDN build-up · WMT14 En-De | BLEU: 23.78 -> 27.09 | Improved |
| add deep configuration (ablation) | MDN build-up · WMT14 En-De | BLEU: 22.83 -> 23.78 | Improved |
| remove decoder dropout (ablation) | MDN build-up · WMT14 En-De | BLEU: 27.09 -> 27.18 | Improved |
| remove label smoothing (ablation) | MDN build-up · WMT14 En-De | BLEU: 27.18 -> 27.23 | Improved |
| apply MDN to Transformer-base | Transformer-base · WMT14 En-De | CPU/GPU speedup: 3.28x CPU, 2.53x GPU at BLEU 27.23 vs 27.21 | Improved |
| apply MDN to Transformer-deep | Transformer-deep (48-layer encoder) · WMT14 En-De | speedup / BLEU: 2.49x CPU, 2.09x GPU; BLEU 29.43 -> 29.02 | Mixed |
| apply proposed tricks to AAN | AAN · WMT14 En-De | CPU speed: 9.82 -> 19.32 sent./s | Improved |
| apply proposed tricks to CAN | CAN · WMT14 En-De | GPU speed: 279.39 -> 293.43 sent./s | Improved |
Closest papers by meaning
- Two Heads are Better than One: Simulating Large Transformers with Small Ones (NeurIPS 2025 · similarity 0.84)
- Jetfire: Efficient and Accurate Transformer Pretraining with INT8 Data Flow and Per-Block Quantization (ICML 2024 · similarity 0.83)
- The Quantization Benefits of Residual-Free Transformers (NeurIPS 2026 · similarity 0.83)
- Optimal Control for Transformer Architectures: Enhancing Generalization, Robustness and Efficiency (NeurIPS 2025 · similarity 0.82)
- Do Efficient Transformers Really Save Computation? (ICML 2024 · similarity 0.82)
- Linear attention is (maybe) all you need (to understand Transformer optimization) (ICLR 2024 · similarity 0.82)
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.
