TL;DR
Modern speculative decoding speeds up Large Language Models (LLMs) by having a small model guess a dynamic tree of future words, which the big model verifies in parallel. However, when you turn up the temperature for creative or stochastic tasks, these methods break down—they either slow to a crawl or mathematically corrupt the output distribution. GUMBO uses shared random noise via the Gumbel-max trick to let dynamic draft trees sample at high temperatures cleanly, losslessly, and up to 20.5% faster than the state-of-the-art, without retraining a thing.
What Problem Does This Paper Address?
Generating text with massive LLMs one token at a time is notoriously slow. Speculative sampling accelerates this without losing any output quality: a fast "draft" model guesses the next few tokens, and the heavy "target" model checks them all in a single forward pass. State-of-the-art systems like EAGLE-3 go further than a simple chain of guesses; they build a dynamic draft tree of possibilities, dynamically pruning and reranking branches on the fly to verify only the most promising candidates.
Here is the catch: to make dynamic trees work, existing systems force the draft model to be greedy (temperature $T = 0$, always picking the single highest-probability token). That works fine when the target model is also running near $T = 0$. However, modern workloads—like reinforcement learning rollouts, test-time search, and synthetic data generation—rely on higher temperatures ($T \ge 0.7$) to generate diverse ideas.
As target temperature rises, the probability distribution flattens out, and greedy drafting’s acceptance rate plummets. Yet, if you naively inject temperature ($T > 0$) into a dynamic draft tree, the step where the tree reranks and prunes tokens warps the underlying draft probabilities. Standard speculative verification needs exact draft probabilities to stay mathematically lossless, and recalculating that warped distribution naively takes $O(|\mathcal{V}|^k)$ compute (where $|\mathcal{V}|$ is vocabulary size and $k$ is the tree's branching factor)—taking over two minutes per step!
Methods
To escape this computational trap, the authors introduce GUMBO (Gumbel Optimized High-Temperature Speculative Sampling). It relies on a clever probabilistic sleight of hand known as the Gumbel-max trick: adding pre-sampled Gumbel random noise to log-probabilities and taking the maximum (argmax) is mathematically identical to sampling from that probability distribution with temperature. Taking the top-$k$ scores is equivalent to sampling $k$ items without replacement.
GUMBO overhauls all three stages of speculative tree decoding:
- GUMBO Drafting: Instead of greedy selection, the drafter adds a sequence of pre-sampled Gumbel noise $G$ to its log-probabilities and picks the top-$k$ tokens.
- Calibrated Dynamic Tree: Standard trees prune branches using raw draft probabilities, which fail to account for the random noise driving the current step. GUMBO reranks and expands tree nodes using softmax Gumbel-scores—incorporating both the logits and the realized noise $G$ to accurately predict which branches the target model will actually accept.
- Drafter-Invariant Verification: The target model adds the exact same Gumbel noise $G$ to its own log-probabilities and finds its
argmaxtoken $y$. If $y$ is among the drafted candidates, it is accepted; otherwise, the drafts are rejected and $y$ is emitted directly. Because $y$ is generated purely from the target logits and $G$, verification does not need the draft probabilities at all, reducing complexity back down to a snappy $O(|\mathcal{V}|)$.
Datasets
GUMBO requires no model training (it uses existing official EAGLE-3 draft models). The authors evaluate inference acceleration across five standard benchmarks covering diverse tasks:
- MT-bench (multi-turn conversation)
- HumanEval (code generation)
- GSM8K (mathematical reasoning)
- Alpaca (instruction following)
- CNN/Daily Mail (summarization)
No new benchmarks are introduced.
Key Insights and Ideas
- Drafter-invariance unlocks dynamic trees: Because GUMBO verification doesn't care how the draft candidates got there—only whether one of them matches the target's Gumbel-max—you can prune, sort, and manipulate the draft tree however you like without breaking the math of lossless sampling.
- Greedy drafting fails even with a perfect drafter: Even if your draft model is an exact clone of your target model, greedy drafting's acceptance rate is upper-bounded by the target model's maximum token probability. At high temperatures, greedy drafting still fails; GUMBO maintains a 100% acceptance rate when draft and target match.
- Simple shared noise is near-optimal: Computing the theoretically optimal mathematical coupling for multi-draft sampling requires solving an exponentially complex max-flow/min-cut problem. The authors prove an exact analytical formula for GUMBO's acceptance rate and show it hugs remarkably close to the theoretical optimum at a tiny fraction of the compute cost.
Key Results
Tested across four models (Vicuna 13B, LLaMA-3.1 8B, LLaMA-3.3 70B, and DeepSeek-R1-Distill-LLaMA 8B) and five datasets:
- At $T = 1.0$: Replacing EAGLE-3's sampler with GUMBO outperforms EAGLE-3 in 13 out of 20 settings, boosting inference speedup by up to +20.5% and average accepted tokens by up to +21.7% (e.g., jumping from 2.47x to 2.98x speedup on LLaMA-3.1 8B for MT-bench).
- At $T = 1.5$ (stress test): EAGLE-3 frequently degrades to slower than standard autoregressive decoding (~0.70x speedup on 8B/13B models), whereas GUMBO maintains genuine speedups (1.01x to 1.80x).
- Tree Calibration: Using Gumbel-adjusted scores to prune the tree recovers acceptance prediction accuracy (AUC-ROC jumps from 0.8395 back up to 0.8795).
- Production Integration: Integrated into the SGLang engine, GUMBO consistently beats EAGLE-3 across batch sizes 1, 2, and 4.
Limitations and Future Work
- Sharp, misaligned distributions: On LLaMA-3.3 70B at $T = 1.0$, greedy EAGLE-3 slightly outperforms GUMBO (4.53x vs. 4.30x mean speedup). When a target distribution remains relatively sharp and the drafter is poorly aligned with it, injecting Gumbel noise into the drafter can cause it to miss obvious high-probability tokens.
- Engine overhead: In the SGLang integration at $T = 1.0$, tree-attention overhead caused both EAGLE-3 and GUMBO to run slightly slower than vanilla autoregressive decoding, though the authors note a throughput gate can mitigate this. Storing pre-allocated Gumbel noise across the full vocabulary also adds a modest memory footprint.
- Future Work: Because GUMBO's verification is completely drafter-invariant, the drafter doesn't actually have to use the strict Gumbel-max trick. Exploring custom, calibrated combinations of draft logits and Gumbel noise could capture the best of both greedy and stochastic drafting.
Summary updated