Budget Determines the Drafter: A New Cross-Entropy Rate View of Speculative Decoding

Drafters should be evaluated and tuned under the serving budget, with protocol and sharpness matched.
Speculative decoding accelerates inference via drafter proposals and target-model verification, but online serving must run the same drafter under budgets ranging from short chains to trees with hundreds of nodes. A new paper shows a single metric cannot capture drafter performance: single-token acceptance is set by total variation, and a tree with B nodes accepts roughly log B/C_T(q) tokens, with efficiency varying by budget. Budget also determines protocol choice—small budgets favor chains, large budgets favor trees—which in turn sets the drafter's optimal sharpness, with the best sharpness for an eight-token chain higher than for a 256-node tree. Reusing calibration across budgets is tolerable for trees but costs 3% to 7% more target calls for chains. In vLLM, sampled speculation was 1.94× faster while greedy was slower, highlighting the importance of temperature and protocol matching.
Speculative decoding lets a small drafter model propose candidate tokens, which are then verified by a large target model, accelerating inference without changing the output distribution. However, online serving systems need to run the same drafter under different budgets—ranging from a three-token chain to a tree with hundreds of nodes—while drafters are typically trained and compared using a single number. A new paper argues that the correct evaluation metric depends on the budget: drafters should be evaluated under their serving budget and tuned for the specific protocol.

Why a Single Metric Is Not Enough
The core of speculative decoding is "propose-and-verify": the drafter quickly generates several candidate tokens, the target model verifies them in parallel, accepts tokens consistent with the target distribution, and falls back on rejection. Here "budget" refers to the number of tokens the drafter can propose in one speculative step—it could be a short chain or a tree containing hundreds of nodes.
The paper reveals an overlooked fact: the acceptance probability of a single draft token is determined by total variation, and a tree containing $B$ draft nodes that holds the drafter's most likely prefixes can accept roughly $\log B / C_T(q)$ tokens, where $C_T(q)$ is the drafter's cross-entropy on the target text. The authors prove this rate for dependent text. This means a drafter's "quality" cannot be captured by a single fixed number—it exhibits different efficiency curves as the budget changes.
Total Variation (TV) distance is a common metric for measuring the difference between two probability distributions, defined as half the sum of the absolute differences in probability at each point, taking values between 0 and 1. In speculative decoding, if the draft distribution is (q) and the target distribution is (p), then the probability that a single draft token is accepted equals exactly (1 - \mathrm{TV}(p, q)). This identity shows that the closer the drafter's distribution is to the target model's, the higher the acceptance rate; and the upper bound on acceptance rate is entirely determined by the TV distance, independent of sampling temperature or candidate length. It is the starting point for analyzing speculative decoding efficiency, and it also explains why drafter training often aims to minimize the distance to the target distribution.
How Budget Determines Protocol and Sharpness
Budget not only determines the magnitude of the acceptance rate but also which protocol should be used: small budgets favor sampled chains, while large budgets favor trees. The protocol in turn determines how "sharp" the drafter should be.
The researchers set the drafter's sharpness by raising its probabilities to some power. Across thirteen drafters spanning three families, the optimal sharpness for an eight-token chain is higher than that for a 256-node tree. This explains a practical puzzle: why a drafter tuned for large trees does not perform well when placed on short chains.
Sampled chains refer to the drafter autoregressively sampling a candidate sequence of length (k), proposing only one token per position to form a linear chain. Their advantages are simple implementation and low per-step verification cost, making them suitable for small-budget scenarios. Trees, by contrast, expand multiple candidate branches at each position to form a tree covering multiple possible paths, and the target model can verify the entire tree in parallel at once. Trees make fuller use of the target model's parallel computation capability, and the number of accepted tokens grows faster under large budgets, but the scheduling complexity of construction and verification is also higher. The two impose different requirements on the drafter's distribution: chain sampling relies more on single-step acceptance rate, while trees benefit from the diversity coverage of candidates.
Sharpness here refers to the concentration of the drafter's output distribution. The paper adjusts it by raising draft probabilities to a power (\alpha) and then renormalizing: (\alpha > 1) makes the distribution sharper (favoring high-probability tokens), while (\alpha < 1) makes it flatter. Too high a sharpness reduces candidate diversity, causing trees to waste branches; too low a sharpness lowers the single-token acceptance rate. Thus the optimal sharpness depends on both protocol and budget—large trees need flatter distributions to fill branches, while short chains need sharper distributions to ensure single-step hits. This parameter is typically found by searching on target text using a small number of calibration responses.
The Cost and Benefit of Cross-Budget Calibration
The paper conducts rigorous cross-validation: all choices are fixed before testing. A sharpness calibrated for a 256-node tree, when used on an eight-node tree, incurs less than 1% more target model calls than recalibrating; but when used on an eight-token sampled chain, it incurs 3% to 7% more target calls. This shows that reusing calibration parameters across budgets has some tolerance for error, but for protocols like sampled chains, the benefit of recalibration is more pronounced.
On three larger Qwen3 and Gemma drafters, a sharpness selected using only ten calibration responses reduced target calls on trees by 10% to 14% on held-out responses (compared to an untempered drafter).
vLLM Measurement: Protocol Choice Matters More Than Expected
Using a Llama-3.2-1B drafter in vLLM with temperature set to 1.5, sampled speculative decoding is 1.94× faster than autoregressive decoding, while the default greedy speculative decoding is actually slower. This result has direct implications for engineering practice: the speedup from speculative decoding is not unconditional, and matching protocol with temperature is crucial.
Greedy speculative decoding means the drafter takes the highest-probability token as the candidate at each step, and the target model also uses a greedy acceptance rule during verification. It is simple to implement and requires no sampling randomness, but when the target model's distribution is relatively flat or the temperature is high, the drafter's argmax candidates are easily rejected, wasting verification effort and even making it slower than autoregressive decoding. Sampled speculative decoding, by contrast, samples candidates according to the probability distribution and uses a stochastic accept-reject rule to guarantee the output distribution is unchanged (i.e., rejection sampling). In scenarios with high temperature and dispersed distributions, sampled candidates are more likely to fall into the high-probability region of the target distribution, thereby achieving real speedup. This explains the vLLM experiment where sampled speculation was 1.94× faster at temperature 1.5 while greedy was slower.
Implications for Engineering Practice
Overall, this research offers three actionable recommendations:
- Evaluate drafters under the serving budget. Do not compare different drafters with a single number; instead, plot their acceptance-rate curves across different budgets.
- Tune sharpness per protocol. Tree and chain protocols have different requirements for drafter sharpness, and parameters tuned for large trees should not be directly transferred to short-chain sampling scenarios.
- Pay attention to matching temperature and protocol. The vLLM experiment shows that greedy speculative decoding can be worse than autoregressive, while sampled speculation at an appropriate temperature can deliver nearly 2× speedup.
The paper's cross-entropy rate formula $\log B / C_T(q)$ also provides a theoretical tool: given the drafter's cross-entropy on the target text, one can estimate the number of accepted tokens under different tree sizes, enabling more reasonable budget decisions before deployment. For teams building speculative decoding services, this means drafter selection and tuning should shift from a "benchmark mindset" to a "budget mindset."
One-line Summary
Drafters should be evaluated and tuned under the serving budget, with protocol and sharpness matched.
Paragraph Summary
Speculative decoding accelerates inference by having a drafter propose and a target model verify, but online serving must run the same drafter under budgets ranging from short chains to trees with hundreds of nodes. A new paper shows a single metric cannot capture drafter performance: single-token acceptance is determined by total variation, and a tree with B nodes accepts roughly log B/C_T(q) tokens, with efficiency varying by budget. Budget also determines protocol choice—small budgets favor sampled chains, large budgets favor trees—and protocol in turn determines the drafter's optimal sharpness, with the optimal sharpness for an eight-token chain higher than for a 256-node tree. Reusing calibration parameters across budgets is tolerable for trees but incurs 3% to 7% more target calls for sampled chains. In vLLM measurements, sampled speculation was 1.94× faster while greedy was slower, showing that temperature and protocol matching is crucial.
Related articles

Building Your First Voice App with GPT-Live: A Hands-On WebRTC Guide
Based on OpenAI's official tutorial, this guide explains how to build a real-time voice app with GPT-Live over WebRTC: WebSocket vs. WebRTC trade-offs, the SDP Offer/Answer handshake, audio tracks and data channels, plus the risks of long-conversation summarization and the sideband extension.

AWS Trainium4 Makes 4-bit AI Nearly Lossless
AWS Trainium4 uses hardware computed-permutation trellis coding for 4-bit AI inference, reaching 98% of the theoretical precision limit, giving developers high-quality tokens at lower cost with less quality loss from low-precision formats.

NaijaWeb: Building High-Quality Pretraining Corpora for Nigeria's Low-Resource Languages
The NaijaWeb corpus contains 527.4M tokens of high-quality Hausa, Igbo, and Yoruba text, filtered via native speaker annotation and classifiers, achieving the lowest held-out loss in pretraining comparisons and offering a reusable paradigm for low-resource language pretraining.