atlas

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

Cascade Speculative Drafting for Even Faster LLM Inference

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 Cascade Speculative Drafting (CS Drafting), which recursively cascades draft models (vertical) and assigns larger drafts to earlier tokens (horizontal), with a statistical Max-Gram drafter, to speed up exact speculative decoding.

Problem

Speculative decoding's drafting step remains bottlenecked by autoregressive generation from neural draft models and by equal time allocation to draft tokens that have very different acceptance probabilities, limiting LLM inference speedup.

Approach

Combine a vertical cascade (each neural draft model is itself drafted by a smaller model and reviewed by it, recursively ending in a statistical Max-Gram model) with a horizontal cascade (larger drafts for early tokens, smaller drafts for later tokens), preserving the target model's output distribution.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use CS Drafting with base draft and MaG instead of speculative decoding with the base draftFLAN-T5-XXL · GSM8KSpeedup (PW): 2.99 -> 3.27Helped
Use CS Drafting with base draft, small draft, and MaG instead of speculative decoding with the fastest draftFLAN-T5-XXL · MMLUSpeedup (PW): 3.51 -> 4.32Helped
Add tree attention to CS DraftingVicuna-7B · GSM8KWalltime (tokens/s): 56.72 -> 63.81Helped
Add tree attention to CS DraftingVicuna-7B · MMLUWalltime (tokens/s): 55.60 -> 63.37Helped
Remove the horizontal cascade (ablation)CS Drafting · GSM8KWalltime (tokens/s): 56.16 -> 53.55Hurt
Set K00 from 1 to 2 (ablation)CS Drafting · GSM8KWalltime (tokens/s): 56.16 -> 55.51Hurt
Set K00 from 1 to 3 (ablation)CS Drafting · GSM8KWalltime (tokens/s): 56.16 -> 53.73Hurt

Surprising findings

Limitations

Experimental setup

Datasets: GSM8K MMLU CNN/DailyMail WMT EnDe Wikipedia (bigram distribution for Max-Gram)

Benchmarks: GSM8K MMLU

Metrics: standardized walltime improvement (speedup) walltime tokens/s expected walltime improvement factor

Baselines: Autoregressive decoding speculative decoding Medusa

Builds on: speculative decoding speculative sampling lenience Medusa tree attention

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