scimeatlas

Research map / Large language models / Language, safety and interpretability

REST: Retrieval-Based Speculative Decoding

NAACL 2024Large language models › Language, safety and interpretabilityapproach: Parallel and early-exit decodingopen problems in this approach319 citations (OpenAlex)

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

11measured effects
8improved
2no clear effect
1hurt

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 changedWhereMeasuredEffect
Retrieve draft tokens (REST) instead of using a small draft LMCodeLlama 7B · HumanEval (1 shot, greedy)speedup: 1.75x -> 2.36xImproved
Retrieve draft tokens (REST) instead of a small draft LMCodeLlama 13B · HumanEval (1 shot, greedy)mean token time: 19.39 -> 19.53 ms/tokenNo clear effect
Retrieve draft tokens (REST) instead of a small draft LMCodeLlama 13B · HumanEval (10 shot, nucleus)speedup: 1.96x -> 2.17xImproved
Retrieve draft tokens (REST) instead of a small draft LMVicuna 7B/13B · MT-Benchspeedup: 1.31x -> 1.69x (7B greedy); 1.49x -> 1.77x (13B greedy)Improved
Switch from greedy to nucleus samplingREST · HumanEval / MT-Benchspeedup: 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.36xImproved
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/tokenImproved
Select draft tokens with a Trie instead of random sampling (ablation)REST · HumanEval (nucleus)mean token time: 14.19 -> 13.18 ms/tokenImproved
Set max suffix length n_max above 6 (ablation)REST · HumanEval (greedy)generation timeImproved
Raise max draft tokens beyond 48 (ablation)REST · HumanEval (greedy)mean token time: about 11.75 ms/tokenNo 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.

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?

All 5 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