Research map / Architectures and efficiency / Attention and transformers
Fast Inference from Transformers via Speculative Decoding
Yaniv Leviathan, Matan Kalman, Yossi Matias
Google · Tel Aviv University
Read the paperPlace an idea next to itCheck your own paper ↗
8measured effects
5improved
3hurt
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 a smaller off-the-shelf approximation model (T5-small 77M) instead of running the target alone | T5-XXL decoding · EnDe and CNNDM | speed-up (walltime): 3.4X argmax / 2.6X sampling on EnDe; 3.1X / 2.3X on CNNDM | Improved |
| Replace T5-small draft with T5-large draft (larger approximation model) (ablation) | T5-XXL speculative decoding · EnDe, temp=0 | speed-up: 1.7X vs 3.4X for T5-small | Hurt |
| Use trivial bigram model as approximation model instead of T5-small (ablation) | T5-XXL speculative decoding · EnDe | acceptance rate alpha (temp=1): 0.19 vs 0.62 for T5-small | Hurt |
| Larger approximation model increases acceptance rate (ablation) | T5-XXL speculative decoding · EnDe and CNNDM | acceptance rate alpha: alpha rises from 0.75 (T5-small) to 0.82 (T5-large) at temp=0 | Improved |
| Lenience (accept draft tokens when q scaled by l) with T5-small draft (ablation) | T5-XXL speculative decoding, standard sampling · EnDe | acceptance rate alpha: alpha 0.62 at l=1 to 0.84 at l=0.1 | Improved |
| Use n-gram/unigram draft instead of a neural draft (ablation) | T5-XXL and GPT-like targets · EnDe, CNNDM, lm1b | acceptance rate alpha: unigram alpha 0.03-0.13 across settings | Hurt |
| Sharper (argmax, temp=0) sampling instead of standard sampling (ablation) | T5-XXL speculative decoding · EnDe and CNNDM with T5-small draft | speed-up: 3.4X vs 2.6X (EnDe); 3.1X vs 2.3X (CNNDM) | Improved |
| Using a 6M GPT-like decoder draft instead of a 97M target-level model on unconditional lm1b (ablation) | GPT-like 97M target · lm1b unconditional generation | acceptance rate alpha (temp=1): 0.89 vs 0.05 for bigram | Improved |
Open problems in efficient language transformers
Which efficient transformer designs keep their quality, speed and memory gains at larger scale and in more languages?
- Experiments stop at small models, often 1B parameters or fewer. · 10 papers state it
- The method is slower or heavier than its baseline in training or inference. · 10 papers state it
- Only English or alphabetic languages were tested. · 9 papers state it
Closest papers by meaning
- A Theoretical Perspective for Speculative Decoding Algorithm (NeurIPS 2024 · similarity 0.92)
- Speculative Speculative Decoding (ICLR 2026 · similarity 0.92)
- TPP-SD: Accelerating Transformer Point Process Sampling with Speculative Decoding (NeurIPS 2025 · similarity 0.91)
- Scaling LLM Speculative Decoding: Non-Autoregressive Forecasting in Large-Batch Scenarios (AAAI 2026 · similarity 0.91)
- Judge Decoding: Faster Speculative Sampling Requires Going Beyond Model Alignment (ICLR 2025 · similarity 0.90)
- DFlash: Block Diffusion for Flash Speculative Decoding (ICML 2026 · similarity 0.90)
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.