Research map / Large language models / Language, safety and interpretability
REST: Retrieval-Based Speculative Decoding
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Retrieve draft tokens (REST) instead of using a small draft LM | CodeLlama 7B · HumanEval (1 shot, greedy) | speedup: 1.75x -> 2.36x | Improved |
| Retrieve draft tokens (REST) instead of a small draft LM | CodeLlama 13B · HumanEval (1 shot, greedy) | mean token time: 19.39 -> 19.53 ms/token | No clear effect |
| Retrieve draft tokens (REST) instead of a small draft LM | CodeLlama 13B · HumanEval (10 shot, nucleus) | speedup: 1.96x -> 2.17x | Improved |
| Retrieve draft tokens (REST) instead of a small draft LM | Vicuna 7B/13B · MT-Bench | speedup: 1.31x -> 1.69x (7B greedy); 1.49x -> 1.77x (13B greedy) | Improved |
| Switch from greedy to nucleus sampling | REST · HumanEval / MT-Bench | speedup: 2.36x -> 2.12x (CodeLlama 7B) | Hurt |
| Increase datastore size from 0.9 GB to 27 GB (ablation) | REST · HumanEval (greedy) | speedup: 1.83x -> 2.36x | Improved |
| Increase datastore from 465 MB to 12 GB (ablation) | REST · MT-Bench (greedy) | speedup: 1.57x -> 1.69x (Vicuna 7B) | Improved |
| Select draft tokens with a Trie instead of random sampling (ablation) | REST · HumanEval (greedy) | mean token time: 12.80 -> 11.82 ms/token | Improved |
| Select draft tokens with a Trie instead of random sampling (ablation) | REST · HumanEval (nucleus) | mean token time: 14.19 -> 13.18 ms/token | Improved |
| Set max suffix length n_max above 6 (ablation) | REST · HumanEval (greedy) | generation time | Improved |
| Raise max draft tokens beyond 48 (ablation) | REST · HumanEval (greedy) | mean token time: about 11.75 ms/token | No clear effect |
Later papers that compared with this method
24 later accepted papers report REST as a baseline in their results tables; 23 of them report a better number on most of the results they share with it.
- Training-Free Loosely Speculative Decoding: Accepting Semantically Correct Drafts Beyond Exact Match (ICLR 2026 · better on 6 of 6 shared results)
- SCRIBE: Learning Reusable Skill Rubrics for Process Reward Models (EMNLP 2026 · better on 6 of 6 shared results)
- LogitSpec: Accelerating Retrieval-based Speculative Decoding via Next Next Token Speculation (ACL 2026 · better on 6 of 6 shared results)
- Chain-in-Tree: Back to Sequential Reasoning in LLM Tree Search (ACL 2026 · better on 3 of 4 shared results)
- SpecBound: Adaptive Bounded Self-Speculation with Layer-wise Confidence Calibration (ACL 2026 · better on 4 of 4 shared results)
- ResRL: Boosting LLM Reasoning via Negative Sample Projection Residual Reinforcement Learning (ICML 2026 · better on 2 of 2 shared results)
- Semantic Retrieval Speculative Decoding with Intermediate Representations (EMNLP 2026 · better on 1 of 1 shared result)
- EDSD: Entropy-Driven Design for Faster Speculative Decoding (ACL 2026 · better on 1 of 1 shared result)
16 more not listed.
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 parallel and early-exit decoding
Which fast-decoding methods keep quality when used with batching, thresholds that need no tuning, and models they cannot open up?
- Tested on one or two model families, mostly 7B or 13B and smaller. · 12 papers state it
- Speedups are measured at batch size one, and batching is left unstudied. · 9 papers state it
- Thresholds and mixing weights are tuned per model and task. · 8 papers state it
Closest papers by meaning
- SPEED-Bench: A Unified and Diverse Benchmark for Speculative Decoding (ICML 2026 · similarity 0.92)
- RAPID: Long-Context Inference with Retrieval-Augmented Speculative Decoding (ICML 2025 · similarity 0.90)
- A Theoretical Perspective for Speculative Decoding Algorithm (NeurIPS 2024 · similarity 0.90)
- Scaling Up, Speeding Up: A Benchmark of Speculative Decoding for Efficient LLM Test-Time Scaling (ICLR 2026 · similarity 0.90)
- Online Speculative Decoding (ICML 2024 · similarity 0.90)
- Accelerating LLM Inference with Lossless Speculative Decoding Algorithms for Heterogeneous Vocabularies (ICML 2025 · 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.