Skip to main content

Speculative Decoding

Speculative Decoding

  • Hardware & deployment
  • Stage 5 · Running It
  • refs checked 2026-11-09
What problem it solves

Guess several tokens cheaply, then have the big model verify them in one pass.

What it is
Leviathan et al.'s definition: an algorithm to sample from autoregressive models faster, computing several tokens in parallel with no changes to the outputs. The paper reports 2x-3x acceleration on T5-XXL with identical outputs. vLLM ships n-gram, EAGLE and other speculative decoding implementations.
Why it matters

For local inference this is one of the few speedups you get for free.

Chinese aliases

Sources
  • Speculative decoding paper (ICML 2023) ↗
  • vLLM documentation ↗
  • Practitioner deep-dive: serving deep dive guide (AI Models site) ↗
Use this term in a task

Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

Task handbooks → · Filter three candidates →