# Dynamic Speculation Lookahead Accelerates Speculative Decoding of Large Language Models

- **ID:** 913
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2405.04304
- **Authors:** Jonathan Mamou, Oren Pereg, Daniel Korat, Moshe Berchansky, Nadav Timor, Moshe Wasserblat, Roy Schwartz
- **Venue:** arXiv 2405.04304; Hugging Face Transformers ≥4.45 assisted generation default
- **Publisher:** arXiv 2405.04304; Hugging Face Transformers ≥4.45 assisted generation default
- **Published:** 2024
- **Source:** arxiv
- **Language:** en
- **Access:** open arXiv PDF/abs
- **Tags:** disco, speculative-decoding, assisted-generation, dynamic-lookahead, arxiv:2405.04304
- **Topics:** speculative decoding; assisted generation; inference latency
- **Added:** 2026-09-14
- **Verified:** 2026-09-14
- **Research status:** done
- **Needs deep evaluation:** no
- **Page:** https://papers.projxon.ai/entries/913

## 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.

## Attributes

- **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)

## From the source (fetched 2026-10-03)

- **Published:** May 7, 2024 (arXiv)
- **Last revised:** Nov 7, 2024 (arXiv)
- **arXiv categories:** cs.CL (arXiv)
- **Citations:** 26 (1 influential) (Semantic Scholar)
- **References:** 25 (Semantic Scholar)
- **Published in:** ENLSP (Semantic Scholar)

## Abstract

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.

## Research notes

- Mapped from Discord dynamic speculative decoding note. Primary: arXiv + HF blog dynamic_speculation_lookahead.

## Similar entries

- [Unlocking Lossless Speedups in LLMs via Discrete Diffusion](https://papers.projxon.ai/entries/1012) (paper, #1012)
- [Matryoshka Language Model Suites](https://papers.projxon.ai/entries/890) (paper, #890)
- [Etalon: Holistic Performance Evaluation Framework for LLM Inference Systems](https://papers.projxon.ai/entries/859) (paper, #859)
- [Attention Drift in Speculative Decoding (drafter attention sink → recent tokens)](https://papers.projxon.ai/entries/1082) (thread, #1082)
- [Jina-OCR-v1: Efficient Document Parsing with Speculative Decoding and Dense Verifiable Rewards](https://papers.projxon.ai/entries/1016) (paper, #1016)
- [Match the Distribution, Not the Compute: Post-Training Multi-Token Prediction Heads](https://papers.projxon.ai/entries/1192) (paper, #1192)
