NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-Draft Speculative Sampling: Canonical Decomposition and Theoretical Limits

Ashish J Khisti, MohammadReza Ebrahimi, Hassan Dbouk, Arash Behboodi, Roland Memisevic, Christos Louizos

Large Language Models (LLMs) are notoriously slow during generation because they are auto-regressive: they generate text one token at a time, requiring a full pass of a massive model for every single word. This process is "memory-bound," meaning the GPU spends more time moving data than actually performing calculations.

Speculative Decoding has emerged as a standard solution to this bottleneck. A tiny "draft" model quickly guesses a sequence of tokens, and the "target" LLM verifies them all at once in parallel. If the draft model is accurate, multiple tokens are generated for the price of one pass. However, "Multi-Draft" speculative sampling—where multiple different guesses or multiple draft models are used—is mathematically tricky. Previous state-of-the-art methods (like SpecTr) framed this as an "optimal transport" problem solved via Linear Programming (LP). While theoretically optimal, solving an LP at every single generation step is computationally expensive, often negating the speed gains it was supposed to provide.

This paper provides a rigorous theoretical framework to simplify and accelerate this process, proving that the complex problem of picking the best token from multiple draft models can be streamlined into a highly efficient two-step process.

The Canonical Decomposition

The authors break down the "optimal" selection rule into a Canonical Decomposition. They mathematically prove that the best way to pick a token from $K$ candidates is a two-step dance:

  1. Importance Weighted Sampling: Use a specific set of weights to select one "representative" intermediate token from the $K$ candidates.
  2. Standard Speculative Sampling: Run the classic verification step on that single selected token against the target model.
The two-step canonical decomposition of multi-draft speculative sampling.

The "Truncated" Shortcut for Practical Speedups

To make this theoretically optimal approach practical, the authors introduce Faster Importance Weighted Speculative Sampling. Recognizing that LLM probability distributions are usually "sparse" (only a few tokens have high probability), they propose two optimizations:

  • Truncated LP: Instead of solving the linear program for the entire vocabulary (which can exceed 50,000 tokens), they only optimize for the top $s$ tokens (e.g., $s=5$).
  • Truncated Alphabet: They further limit the search space to a high-probability subset of tokens, drastically reducing the number of variables in the optimization.

Theoretical Insights

Beyond the decomposition, the paper offers profound theoretical insights into the limits of speculative sampling:

  • Perfect Acceptance is Possible: For the $K=2$ (two drafts) case, the authors found a specific necessary and sufficient condition where the acceptance probability can be 1.0 (100%), even if the draft and target models don't perfectly match. This is impossible in single-draft sampling.
  • The "K-Draft" Conjecture: Based on their $K=2$ results, they provide an explicit formula (and a conjecture) for the theoretical maximum acceptance rate for any number of drafts ($K > 2$), suggesting that efficiency scales predictably as you add more guesses.

Experimental Results

The researchers evaluated their approach using the OPT model family (OPT-125M as the draft and OPT-13B as the target) across three diverse NLP benchmarks: XSum (extreme summarization), Databricks-Dolly-15k (instruction-following), and WMT18 (machine translation).

Block efficiency and token rate improvements across Dolly, XSum, and WMT datasets.

The proposed Importance Sampling (IS) scheme demonstrated consistent improvements:

  • Higher Block Efficiency: The IS scheme consistently achieved higher block efficiency (the average number of tokens accepted per target model pass) than baseline methods like SpecTr and SpecInfer.
  • Wall-Clock Speedups: On the Dolly dataset, the proposed method showed a token rate improvement of ~5-10% over standard single-draft speculative decoding.
  • Robustness to Temperature: The method remained highly effective even when the draft models used different "temperatures" (levels of randomness), outperforming baselines that struggled when draft guesses became more diverse.

Limitations and Future Work

While the paper provides an exact analytical solution for 2 drafts, the mathematics for 3 or more drafts remains a conjecture supported by numerical evidence rather than a full analytical proof. To handle more than 2 drafts in practice, the authors utilize a "multi-stage" heuristic (grouping tokens in pairs), which is effective but may not represent the absolute theoretical optimum for large $K$.

Additionally, even with the "truncated" optimization, there is still a small computational overhead to calculating the importance weights. On extremely fast hardware or with very small target models, this overhead might still be a factor. Future work will likely focus on finding even faster ways to approximate these optimal weights without needing a linear solver at all.

Summary updated

BibTeX
@inproceedings{khisti2025multi,
  author = {Ashish J Khisti and MohammadReza Ebrahimi and Hassan Dbouk and Arash Behboodi and Roland Memisevic and Christos Louizos},
  title = {{Multi-Draft Speculative Sampling: Canonical Decomposition and Theoretical Limits}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=N1L5TgtkAw},
}
Figure