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

3-Model Speculative Decoding

Sanghyun Byun, Mohanad Odema, Jung Ick Guack, Baisub Lee, Jacob Song, Woo Seong Chung

TL;DR

Standard speculative decoding struggles when small draft models diverge too sharply from large target models, causing frequent rejections. Pyramid Speculative Decoding (PyramidSD) solves this by sandwiching a mid-sized "qualifier" model between the draft and target models, using relaxed, fuzzy divergence thresholds across a two-stage pipeline. On an RTX 4090, this 3-model hierarchy achieves up to a 1.91× speedup (up to 124 tokens/s) over standard speculative decoding without requiring any extra fine-tuning.

What Problem Does This Paper Address?

Speculative decoding (SD) accelerates LLM inference by using a small, lightweight draft model to hypothesize a burst of tokens, which the larger target model checks in parallel. However, developers face a persistent catch-22:

  • A very small draft model runs blindingly fast, but its output distribution diverges significantly from the target model—causing massive rejection rates that erase speedups.
  • A larger draft model aligns better with the target, but its slower forward passes eat into the speculative speed advantage.

As the size gap between draft and target widens (e.g., 1B to 70B), standard speculative decoding quickly hits diminishing returns.

Methods

PyramidSD addresses this distribution gap by utilizing a three-model hierarchy: Draft ($M_D$) $\rightarrow$ Qualifier ($M_Q$) $\rightarrow$ Target ($M_T$), drawing from model families that share identical tokenizers and vocabularies (e.g., LLaMA-3.2 1B, 3B, and LLaMA-3.1 8B).

[Draft MD (1B)] --(proposes ℓD tokens)--> [Qualifier MQ (3B)] --(verifies & extends to ℓQ)--> [Target MT (8B)]
  • Fuzzy Speculative Acceptance: Under strict exact-match decoding, inserting an intermediate model is mathematically redundant—a token would only pass if all three agreed, offering zero advantage. PyramidSD therefore builds upon Fuzzy Speculative Decoding (FSD), accepting tokens based on divergence thresholds rather than exact logit equivalence: $$\text{Div}(P_{M_Q}(x_t), P_{M_D}(x_t)) \le \tau_Q \quad \cap \quad \text{Div}(P_{M_T}(x_t), P_{M_Q}(x_t)) \le \tau_T$$
  • Two Proposed Variants:
  • $\text{PSD}_F$ (Fuzzy Acceptance): Uses fuzzy acceptance at both the draft-to-qualifier and qualifier-to-target transitions. Delivers maximum raw throughput.
  • $\text{PSD}_A$ (Assisted Fallback): Replaces threshold $\tau_Q$ with assisted decoding. When $M_Q$ rejects a draft token, it immediately falls back to sampling directly from $M_Q$'s distribution, guaranteeing an output quality floor.

Datasets

  • CommonsenseQA (CSQA): Used for evaluation across all configurations, measuring validation accuracy alongside generation throughput. Following prior literature, prompts were tested with five predetermined QA samples to assess mean performance and standard deviation.
  • No new benchmarks or custom training sets were introduced; all models evaluated were off-the-shelf instruction-tuned checkpoints from the LLaMA family.

Key Insights and Ideas

  • Exploiting the Natural Entropy Gradient: Model families display a consistent entropy and confidence progression across parameter scales. The 1B draft model produces wide, high-uncertainty distributions, while the 8B target exhibits sharp, highly confident predictions. The 3B qualifier sits right in between, acting as an efficient low-cost filter that weeds out low-confidence hallucinations before they trigger costly target-model rollbacks.
  • Optimal Speculation Depth Ratios: Sweeping draft lengths ($\ell_D$) and qualifier lengths ($\ell_Q$) revealed that setting $\ell_D$ to roughly half of $\ell_Q$ (a 1:2 or 1:3 ratio) consistently yielded the best performance.
  • The Non-Monotonic Trap: Aggressive speculation does not scale linearly. Excessively long draft horizons or overly loose fuzzy thresholds cause severe "rejection cascades," where an early draft error cascades downstream and slows generation down more than conservative speculation.

Key Results

All evaluations were run on a single consumer GPU (NVIDIA RTX 4090, 24GB) using LLaMA-3.2 1B (draft), 3B (qualifier), and LLaMA-3.1 8B (target):

  • Peak Throughput ($\text{PSD}_F$): Achieved up to 1.91× speedup over standard SD, peaking at 124.13 tokens/second (compared to ~65 tokens/s for vanilla SD and ~83 tokens/s for single-stage Fuzzy SD).
  • Stability vs. Speed ($\text{PSD}_A$): Provided a robust 1.44× speedup over vanilla SD with negligible quality degradation (CSQA score of $70.73 \pm 2.57$ vs. vanilla SD’s $69.58 \pm 2.20$).
  • Variance Trade-Off: While $\text{PSD}_F$ delivered the fastest token generation, its downstream error propagation resulted in higher variance on CSQA scores ($\pm 8$ to $\pm 13$) at looser thresholds, highlighting $\text{PSD}_A$ as the safer choice for production environments.

Limitations and Future Work

  • Hyperparameter Tuning Overhead: Balancing four coupled parameters ($\tau_Q, \tau_T, \ell_D, \ell_Q$) expands the search space, making plug-and-play deployment across different domains less straightforward.
  • Tokenizer Dependency: The architecture currently relies on model families sharing identical tokenizers and vocabularies, limiting its direct applicability across disparate open-source model lineages.
  • Future Directions: The authors highlight the need for adaptive runtime controllers capable of dynamically modulating divergence thresholds and speculative lengths based on real-time decoding confidence, ideally marrying the throughput of $\text{PSD}_F$ with the stability of $\text{PSD}_A$.

Summary updated

BibTeX
@inproceedings{byun2025model,
  author = {Sanghyun Byun and Mohanad Odema and Jung Ick Guack and Baisub Lee and Jacob Song and Woo Seong Chung},
  title = {{3-Model Speculative Decoding}},
  booktitle = {SPIGM @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=2e2RCF4Ncc},
}
Figure