atlas

Research map / Large language models / Reasoning and chain of thought

Sequoia: Scalable and Robust Speculative Decoding

NeurIPS 2024 · Large language models › Reasoning and chain of thought · approach: Speculative decoding · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SEQUOIA, a speculative decoding method with a dynamic-programming optimal token-tree construction and a without-replacement sampling/verification scheme that stays robust across temperatures, reporting up to 4.04x on A100 and 9.5x offloading speedups.

Problem

Existing tree-based speculative decoding methods scale poorly to large speculation budgets and their verification performs inconsistently across decoding hyperparameters such as temperature and top-p.

Approach

Formulate speculative token-tree construction as a constrained optimization solved exactly by dynamic programming under a positional acceptance assumption, and modify SpecInfer verification to sample without replacement from the draft model with a uniform fallback, yielding provable optimal-transport and cover properties.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the Sequoia tree instead of independent sequences (ablation)Sequoia speculative decoding · CNN Daily Mail, Llama2-13B, temperature 0.6, tree size ≤512generated tokens per decoding step: up to 33% more tokensHelped
Use sampling without replacement and Sequoia verification instead of SpecInfer verification (ablation)Llama2-7B speculative decoding · CNN Daily Mail, across temperature valuesspeedup: up to 1.65× speedup relative to SpecInferHelped
Use sampling without replacement and Sequoia verification instead of top-k sampling (ablation)Llama2-7B speculative decoding · CNN Daily Mail, across temperature valuesspeedup: up to 1.27× speedup relative to top-k samplingHelped
Use Sequoia's full method instead of SpecInferLlama2-7B speculative decoding · A100, C4, temperature 0speedup: 4.04 ×(5.08) vs 3.45×(3.96)Helped

Surprising findings

Limitations

Experimental setup

Datasets: C4 OpenWebText CNN DailyMail MT Bench WikiText-103

Benchmarks: C4 OpenWebText CNN DailyMail MT Bench WikiText-103

Metrics: speedup tokens generated per decoding step rejection rate time between tokens (ms/token or s/token)

Baselines: SpecInfer SpecTr top-k sampling DeepSpeed-Zero-Inference k independent sequences

Builds on: speculative decoding SpecInfer SpecTr Medusa

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