Dynamic Speculation Lookahead Accelerates Speculative Decoding of Large Language Models
Summary
arXiv 2405.04304 (v5): DISCO / dynamic speculation lookahead; HF blog (2024-10-08) reports up to ~2.7× vs heuristic on some tasks; default assisted-generation mode in Transformers 4.45+. Discord Lewis Tunstall LinkedIn: smaller draft + larger verify, up to ~3× framing.
- Venue
- arXiv 2405.04304; Hugging Face Transformers ≥4.45 assisted generation default
- Publisher
- arXiv 2405.04304; Hugging Face Transformers ≥4.45 assisted generation default
- Source
- arxiv
- Access
- open arXiv PDF/abs
- Language
- en
- Purpose
- Dynamically choose speculation lookahead (DISCO) instead of static SL for faster speculative decoding
- Domain
- speculative decoding; assisted generation; inference latency
- Used for
- inference acceleration; assisted decoding configs
- Time period
- arXiv 2024-05-07; HF blog 2024-10-08; Discord Oct 2024
- Author type
- industry research (Intel Labs / HF collaborators)
- Added
- Sep 14, 2026
- Verified
- Sep 14, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- May 7, 2024
- Last revised
- Nov 7, 2024
- arXiv categories
- cs.CL
- Citations
- 26 (1 influential)
- References
- 25
- Published in
- ENLSP
Abstract (from arXiv)
Speculative decoding is commonly used for reducing the inference latency of large language models. Its effectiveness depends highly on the speculation lookahead (SL)-the number of tokens generated by the draft model at each iteration. In this work we show that the common practice of using the same SL for all iterations (static SL) is suboptimal. We introduce DISCO (DynamIc SpeCulation lookahead Optimization), a novel method for dynamically selecting the SL. Our experiments with four datasets show that DISCO reaches an average speedup of 10% compared to the best static SL baseline, while generating the exact same text.
Tags
Topics
speculative decoding; assisted generation; inference latency
Research notes
- Mapped from Discord dynamic speculative decoding note. Primary: arXiv + HF blog dynamic_speculation_lookahead.
Similar entries
- Paper Unlocking Lossless Speedups in LLMs via Discrete Diffusion
- Paper Matryoshka Language Model Suites
- Paper Etalon: Holistic Performance Evaluation Framework for LLM Inference Systems
- Thread Attention Drift in Speculative Decoding (drafter attention sink → recent tokens)
- Paper Jina-OCR-v1: Efficient Document Parsing with Speculative Decoding and Dense Verifiable Rewards
- Paper Match the Distribution, Not the Compute: Post-Training Multi-Token Prediction Heads