Manuscript Offprint
arXiv:2611.00588TVP: TV is Almost All You Need for Speculative Decoding
Abstract
Speculative decoding accelerates LLM inference with a drafter whose proposed tokens are verified by the target model in parallel. Under lossless speculative sampling, a draft token is accepted with probability one minus the total variation (TV) distance between the target and draft distributions, yet drafters are often trained with cross-entropy (CE) or KL. We first show that under matched and well-tuned training, TV matches or surpasses several published draft-training objectives when fine-tuning, and a fixed TV and KL mixture does the same when training from scratch. We identify two remaining problems, TV's vanishing gradients on undercovered tokens and the prefix products that starve later positions in acceptance-length objectives. To address both, we derive TVP, a loss family based on expected acceptance length, whose power parameter interpolates between coverage and acceptance oriented objectives. Annealing the power from zero to one gives the highest or tied-highest acceptance length across three drafter architectures and three target models, including longer drafts and block verification. TVP improves acceptance length over CE by 9.8% when fine-tuning, and over the public DFlash2 training recipes by 6.2 to 12.9%.
1. Introduction
Speculative decoding addresses the bottleneck of autoregressive generation in LLMs by introducing a light draft model that proposes tokens, which the larger target model verifies in parallel. Thus, instead of generating tokens one at a time, the target model can output multiple tokens at once. With an appropriate verification mechanism, speculative decoding preserves the target model's original output distribution (Leviathan et al., 2023; Chen et al., 2023). The drafter can be a smaller language model or a lightweight
head conditioned on the target model's hidden states. Its effectiveness depends on the cost of drafting, target verification, and number of accepted tokens.
Draft training often uses cross-entropy or divergence-based distillation (Zhou et al., 2024). Under speculative sampling, however, the acceptance probability is , where and are the target and draft distributions and TV denotes their total variation distance. Minimizing TV hence directly relates to maximizing the probability of acceptance at each prefix (Leviathan et al., 2023; Yin et al., 2024).
TV has two limitations. Within each position, it assigns little corrective weight to severely undercovered target tokens, making it difficult to correct a draft that is initially poorly aligned with the target (Samarin et al., 2026). Across positions, an additive TV objective ignores that acceptance at each position depends on the preceding prefix surviving verification. For a fixed draft architecture and length, improving expected acceptance length (EAL) means generating more tokens for approximately the same drafting and verification cost. Under realizability, minimizing TV at every position also maximizes EAL, as both are optimized by . A drafter with limited capacity, however, must trade off errors across positions. This motivates optimizing EAL itself, but its gradients contain prefix products that weaken supervision at later positions when earlier tokens are rarely accepted.
We introduce TVP, a new family of losses derived from EAL that addresses both limitations. TVP replaces prefix products with additive supervision across draft positions and introduces a power parameter that controls the corrective weight assigned to undercovered tokens. Starting with stronger undercoverage correction helps train an initially misaligned draft. Annealing the power parameter toward one then shifts the objective toward acceptance as training progresses, keeping TV's direct acceptance signal once the draft is aligned. We establish bounds connecting this family to EAL and local rejection probability, and show that annealing recovers both TV's loss and its gradients.
In our main experiments, we compare TVP with a wide range of existing objectives using DSpark, both when fine-tuning and when training from scratch, while also exploring Eagle3 and DFlash2. We additionally examine the learning rate, training budget, target model, and draft length.
¹Baseten Labs Inc., https://www.baseten.co/. Correspondence to: Aaryam Sharma aaryam.sharma@baseten.co.
Preprint. November 3, 2026.
We make four contributions.
-
Through a controlled comparison, we show that under well-tuned training, TV often matches or surpasses more complex objectives when fine-tuning drafters across architectures, while from scratch a small KL component substantially improves EAL.
-
We extend the gradient analysis of acceptance objectives to any draft and across positions. TV's gradient vanishes whenever the draft puts little mass on under-covered tokens, and EAL's prefix products starve later positions, so optimizing EAL directly is 9.5% worse than TV from scratch.
-
We derive TVP from EAL through a composition rule. Its power interpolates between coverage and acceptance, and its value lower-bounds EAL.
-
We show that annealing the power from zero to one improves on TV by 1.5% when fine-tuning, on the best published objective by 1.2% from scratch, on CE by 9.8%, and on the public DFlash2 recipes by 6.2 to 12.9%. Across drafters, targets, draft lengths, and block verification (Sun et al., 2025), TVP gives the highest or tied-highest acceptance length.
More recent architectures generate drafts in parallel. DFlash uses block-diffusion conditioned on target features (Chen et al., 2026), and PARD-2 generates parallel drafts (An et al., 2026). DSpark combines a parallel backbone, based on DFlash, with a small sequential module (Markov head) to model dependencies within the block (Cheng et al., 2026). DFlash2 adds dynamic convolutions and a path selector over candidate tokens to model sequential dependencies (Inco AI, 2026). These architectures provide different settings in which to study a training objective, and common serving frameworks support them efficiently and at scale (Zheng et al., 2024; Kwon et al., 2023).
Training objectives. Draft training is often formulated as distillation from the target model, using cross-entropy or
forward KL divergence (Li et al., 2025; LightSeek Foundation, 2026). Zhou et al. (2024) studied how the training distribution and the choice of divergence affect speculative decoding. KL-based acceptance guarantees have been studied for greedy, relaxed, and tree-based verification (Sharma, 2026). AdaSPEC uses token filtering in the distillation process to concentrate the draft model's limited capacity (Hu et al., 2025), while Draft-OPD applies on-policy distillation to draft training (Lei et al., 2026).
TaiLr (Ji et al., 2023) trains language generation models under TV, with a parameter that interpolates between MLE and TV to balance the bias and variance of estimating TV from data samples. Goel et al. (2024) use a TV-based loss to align draft models. A large number of recent methods incorporate acceptance through adaptive mixtures, position weighting, and sequence-level surrogates. LK losses mix KL and TV with a weight that decreases with the current acceptance at each position, shifting from KL to TV as the draft aligns (Samarin et al., 2026). TVP instead derives a single loss family from EAL, applies it to the full target distribution, and anneals it from coverage to acceptance.
Token acceptance also depends on whether verification reaches that position. Some methods reweight the loss by position. PARD-2's confidence-adaptive token (CAT) weighting uses the cumulative product of target confidence on the token's prefix (An et al., 2026). Other methods construct surrogates for acceptance length. D-PACE and its KL variant, D-PAKL, derive position weights from draft predictions (Wu et al., 2026). DBLast uses prefix likelihood ratios in an acceptance-length surrogate alongside its dependent drafting architecture (Karimi et al., 2026). Window TV (WTV) couples token overlaps through prefix products (Xia et al., 2026). BV derives its loss from block verification (Sun et al., 2025; Kim et al., 2026). We train DBLast's loss without its latent-variable architecture (DBLast-AL) and apply CAT weighting to TV+KL. Section B defines every objective we compare. Outside speculative decoding, the generalized cross-entropy for noisy labels applies the power form of to the label probability (Zhang & Sabuncu, 2018).
This work examines both the objective and how it is scheduled during training. We distinguish fine-tuning an existing draft head from training one from scratch, and study how the loss schedule affects acceptance in each regime.
3. Background and Motivation
3.1. Speculative Sampling
Let the current context of tokens be , and let and denote the target and draft distributions over the vocabulary , respectively. For a fixed context, we omit the context conditional and write and . For a continuation of length , we write and .
In this paper, we focus on the target distribution preserving formulation of Leviathan et al. (2023). Draft tokens are sampled from and verified tokenwise. If all previous draft tokens have been accepted, is accepted with probability
At the first rejection, subsequent draft tokens are discarded, and a replacement token is sampled from the distribution
If all draft tokens are accepted, an extra token is sampled from . This method preserves the target model's output distribution. Alternatively, in greedy decoding, a draft token is accepted if its prefix is accepted and it matches the target's argmax.
The total variation distance (TV) between and is
A standard result shows that under speculative sampling, the per-token acceptance probability is (Leviathan et al., 2023; Yin et al., 2024). Specifically,
Thus, for a fixed context, minimizing TV is equivalent to maximizing the probability of accepting the next draft token.
3.2. Expected Acceptance Length
Let be the number of accepted draft tokens before the first rejection, excluding the correction token. We write for expected acceptance length. Including the correction token gives the mean number of tokens per verification step, . On a draft-sampled continuation , define . On a target-sampled continuation , define and , with . We use and for expectations over draft and target continuations.
With limited drafter capacity, minimizing TV or KL locally may not optimize EAL, because local improvements may sacrifice acceptance for later tokens. EAL can be written with prefix products under either the draft or the target,
Appendix A.1 proves this change of measure.

Figure 1. Target and draft probabilities (top) and score-gradient weights divided by (bottom) on one target-sampled continuation. TV barely corrects the undercovered , and EAL also attenuates later positions, while TVP at retains correction throughout the window.
3.3. Gradients of TV and KL
We first compare how TV and KL correct undercovered tokens. We write for the undercovered tokens and , for their target and draft mass. Then . We use . For gradient calculations, the target is fixed and , where denotes the draft logits.
The parameter gradients of TV and KL are
Their logit gradients satisfy
When the draft puts almost no mass on the undercovered tokens () while the target does (), TV's gradient vanishes (Figure 1), while KL's gradient does not. Samarin et al. (2026) observe that TV's logit gradient reflects only the sign of each token's error and vanishes at random initialization. Equation (7) makes the condition exact for any draft, including a trained one that is confident in the wrong token. Appendix A.2 gives the derivation.
3.4. Prefix Attenuation
Since does not depend on , we can differentiate Equation (5) inside . The factor has a nonzero gradient only when lies in the undercovered set of , which gives
The coefficient at position is at most , where (Section A.1). While decays only linearly, can decay exponentially due to multiplicative accumulation of mismatch, diminishing the learning signal for all future tokens (Figure 1). When a head is trained from scratch, the draft probabilities start off as poorly aligned, and the initial learning signal then mostly applies to the first few tokens, slowing down training. Optimizing EAL directly, with a loss that weights each position's TV by and equals the EAL deficit in expectation, is 1.9% worse than TV when fine-tuning and 9.5% from scratch (Section D.5).
Existing methods counter this attenuation with other position weights, such as DFlash's fixed decay, CAT's cumulative target-confidence weights, and D-PACE/D-PAKL's smoothed draft-confidence weights (Chen et al., 2026; An et al., 2026; Wu et al., 2026). These weights are chosen separately from the per-token loss. We instead derive the loss from EAL, giving a surrogate that removes the prefix products and strengthens undercoverage correction.
4. TVP
4.1. A Logarithmic Surrogate
We first convert EAL to a sum, using a logarithm and Jensen's inequality,
where
The parameter gradient of is
and . This removes cross-position products and weights undercovered tokens by their target probabilities, resolving the vanishing gradient of TV. While the logit gradient is bounded, the loss itself can be unbounded. Consider a token with and . The contribution to TV is , while it contributes to . This does not imply that is unstable for training, but we seek a better-behaved loss function.
4.2. The Power Family
For better behavior, we want to soften , while modeling the cumulative dependence on earlier positions in the
draft. A later position only matters if the tokens before it are accepted, so its penalty should reduce as the probability of accepting its prefix drops. For two successive factors and of a prefix product, we therefore ask that , where scales the later penalty by the survival of the prefix. Negative log has and ignores the prefix, while the rejection probability has . Appendix A.3 proves that this rule determines both and . The penalty of three factors must not depend on whether they are grouped as or , which implies that . For continuous , we see that for some .
Let us normalize and . Differentiating with respect to and then setting , we get . Hence,
Convexity, as needed for Jensen's inequality, requires , so we restrict .
Applying to in place of , we define, for ,
and . We have as , and . Differentiation gives us
The coefficient interpolates between at and at , and amplifies undercovered tokens over TV by a factor of .
For , , the loss contribution is , and the score coefficient is . Thus, unlike , any keeps the penalty on a badly undercovered token bounded.
4.3. Annealing
As training progresses, we want to focus on acceptance more directly instead of undercoverage correction alone. We achieve this by annealing linearly from an initial value, typically 0, to 1, so that training moves from coverage to acceptance.
5. Theoretical Properties
We further motivate TVP by connecting it to EAL, showing that optimizing TVP guarantees a lower bound on EAL.
Theorem 5.1 (EAL lower bound). Let be position weights, and . For ,
At , . With , and .
Proof sketch. Applying Jensen's inequality to (5) over the token trajectories, gives the first inequality:
The second inequality follows from applying the composition rule repeatedly, then taking the conditional expectation over each token gives , and rearranging the sum gives . Since and , . For , rearranging yields . Combining this with gives the positive-part bound. At zero, exponentiating the logarithmic inequality gives .
Every member of TVP therefore gives a lower bound on EAL, and implies (Appendix A.4).
We can also quantify the extra penalty that TVP places on undercoverage relative to TV.
Proposition 5.2 (TV majorization). For ,
Moreover, . is nonincreasing in and is zero exactly when .
This ordering extends to the position-weighted sum , which also bounds the EAL deficit.
Proposition 5.3 (EAL-deficit majorization). For fixed target and draft distributions and ,
The proofs are given in Sections A.5 and A.5.1. Since every member of TVP upper bounds both the local rejection probability and the EAL deficit , lowering the loss at any point of the anneal raises the guaranteed lower bound on EAL. Training starts at , which is within TV of KL and whose gradient does not vanish on undercovered tokens, and decreases to TV as .
Close losses do not imply close gradients, so we also bound how far the TVP logit gradient is from TV's.
Theorem 5.4 (Recovery of TV's logit gradient). Let . For ,
The extra corrective signal on undercovered tokens reduces as for any and , even when some draft probabilities are tiny, so the anneal ends with acceptance-focused updates. The gap also shrinks with , so even at low , the coverage phase barely changes TV's update at positions the draft already predicts well, keeping the coverage penalty low. Appendix A.6 gives the proof.
At , TVP is an additive TV objective rather than the exact EAL deficit, so it keeps supervision on positions whose prefix is rarely accepted (Section A.5.1).
6. Experiments
6.1. Setup
Architecture. Motivated by the recent success of parallel drafters, our experiments focus on DSpark and DFlash2 (Cheng et al., 2026; Inco AI, 2026). We both train drafters from scratch and fine-tune released ones. We use the commonly reported targets Qwen3-8B, Qwen3-14B, and Qwen3.8-27B (Yang et al., 2025; Qwen Team, 2026). For fine-tuning, we use DeepSeek-AI's released DSpark heads (DeepSeek-AI, 2026b;a) and Qwen3-8B Eagle3 head (DeepSeek-AI, 2026c), and z-lab's Qwen3.8-27B DFlash2 head (Z Lab, 2026).
Training. We train on Open-PerfectBlend, minus any prompts in the evaluation sets, using thinking-on completions sampled from the target at , with a fresh generation pass each epoch. Thinking stays on in evaluation too, since production reasoning models typically serve with it enabled, making this regime more predictive of deployed acceptance. The released heads may not have been trained on thinking-on data, so part of our gain over them may reflect this shift. To ensure fairness, every objective sees the exact same data in the same order, with the same optimizer, batch size, and learning-rate schedule. Unless noted, fine-tuning runs for one epoch at a peak learning rate of , the best value of a sweep (Section D.2), and pretraining uses for 5 epochs (DSpark) or 2 epochs (DFlash2). The main TVP schedule anneals linearly from 0 to 1 over the first 80% of training. TVP with the linear weights from our derivation is within noise of using DSpark's exponential position weights , so all per-token objectives share the exponential weights and differ only in their per-token loss. Theorem 5.1 covers them with .
Baselines. We compare against forward KL, target-token cross-entropy (CE), total variation (TV),
(TV+KL), and 0.9 TV + 0.1 CE (TV+CE), adapted from DSpark (Cheng et al., 2026). For DSpark, we also compare against the published objectives CAT weighting (An et al., 2026), LK in its adaptive form and its log-acceptance form LK-log (Samarin et al., 2026), the acceptance-length objectives D-PACE and D-PAKL (Wu et al., 2026), DBLastAL (Karimi et al., 2026) and WTV (Xia et al., 2026), and the block-verification loss BV (Kim et al., 2026). For DFlash2, we use the recipes of SpecForge (Li et al., 2026) and TorchSpec (TorchSpec Team & Mooncake Team, 2026). TVP variants with a fixed or later starting serve as ablations.
Evaluation. We evaluate on nine benchmarks across math (GSM8K, MATH, AIME25), code (MBPP, HumanEval, LiveCodeBench) and chat (MT-Bench, Alpaca, ArenaHard). Each drafter is served in SGLang (Zheng et al., 2024) with speculative sampling at , and greedy decoding () is reported in Section D.4. We report , the average number of tokens generated per target verification step, including the correction token. Section C gives full hyperparameters and evaluation details.
is the paired percentage difference against a TV objective trained in the same setting, with 95% paired bootstrap confidence intervals (CIs) over prompts to cover evaluation noise. Training seed variance is discussed in Section D.1. Bold marks the best entry in a column.
6.2. Main Results
TVP is the best objective. We first observe that on fine-tuning Qwen3-8B DSpark (Table 1), TVP achieves the highest among all objectives, outperforming TV by 1.5%, KL by 8.2% and CE by 9.8%, and the released head by 25.7%. On Qwen3-14B (Table 3), we observe the same ordering and a similar margin over TV (+1.4%), and on Eagle3, TVP is slightly ahead of TV (+0.2%). For DFlash2, fine-tuning with TV or TVP improves the released head by 2.3 to 2.9%, while the published CE recipes tie or degrade it (Table 14). Pretraining once again shows that TVP maintains its advantage, with a 1.2% improvement over the next best baseline (LK) and 4.2% over TV (Table 2). Since DFlash2's path selector only considers the top-16 tokens, we train TV and TVP either on the top-16 tokens or on all tokens. Pretrained from scratch, TVP surpasses the best TV recipe by 1.3% (Table 3b). TVP gains 1.0% from covering the full vocabulary, even though the selector only proposes the top-16 tokens, while restricting TV makes little difference, likely because TVP's coverage phase has little room in the top 16.
These gains hold beyond the default setup. Training with longer drafts makes the benefit of TVP more pronounced (+1.5% to +1.9% over TV, Table 4), as later positions in a longer draft are harder to predict, so coverage matters more there. BV improves the most from to , as it
is a block-level objective. Likelihood objectives fall further behind TV at (KL from -6.1% to -9.7%, CE from -7.5% to -11.2%), so acceptance alignment matters more as drafts grow longer. TVP is also the best objective under block verification, surpassing even BV by 1.2% at and 0.6% at . Its margin over TV grows under block verification, to +1.8% at and +2.5% at , so TVP, a token-level acceptance objective, transfers well to a block verifier. TVP also stays ahead of TV under greedy decoding, by +1.6% when fine-tuning and +3.6% from scratch (Section D.4). TVP also has the highest at every learning rate we tried (Table 8), and the ranking of the objectives stays consistent from 1 to 5 epochs of training (Table 5), with TVP still ahead after 5 epochs, by +1.0% when fine-tuning and +4.2% from scratch, so its lead is not an artifact of short training. Finally, these margins are well above training-seed noise, as three seeds of TVP differ by at most 0.27% (Section D.1).
Simple losses compete with published objectives. Interestingly, when fine-tuning (Table 1), none of the published baselines improves on plain TV beyond noise, with BV closest at +0.1%. The baselines that come close to TV are the ones with a large component of TV in them (LK, TV+KL, TV+CE) and BV, which reduces to TV at the first position. Objectives that move further from per-token acceptance fall further behind. LK's log-acceptance form is 2.9% below its adaptive form (-3.2% against -0.3%), and D-PACE, which reweights CE by draft confidence, is 3.4% below TV. Likelihood objectives fall furthest behind, with KL 6.1% below TV on Qwen3-8B and 7.4% below on Eagle3. At , acceptance follows TV rather than likelihood. On both Qwen3-8B and Qwen3-14B, the KL-trained draft has the lowest forward KL in every entropy bucket, but up to 4 TV's draft entropy, and its acceptance rate is 7% lower than TV's on positions with target entropy below 1 nat, which make up 86% of positions (Table 12). This supports the notion that acceptance-oriented training is more effective than likelihood-oriented training when the model has already learned a reasonable policy. In pretraining, TV is still strong relative to pure likelihood objectives, but now falls short of every baseline that mixes in KL. However, simply adding a small KL term (TV+KL) brings it within noise of the best published baseline (+2.8% against LK's +3.0%). Prefix weighting does not help, as CAT applied to the same TV+KL loss is 0.6% below it. The acceptance-length surrogates (D-PACE, D-PAKL, DBLast-AL and WTV) also do not beat TV beyond noise, consistent with the prefix attenuation described in Section 3.4. On DFlash2, both published CE recipes fall 4.2 to 9.9% below TV. Across both regimes (Tables 1 and 2), a simple loss matches or outperforms the newer objectives we tested, plain TV when fine-tuning and TV+KL from scratch.
Table 1. Qwen3-8B DSpark, fine-tuned for one epoch. Speedup is over the target alone at one request, and is the 95% CI.
| Objective | (%) | Speedup | |
|---|---|---|---|
| Released head | 3.566 | ||
| TV | 4.415 | ref | |
| KL | 4.143 | ||
| CE | 4.083 | ||
| TV+KL | 4.404 | ||
| TV+CE | 4.410 | ||
| LK | 4.401 | ||
| LK-log | 4.273 | ||
| D-PACE | 4.266 | ||
| WTV | 4.390 | ||
| BV | 4.418 | ||
| TVP, | 4.120 | ||
| TVP | 4.482 |
Table 2. Qwen3-8B DSpark, pretrained from random initialization for five epochs.
| Objective | (%) | |
|---|---|---|
| TV | 4.465 | ref |
| KL | 4.334 | |
| TV+KL | 4.592 | |
| CAT | 4.563 | |
| LK | 4.600 | |
| D-PACE | 4.436 | |
| D-PAKL | 4.479 | |
| DBLast-AL | 4.426 | |
| WTV | 4.377 | |
| TVP, | 4.565 | |
| TVP, | 4.595 | |
| TVP, | 4.634 | |
| TVP | 4.653 |

Figure 2. relative to TV at every evaluated checkpoint of the 5-epoch Qwen3-8B DSpark runs. TVP's reaches 1 at 80% of training (shaded). Table 13 lists every checkpoint.
Why TVP works. TVP's initial coverage-focused training is what allows it to surpass even pure acceptance-oriented training. Coverage alone is not enough, as TVP with fixed at 0 is 6.7% below TV when fine-tuning (Table 1), close to KL. Fixing always underperforms annealing in both training regimes (Table 9), and starting the anneal from a higher also underperforms, especially in pretraining. From scratch, grows monotonically the earlier the anneal starts, from +2.3% for a fixed to +2.9%, +3.8% and +4.2% for starts at 0.5, 0.25 and 0 (Table 2), and Qwen3-14B shows the same order (Table 3). This is because starting from gives undercovered tokens their strongest push (Equation (13)), which helps most at positions with high target entropy (Table 6), and annealing from a higher initial would skip it. The anneal's direction matters more than its shape, as reversing it costs 8.3%, while ending the ramp at 40% or stepping at 80% costs 0.6% and 1.3% (Table 9).
The training curves in Figure 2 show the cost and payoff of this coverage phase. TVP starts below the anneal from
and, when pretraining, below TV+KL and LK as well, but overtakes them while its is still below 1, by about 36% of training from scratch and about 60 to 70% when fine-tuning. The TV+KL, LK and fixed- objectives stay roughly parallel to TV for the whole run, while TVP's lead widens until reaches 1 and then stays roughly flat. Since TVP overtakes them before its loss becomes TV, the coverage phase sets up a better solution, rather than TVP simply ending on the right objective.
Table 6 shows where the gain comes from, and Qwen3-8B shows the same pattern (Table 12). On the lowest-entropy positions (48% of positions), TVP and TV accept equally, and TVP's per-position gain over TV grows steadily with target entropy, to about +0.02. KL only leads above 2 nats, so TVP keeps part of KL's high-entropy advantage without its low-entropy cost. TVP's draft also has higher entropy and lower forward KL than TV's in every bucket, so the anneal yields a broader draft that covers more target mass.
Table 3. Other targets and drafters. The 95% CIs on are , and to 0.5 for DFlash2.
| (a) Qwen3-14B DSpark, FT. | ||
|---|---|---|
| Objective | (%) | |
| Released | 3.534 | |
| TV | 4.315 | ref |
| KL | 4.047 | -6.2 |
| TV+KL | 4.311 | -0.1 |
| CAT | 4.298 | -0.4 |
| LK | 4.307 | -0.2 |
| D-PACE | 4.170 | -3.4 |
| D-PAKL | 4.186 | -3.0 |
| DBLast-AL | 4.197 | -2.7 |
| WTV | 4.285 | -0.7 |
| TVP, | 4.307 | -0.2 |
| TVP, | 4.354 | +0.9 |
| TVP | 4.375 | +1.4 |
(b) Qwen3.8-27B DFlash2, PT.
| Objective | (%) | |
|---|---|---|
| Released | 3.741 | |
| TV | 3.541 | ref |
| TV, top-16 | 3.555 | +0.4 |
| SpecForge CE | 3.390 | -4.2 |
| TorchSpec CE | 3.189 | -9.9 |
| TVP, top-16 | 3.564 | +0.6 |
| TVP | 3.599 | +1.7 |
| (c) Qwen3-8B Eagle3, FT. | ||
| Objective | (%) | |
| Released | 2.742 | |
| TV | 3.875 | ref |
| KL | 3.587 | -7.4 |
| TV+KL | 3.846 | -0.7 |
| TVP | 3.881 | +0.2 |
7. Conclusions
Acceptance-focused training matters most once a drafter already has a good policy. In our main fine-tuning comparison, plain TV matches or outperforms every published objective we tested, including those built around acceptance length, and likelihood objectives trail it by 6 to 8%. A well-tuned TV baseline should therefore accompany new draft losses.
Coverage matters when training from scratch. A randomly initialized drafter spreads its mass over the whole vocabulary and puts almost none on the tokens the target favors, which is exactly where TV’s gradient vanishes. TV hence falls 2.2 to 3.0% behind its mixtures with KL. A simple mixture of 90% TV and 10% KL recovers two thirds of TVP’s gain over TV (+2.8% against +4.2%), while optimizing EAL directly is 9.5% worse than TV, because prefix products starve later positions.
TVP blends coverage and acceptance as a surrogate for EAL, and its two phases interpolate smoothly with . Annealing from zero to one gives the highest or tied-highest in every sampling setting we evaluated, including longer drafts and block verification, where it outperforms BV, a loss designed for block verification, despite being a token-level loss.
Limitations. Our Eagle3 runs see far fewer training samples than our DSpark runs, so the near tie between TVP and TV there (+0.2%) may not reflect a fully trained Eagle3 head. TVP ramps up more slowly, trailing TV+KL and LK for about the first third of pretraining (Figure 2), which could matter under a low training budget. The anneal also assumes that the training budget is known in advance,
Table 4. Longer drafts and block verification (Sun et al., 2025), Qwen3-8B DSpark FT. is relative to TV under the same verifier and length, with 95% CIs of () and ().
| Objective | Token, | Block, | Block, | |||
|---|---|---|---|---|---|---|
| (%) | (%) | (%) | ||||
| Released head | 3.571 | 3.667 | 3.668 | |||
| TV | 4.893 | ref | 4.533 | ref | 5.096 | ref |
| KL | 4.417 | -9.7 | 4.294 | -5.3 | 4.636 | -9.0 |
| CE | 4.343 | -11.2 | 4.232 | -6.6 | 4.558 | -10.5 |
| TV+KL | 4.881 | -0.2 | 4.554 | +0.5 | 5.131 | +0.7 |
| TV+CE | 4.854 | -0.8 | 4.559 | +0.6 | 5.121 | +0.5 |
| LK | 4.837 | -1.1 | 4.547 | +0.3 | 5.084 | -0.2 |
| LK-log | 4.604 | -5.9 | 4.424 | -2.4 | 4.829 | -5.2 |
| WTV | 4.842 | -1.0 | 4.503 | -0.7 | 5.052 | -0.9 |
| BV | 4.944 | +1.0 | 4.557 | +0.5 | 5.194 | +1.9 |
| TVP | 4.987 | +1.9 | 4.613 | +1.8 | 5.225 | +2.5 |
Table 5. Training budget, with learning rates (FT) and (PT).
| Objective | FT epochs | PT epochs | ||
|---|---|---|---|---|
| 1 | 5 | 2 | 5 | |
| TV | 4.399 | 4.633 | 4.217 | 4.465 |
| KL | 4.100 | 4.343 | 4.082 | 4.334 |
| CAT | 4.371 | 4.614 | 4.335 | 4.563 |
| D-PACE | 4.244 | 4.480 | 4.205 | 4.436 |
| D-PAKL | 4.242 | 4.497 | 4.242 | 4.479 |
| TVP, | 4.370 | 4.614 | 4.330 | 4.565 |
| TVP, | 4.423 | 4.667 | 4.364 | 4.595 |
| TVP | 4.437 | 4.681 | 4.417 | 4.653 |
| Spearman | 0.95 | 0.98 | ||
Table 6. Acceptance, draft entropy and forward KL by target entropy (nats), Qwen3-14B FT, last 5% of training. Acceptance is the mean of 1 – TV. Underlined: within noise (0.01) of the best. Table 12 adds all buckets and Qwen3-8B.
| Target | Share | Acceptance | Draft entropy | Forward KL | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| TVP | TV | KL | TVP | TV | KL | TVP | TV | KL | ||
| < 0.05 | 47.6% | .876 | .877 | .819 | 0.19 | 0.16 | 0.64 | 0.66 | 0.79 | 0.46 |
| 0.2–0.5 | 10.9% | .636 | .631 | .569 | 0.67 | 0.59 | 1.60 | 1.73 | 2.06 | 1.16 |
| 1–2 | 13.0% | .474 | .460 | .479 | 1.27 | 1.17 | 2.36 | 2.48 | 2.95 | 1.51 |
| > 3 | 0.1% | .257 | .239 | .312 | 2.58 | 2.39 | 4.51 | 4.14 | 4.75 | 2.47 |
and adaptive schedules remain open. We evaluate published objectives within a shared drafter and training recipe, so our comparisons isolate the loss rather than reproduce each paper's full system. We also only evaluate at and with greedy decoding, not at intermediate temperatures, and measure speedups at a fixed concurrency that does not represent a production workload.
Acknowledgements
The author thanks Joyjit Daw and Phil Howes for their support of this work, Max Kirkby for his review and valuable feedback on the manuscript, and all three for their encouragement.
Impact Statement
This paper studies how to train draft models for speculative decoding. Better drafters reduce the cost and energy of inference. Since speculative sampling is lossless, our work inherits the societal impacts of the models it accelerates and adds no new capabilities. Cheaper inference can broaden access to large language models, which can amplify both their beneficial and harmful uses.
References
An, Z., Liu, T., Liu, Z., Li, D., Liu, R., and Barsoum, E. PARD-2: Target-Aligned Parallel Draft Model for Dual-Mode Speculative Decoding. arXiv preprint arXiv:2605.08632, 2026. URL https://arxiv.org/abs/2605.08632.
Ankner, Z., Parthasarathy, R., Nrusimha, A., Rinard, C., Ragan-Kelley, J., and Brandon, W. Hydra: Sequentially-Dependent Draft Heads for Medusa Decoding. In First Conference on Language Modeling, 2024. URL https://openreview.net/forum?id=FbhjirzvJG.
Cai, T., Li, Y., Geng, Z., Peng, H., Lee, J. D., Chen, D., and Dao, T. Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads. In Salakhutdinov, R., Kolter, Z., Heller, K., Weller, A., Oliver, N., Scarlett, J., and Berkenkamp, F. (eds.), Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 5209–5235. PMLR, 21–27 Jul 2024. URL https://proceedings.mlr.press/v235/cai24b.html.
Chen, C., Borgeaud, S., Irving, G., Lespiau, J.-B., Sifre, L., and Jumper, J. Accelerating Large Language Model Decoding with Speculative Sampling. arXiv preprint arXiv:2302.01318, 2023. URL https://arxiv.org/abs/2302.01318.
Chen, J., Liang, Y., and Liu, Z. DFlash: Block Diffusion for Flash Speculative Decoding. In Zhang, T., Dudik, M., Jaggi, M., Agarwal, A., Li, S., Schuurmans, D., Zhu, J., Berkenkamp, F., Dong, H., and Bietti, A. (eds.), Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pp. 15343–15355. PMLR, 06–11 Jul 2026.
URL https://proceedings.mlr.press/v306/chen26bv.html.
Cheng, X., Yu, X., Shao, C., Li, J., Xiong, Y., Qian, Y., Zhu, J., Ma, S., Zhang, X., Ye, J., Chen, Q., Deng, C., Yu, J., Dai, D., Zhang, Z., Wei, Y., Tan, Y., Yang, W., Xu, R., Wu, Y., Xu, Z., Wang, X., Chen, M., Tian, R., Bi, X., Hao, Z., Chen, S., Cao, H., Zhang, W., Xu, A., Zhang, H., Zhao, D., and Liang, W. DSpark: Confidence-Scheduled Speculative Decoding with Semi-Autoregressive Generation. arXiv preprint arXiv:2607.05147, 2026. URL https://arxiv.org/abs/2607.05147.
DeepSeek-AI. DSpark Qwen3-14B Block-7 Draft Model. Hugging Face model repository, 2026a. URL https://huggingface.co/deepseek-ai/dspark_qwen3_14b_block7.
DeepSeek-AI. DSpark Qwen3-8B Block-7 Draft Model. Hugging Face model repository, 2026b. URL https://huggingface.co/deepseek-ai/dspark_qwen3_8b_block7.
DeepSeek-AI. EAGLE-3 Qwen3-8B TTT-7 Draft Model. Hugging Face model repository, 2026c. URL https://huggingface.co/deepseek-ai/eagle3_qwen3_8b_ttt7.
Fu, Y., Bailis, P., Stoica, I., and Zhang, H. Break the Sequential Dependency of LLM Inference Using Lookahead Decoding. In Salakhutdinov, R., Kolter, Z., Heller, K., Weller, A., Oliver, N., Scarlett, J., and Berkenkamp, F. (eds.), Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 14060–14079. PMLR, 21–27 Jul 2024. URL https://proceedings.mlr.press/v235/fu24a.html.
Goel, R., Gagrani, M., Jeon, W., Park, J., Lee, M., and Lott, C. Direct Alignment of Draft Model for Speculative Decoding with Chat-Fine-tuned LLMs. In ICLR 2024 Workshop on Mathematical and Empirical Understanding of Foundation Models, 2024. URL https://openreview.net/forum?id=126PpV2CoO.
Hassan, M. Live Draft Model Training for Speculative Decoding. Baseten Blog, June 2026. URL https://www.baseten.co/blog/live-draft-model-training-for-speculative-decoding/.
Hu, Y., Guo, J., Feng, X., and Zhao, T. AdaSPEC: Selective Knowledge Distillation for Efficient Speculative Decoders. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. URL https://openreview.net/forum?id=zNLglSOwD.
Inco AI. DFlash 2: Keep Drafting Parallel, August 2026. URL https://inco.ai/blog/dflash2/.
Ji, H., Ke, P., Hu, Z., Zhang, R., and Huang, M. Tailoring Language Generation Models under Total Variation Distance. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=VELLOPlWfc.
Karimi, A., Gao, C., and Hassanpour, N. DBLAST: Dependent Block Drafting for Stochastic Speculative Decoding. arXiv preprint arXiv:2608.05448, 2026. URL https://arxiv.org/abs/2608.05448.
Kim, S., Koo, J., Kim, H., Bang, I., Lee, S., Oh, H., Park, B., and Lee, D. BV Loss: Block Verification-Aware Loss for Block Diffusion Speculative Decoding. arXiv preprint arXiv:2609.34832, 2026. URL https://arxiv.org/abs/2609.34832.
Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J. E., Zhang, H., and Stoica, I. Efficient Memory Management for Large Language Model Serving with PagedAttention. In Proceedings of the ACM SIGOPS 29th Symposium on Operating Systems Principles, 2023.
Lei, H., Li, Y., Zhang, H., Zhang, S., Cheng, Q., Qu, X., Cui, G., Zhou, B., Ding, N., Luo, Y., and Cheng, Y. Draft-OPD: On-Policy Distillation for Speculative Draft Models. arXiv preprint arXiv:2605.29343, 2026. URL https://arxiv.org/abs/2605.29343.
Leviathan, Y., Kalman, M., and Matias, Y. Fast Inference from Transformers via Speculative Decoding. In Krause, A., Brunskill, E., Cho, K., Engelhardt, B., Sabato, S., and Scarlett, J. (eds.), Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pp. 19274–19286. PMLR, 23–29 Jul 2023. URL https://proceedings.mlr.press/v202/leviathan23a.html.
Li, S., Wang, C., Zhu, Y., Wang, Y., Yin, F., Shi, S., Chen, Y., Dong, X., Chen, Q., Pan, J., Li, J., Zhang, Y., Yu, L., Wen, Y., Tsang, I., and Zhang, T. SpecForge: A Flexible and Efficient Open-Source Training Framework for Speculative Decoding. In Zhang, T., Dudik, M., Jaggi, M., Agarwal, A., Li, S., Schuurmans, D., Zhu, J., Berkenkamp, F., Dong, H., and Bietti, A. (eds.), Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pp. 71081–71095. PMLR, 06–11 Jul 2026. URL https://proceedings.mlr.press/v306/1i26hf.html.
Li, Y., Wei, F., Zhang, C., and Zhang, H. EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty. In Salakhutdinov, R., Kolter, Z., Heller, K., Weller, A.,
Oliver, N., Scarlett, J., and Berkenkamp, F. (eds.), Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 28935–28948. PMLR, 21–27 Jul 2024a. URL https://proceedings.mlr.press/v235/1i24bt.html.
Li, Y., Wei, F., Zhang, C., and Zhang, H. EAGLE-2: Faster Inference of Language Models with Dynamic Draft Trees. In Al-Onaizan, Y., Bansal, M., and Chen, Y.-N. (eds.), Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pp. 7421–7432, Miami, Florida, USA, November 2024b. Association for Computational Linguistics. doi: 10.18653/v1/2024.emnlp-main.422. URL https://aclanthology.org/2024.emnlp-main.422/.
Li, Y., Wei, F., Zhang, C., and Zhang, H. EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test. In Belgrave, D., Zhang, C., Lin, H., Pascanu, R., Koniusz, P., Ghassemi, M., and Chen, N. (eds.), Advances in Neural Information Processing Systems, volume 38, Main Conference, pp. 136737–136756. Curran Associates, Inc., 2025. doi: 10.52202/085713-4562. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/c7b5a35ea98b62512a869c19ea7b03cb-Paper-Conference.pdf.
LightSeek Foundation. TorchSpec: A PyTorch-Native Library for Training Speculative Decoding Models. GitHub repository, 2026. URL https://github.com/lightseekorg/TorchSpec.
Qwen Team. Qwen3.8-Max: A New Bar for Coding and Cowork, August 2026. URL https://qwen.ai/blog?id=qwen3.8.
Samarin, A., Krutikov, S., Shevtsov, A., Skvortsov, S., Fisin, F., and Golubev, A. LK Losses: Direct Acceptance Rate Optimization for Speculative Decoding. In Zhang, T., Dudik, M., Jaggi, M., Agarwal, A., Li, S., Schuurmans, D., Zhu, J., Berkenkamp, F., Dong, H., and Bietti, A. (eds.), Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pp. 107441–107454. PMLR, 06–11 Jul 2026. URL https://proceedings.mlr.press/v306/samarin26a.html.
Sharma, A. When Is a Draft Accepted? A Theory of Acceptance in Speculative Decoding. arXiv preprint arXiv:2606.30265, 2026. URL https://arxiv.org/abs/2606.30265.
Stern, M., Shazeer, N., and Uszkoreit, J. Blockwise Parallel Decoding for Deep Autoregressive Models. In Bengio, S., Wallach, H., Larochelle, H., Grauman, K., Cesa-Bianchi,
N., and Garnett, R. (eds.), Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018. URL https://proceedings.neurips.cc/paper_files/paper/2018/file/c4127b9194fe8562c64dc0f5bf2c93bc-Paper.pdf.
Sun, Z., Mendlovic, U., Leviathan, Y., Aharoni, A., Ro, J. H., Beirami, A., and Suresh, A. T. Block Verification Accelerates Speculative Decoding. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=frsg32u0r0.
TorchSpec Team and Mooncake Team. TorchSpec: Speculative Decoding Training at Scale. PyTorch Blog, March 2026. URL https://pytorch.org/blog/torchspec-speculative-decoding-training-at-scale/.
Wu, T., Yao, Y., Qi, Z., Zheng, H., Wang, Z., Ma, H., Liao, L., Lakkaraju, H., Li, J., and Du, Y. D-PACE: Dynamic Position-Aware Cross-Entropy for Parallel Speculative Drafting. arXiv preprint arXiv:2605.18810, 2026. URL https://arxiv.org/abs/2605.18810.
Xia, T., Ganesan, M., Feng, Y., Wang, H., Egger, M., and Zhang, S. Q. Acceptance-Aware Draft Model Training for Speculative Decoding. arXiv preprint arXiv:2609.24150, 2026. URL https://arxiv.org/abs/2609.24150.
Yang, A., Li, A., Yang, B., Zhang, B., Hui, B., Zheng, B., Yu, B., Gao, C., Huang, C., Lv, C., Zheng, C., Liu, D., Zhou, F., Huang, F., Hu, F., Ge, H., Wei, H., Lin, H., Tang, J., Yang, J., Tu, J., Zhang, J., Yang, J., Yang, J., Zhou, J., Zhou, J., Lin, J., Dang, K., Bao, K., Yang, K., Yu, L., Deng, L., Li, M., Xue, M., Li, M., Zhang, P., Wang, P., Zhu, Q., Men, R., Gao, R., Liu, S., Luo, S., Li, T., Tang, T., Yin, W., Ren, X., Wang, X., Zhang, X., Ren, X., Fan, Y., Su, Y., Zhang, Y., Zhang, Y., Wan, Y., Liu, Y., Wang, Z., Cui, Z., Zhang, Z., Zhou, Z., and Qiu, Z. Qwen3 Technical Report. arXiv preprint arXiv:2505.09388, 2025. URL https://arxiv.org/abs/2505.09388.
Yin, M., Chen, M., Huang, K., and Wang, M. A Theoretical Perspective for Speculative Decoding Algorithm. In Globerson, A., Mackey, L., Belgrave, D., Fan, A., Paquet, U., Tomczak, J., and Zhang, C. (eds.), Advances in Neural Information Processing Systems, volume 37, pp. 128082–128117. Curran Associates, Inc., 2024. doi: 10.52202/079017-4067. URL https://proceedings.neurips.cc/paper_files/paper/2024/file/e7349e785900b93d8b4971a3f2c1cefe-Paper-Conference.pdf.
Z Lab. Qwen3.8-27B-DFlash2 Draft Model. Hugging Face model repository; mirror of Inco AI release, 2026. URL https://huggingface.co/z-lab/Qwen3.8-27B-DFlash2.
Zhang, Z. and Sabuncu, M. R. Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labels. In Proceedings of the 32nd International Conference on Neural Information Processing Systems, NIPS'18, pp. 8792–8802, Red Hook, NY, USA, 2018. Curran Associates Inc.
Zheng, L., Yin, L., Xie, Z., Sun, C., Huang, J., Yu, C. H., Cao, S., Kozyrakis, C., Stoica, I., Gonzalez, J. E., Barrett, C., and Sheng, Y. SGLang: Efficient Execution of Structured Language Model Programs. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, 2024. URL https://openreview.net/forum?id=VqkAKQibpq.
Zhou, Y., Lyu, K., Rawat, A. S., Menon, A. K., Rostamizadeh, A., Kumar, S., Kagy, J.-F., and Agarwal, R. DistillSpec: Improving Speculative Decoding via Knowledge Distillation. In Kim, B., Yue, Y., Chaudhuri, S., Fragkiadaki, K., Khan, M., and Sun, Y. (eds.), International Conference on Learning Representations, volume 2024, pp. 32011–32050, 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/file/8766fbc68eled1cdef712ce273e0a363-Paper-Conference.pdf.
Appendix Contents
A TVP Identities and Proofs 13
A.1 EAL Identities and Gradients ..... 13
A.2 Gradient Formulas and Norm Bounds ..... 14
A.3 The Power Composition Rule ..... 15
A.4 Proof of the EAL Lower Bound ..... 16
A.5 Majorization and the EAL Gap ..... 17
A.6 Gradient Convergence and Annealing ..... 18
B Training Objectives and Baseline Definitions 18
B.1 Token Objectives and Fixed Mixtures ..... 18
B.2 LK and LK-log ..... 19
B.3 Confidence-Adaptive Token Weighting ..... 19
B.4 D-PACE and D-PAKL ..... 19
B.5 Window TV ..... 19
B.6 DBLast Acceptance-Length Loss ..... 20
B.7 Block Verification Loss ..... 20
B.8 EAL Loss ..... 20
B.9 DFlash2 Selector Objectives ..... 21
C Experimental and Implementation Details 21
D Additional Results and Ablations 22
D.1 Evaluation and seed noise ..... 22
D.2 Learning-rate sweep ..... 22
D.3 TVP schedule ablations ..... 22
D.4 Greedy decoding ..... 22
D.5 Optimizing EAL directly ..... 23
D.6 Acceptance by target entropy ..... 24
D.7 Training curves ..... 24
D.8 DFlash2 fine-tuning ..... 24
A. TVP Identities and Proofs
Section A.1 proves the EAL identity (5) and the attenuation bound (8) from Section 3. Section A.2 proves the gradient formulas (6), (7) and (13), and Section A.3 derives the power family (11). Sections A.4 to A.6 prove the results of Section 5.
A.1. EAL Identities and Gradients
We use notation from Sections 3 and 4, and follow the convention of conditioning on a fixed context throughout. We write for the positive part, and square brackets around a condition, such as , for its indicator. For derivatives, we fix the target distribution and assume the probabilities are positive. Where , the positive part is not differentiable, and we take its derivative to be zero there, for every and in every gradient identity below. Probability bounds extend to zero probabilities by limits, allowing .
Change of measure and EAL. For a particular prefix , its probability of being proposed and fully accepted is
Summing over all prefixes of length gives . Thus,
which proves (5).
Exact TV representation. Observe that . Summing these from to gives
For a fixed prefix , the next token is drawn from . Therefore,
depends only on , so we can take it outside the conditional expectation. We can then compute the following:
Position appears in exactly horizons. Using the weights , we get
Exact EAL gradient. When , and when , . Hence
The target distribution does not depend on , so we can differentiate through with respect to to see that
Here . For , every additional factor in lies in , so . Averaging over the remaining horizons gives , the bound stated after (8).
TVP gradient. For the TVP objective , conditioning on gives . Since , including , differentiating each gives
These score coefficients retain the positional weights and the local factor , providing supervision independently of the survival of earlier positions.
A.2. Gradient Formulas and Norm Bounds
Score gradients. Letting we see that,
This shows (6). For , only tokens in U contribute to (12), giving
Differentiating each term gives
proving (13). Differentiation of gives the same expression with . Since on , the coefficient satisfies .
Logit gradient L1 norms. Recall that is the set of undercovered tokens, and and are their target and draft mass. For each token , let if and otherwise. Let be the vector with entries , and its total. Writing for the one-hot vector of token , the softmax gives , so
Since on , we have . Hence on , while outside . Thus, the sum of positive coordinates of is
The negative terms have the same total magnitude. Therefore,
Taking and gives and , respectively. For KL, , whose norm is . This establishes (7) and places TVP's logit gradient norm between those of TV and .
A.3. The Power Composition Rule
Lemma A.1 (Power family under a composition rule). Let be continuously differentiable, with and left derivative . Let be continuous. If for all , then for some , and
Within this family, boundedness at zero and convexity hold together exactly when .
Proof. Applying the composition rule to the groupings and , we see that
Thus . Since ensures that is not identically zero, we can choose a such that giving us for all .
Let us define for . The multiplicativity of implies . is continuous because of the continuity of . Let . Then, additivity gives for nonnegative integers and positive integers . Continuity implies for all real . Since , we have and hence . Letting then gives .
Differentiating the composition rule in y from the left at y = 1 yields
Integrating from x to 1 and using gives
For , the limit at zero is , while the logarithmic endpoint diverges. Finally, , which is nonnegative exactly when . Both boundedness and convexity therefore hold iff .
Since as , the logarithmic member is the limit of the power family, so as .
A.4. Proof of the EAL Lower Bound
Proof of Theorem 5.1. Repeatedly applying the composition rule gives
because and each is nonnegative. For , we get back the exact logarithmic additivity. Taking the conditional expectation of each local penalty gives
As is convex for , we can apply Jensen's inequality, with (21), to give
For , substituting and rearranging gives
The left-hand side is also nonnegative. Taking the power therefore gives . At , the same argument gives , and exponentiating yields . Finally, for general weights and give . Both bounds are nonincreasing in , so they also hold with in place of .
For DSpark's weights and , the largest ratio is at , giving . The trained loss also divides by , which only rescales by a constant.
Prefix-survival bounds. The same argument can be applied to a single term, giving us for ,
At , the right-hand side becomes . Summing these bounds over gives a lower bound on EAL that is at least as strong as the aggregated bound in Theorem 5.1. This is because the average of over is , and is convex for . Jensen's inequality hence bounds the average of the prefix lower bounds from below by . The same argument applies to at .
A.5. Majorization and the EAL Gap
Proof of Proposition 5.2. For and , the integral representation from Lemma A.1 gives
Also , so . Substituting gives us . Hence
which proves (15).
For the bounds on , note that keeps only the positive terms of , so
Applying to each term bounds this sum by , so .
For each , the integrand is nonincreasing in . The same is therefore true of and its expectation . If , the lower bound forces , so . Conversely, makes every zero.
Subtracting TV from the upper and lower bounds also gives
Multiplying by the positional weights and averaging gives .
A.5.1. EXACT GAP DECOMPOSITION
Substituting equation (18) above gives
(24)
Both terms are nonnegative. The first measures how far exceeds TV and decreases to zero as increases to one. The second measures the supervision added by removing prefix-survival weights. At , only the second term remains.
Proof of Proposition 5.3. Setting in (24) leaves
For , local majorization gives at every target prefix. Multiplying by the nonnegative weights and averaging under the fixed target distribution preserves these inequalities. Combining them with the displayed identity yields
The logarithmic endpoint follows by taking the limit as .
A.6. Gradient Convergence and Annealing
Proof of Theorem 5.4. Let , with as in (20), and let be the vector with entries . On , , since for , and outside . By (20), , and using gives
For , concavity of bounds it by its tangent at 1, giving . Thus , and
Combining the inequalities proves . Since , the convergence is uniform.
B. Training Objectives and Baseline Definitions
We define every objective in our comparisons. Each published loss follows its paper and is trained with the same drafter, data and optimizer as the other objectives. Where a paper also proposes an architecture or a different base loss (PARD-2, DBLast), we take only its loss or weighting, as noted below. Unless specified otherwise, and are the target and draft distributions at position of a training block, and is the target-sampled token. A block contains prediction positions, excluding the anchor token. We use and sg for stop-gradient.
B.1. Token Objectives and Fixed Mixtures
The per-position losses are target-token cross-entropy (CE), forward KL, and TV,
For a fixed prefix, the expectation of CE over equals , although target-token CE and KL give different training signals on a finite sample. TV+KL uses , and TV+CE uses . TV+CE adapts DSpark's objective (Cheng et al., 2026), which weights the L1 distance, , by 0.9.
TV, KL, CE, the fixed mixtures and LK all weight positions by DSpark's and normalize by the total weight,
where indexes the training blocks in a batch and marks valid positions.
B.2. LK and LK-log
LK (Samarin et al., 2026) mixes KL and TV with a weight set by the current acceptance. Let . As in LK, the weight is computed separately for each draft position from the mean acceptance at that position over the whole batch, and LK's is used,
with the mean taken across data-parallel workers and the loss reduced by Equation (28). LK-log is LK's negative log-acceptance loss, , with the argument of the logarithm floored at , and uses the same reduction.
B.3. Confidence-Adaptive Token Weighting
PARD-2's CAT (An et al., 2026) weights each position by the target's confidence on the preceding training tokens,
We apply these weights to TV+KL in place of , normalized by their total like the other weighted losses,
PARD-2 itself applies the weights to CE plus distillation on its own drafter, so CAT here isolates the weighting.
B.4. D-PACE and D-PAKL
D-PACE (Wu et al., 2026) weights CE by a surrogate of the expected acceptance length, , built from the draft's confidence on the target token. With D-PACE's smoothing ( in their paper), let
where is the continuation value. The block loss is
D-PAKL is D-PACE's KL variant (Wu et al., 2026). It replaces the confidence by , where , and weights forward KL,
where is Equation (32) with in place of . Weighting instead of KL gives the same gradient, since the two differ by the target entropy. Both losses sum over positions and average over complete blocks, without normalizing by the weights.
B.5. Window TV
WTV (Xia et al., 2026) is a surrogate for the expected acceptance length of a window. It multiplies the acceptances of teacher-forced positions, as if acceptance at each position did not depend on the earlier ones. With one window per training block and sampling temperature , the block loss is
(35) averaged over complete blocks. Gradients pass through every TV term in every prefix product, so the multiplier on is
B.6. DBLast Acceptance-Length Loss
DBLast-AL is the acceptance-length loss of Karimi et al. (2026), trained on our drafter without DBLast's latent-variable architecture. On a target-sampled block, let
Here is the prefix likelihood ratio, and is the expected acceptance length within the first positions. DBLast keeps the prefixes through the first one whose likelihood ratio falls below ,
and the block loss is
The truncation index is chosen without gradient, and gradients pass through both log terms. Block losses are averaged over blocks with a valid prefix. As Karimi et al. (2026) note, the logarithm and the truncation make this a surrogate, not an unbiased estimate of expected acceptance length.
B.7. Block Verification Loss
BV (Kim et al., 2026) trains drafts for block verification (Sun et al., 2025). On a target-sampled block, let
Integrating over the current token gives BV's prefix score
whose sum over is an unbiased estimate of the expected acceptance length under block verification. At the first position, . BV anneals how these scores are aggregated,
with the weights held fixed in the backward pass and gradients passing through the prefix ratios and minima. We write for BV's , to avoid a clash with TVP's power. BV raises it linearly from 0 to 1 over the first three of six epochs, and we likewise raise over the first half of training and then hold it at 1, where the gradient is that of the blockwise log loss . BV floors the log scores at -80 once , and we apply the same floor throughout. Block losses are averaged over complete blocks. We evaluate BV-trained drafts both with the tokenwise verifier used for the other losses and with the block verifier BV is designed for (Table 4).
B.8. EAL Loss
The EAL loss optimizes EAL directly. For a fixed anchor, let be sampled from the target, with and evaluated on the same sampled prefix, and let as in Section 3.2. The loss is
(43) which equals the EAL deficit 1 – EAL / K by Equation (18). The ratio is rather than the verifier's because the prefixes are sampled from the target. Gradients pass through both and TV, and block losses are averaged over complete blocks.
B.9. DFlash2 Selector Objectives
DFlash2 drafts each position from a restricted candidate set (Inco AI, 2026). At one position, let be the native top- candidates, the selector's softmax over , which is zero outside , and the target mass inside . The selector's acceptance and TV are
We do not renormalize on , so target mass outside always counts as rejected. Forward KL to is infinite whenever , so the KL term uses the target restricted to , weighted by its mass,
which is zero when . TV+KL on the selector is , and LK uses the same terms with , where is the mean acceptance at draft position .
For TVP, we apply inside and add the missing mass,
so that and the case stays finite. The target probabilities are detached, terms with contribute zero, and has no gradient for a fixed candidate set. We compute the power term as , which stays accurate for small .
For CE, the target token may fall outside . One recipe inserts it into the candidate set, and the other keeps the native set and drops CE when the token is absent, without renormalizing over the remaining positions. In these comparisons, the backbone keeps its own TV+KL loss. The full-vocabulary variants instead combine the backbone and selector scores into a distribution over the whole vocabulary during training and apply the loss to that distribution. Inference always uses the native candidate set.
C. Experimental and Implementation Details
Data. We use the Open-PerfectBlend dataset for training. In each epoch, the target generates one thinking-on completion per prompt at with up to 4,096 new tokens, using a new seed, so no completion is repeated. We stream the target's hidden states to the trainer live using Baseten's capture pipeline (Hassan, 2026). The data is sent in the same order, and the generations are identical for each trainer, ensuring consistency.
Optimization. All runs use AdamW with no weight decay, a 4% linear warmup followed by cosine decay to zero, gradient clipping at 1.0, and bfloat16. Each sequence contributes 512 anchors. Per-token objectives share DSpark's position weights , and DSpark's confidence head keeps its own loss in every run. TVP anneals linearly from 0 to 1 over the first 80% of training and holds it at 1 afterwards. Table 7 lists the remaining settings.
Evaluation. DSpark heads are served in SGLang (Zheng et al., 2024) with a block of 8 tokens (7 draft tokens) and rejection-sampling verification. The suite has 4,240 prompts across nine benchmarks, with up to 8,192 new tokens, and is the unweighted mean over benchmarks, pooling two samples per prompt at .
Table 7. Training settings. FT starts from the released head, and PT from random initialization.
| Setting | Init | Learning rate | Sequences per step | Epochs |
|---|---|---|---|---|
| Qwen3-8B DSpark, FT | released | 16 | 1 | |
| Qwen3-8B DSpark, FT, | released | 16 | 1 | |
| Qwen3-8B DSpark, FT (Tables 5, 9a, 11 and 13) | released | 16 | 1 to 5 | |
| Qwen3-14B DSpark, FT | released | 16 | 1 | |
| Qwen3-8B DSpark, PT | random | 32 | 2 to 5 | |
| Qwen3.8-27B DFlash2, PT | random | 32 | 2 | |
| Qwen3.8-27B DFlash2, FT | released | 16 | 2 | |
| Qwen3-8B Eagle3, FT | released | 15 | < 1 |
D. Additional Results and Ablations
D.1. Evaluation and seed noise
Every in the paper averages 4,240 prompts with thinking enabled, generations of up to 8,192 new tokens, and two samples per prompt at . Each carries a 95% paired bootstrap confidence interval (CI) over prompts, typically to 0.3 points.
Three seeds of the one-epoch TVP fine-tuning run give , 4.478 and 4.490, a standard deviation of 0.007 (0.15%), and two seeds at give 4.991 and 4.984. Runs of TVP, TV+KL, CAT and fixed repeated on a second data draw differ by 0.01 to 0.14%. In pretraining we similarly see a difference of 0.57%. We therefore read fine-tuning differences below about 0.3% and pretraining differences below 0.6% as ties.
D.2. Learning-rate sweep
Table 8 trains six objectives at five learning rates. TVP has the highest at every learning rate, and KL the lowest. The best learning rate is or for every objective, and is within 0.2% of the best for each, so the main tables use it throughout. The order of TV, TV+KL and LK, which stay within 1.1% of each other, changes with the learning rate. TV is second at and below, and fourth at higher learning rates. The TVP entries are single runs, so the value (4.469) differs slightly from the three-seed mean in Table 1 (4.482). The ablations in Tables 5, 9a, 11 and 13 use . Going from to raises every objective by 0.4 to 1.0% and keeps TVP first, and TVP's margin over TV grows from +0.9% to +1.2%, so these ablations, if anything, understate TVP.
Table 8. Learning-rate sweep, Qwen3-8B DSpark fine-tuning for one epoch, at .
| Objective | |||||
|---|---|---|---|---|---|
| TV | 4.344 | 4.399 | 4.415 | 4.384 | 4.367 |
| KL | 4.036 | 4.100 | 4.143 | 4.140 | 4.121 |
| TV+KL | 4.313 | 4.370 | 4.404 | 4.413 | 4.400 |
| LK | 4.297 | 4.366 | 4.401 | 4.404 | 4.392 |
| D-PACE | 4.200 | 4.244 | 4.266 | 4.268 | 4.240 |
| TVP | 4.379 | 4.437 | 4.469 | 4.470 | 4.456 |
D.3. TVP schedule ablations
D.4. Greedy decoding
Under greedy decoding, a draft token is accepted when it matches the target's argmax, so no longer gives the acceptance probability. Greedy acceptance can instead be bounded through KL (Sharma, 2026), while TV measures the overlap of the whole distribution, which sets acceptance under sampling but not under greedy decoding. This is consistent with objectives with a KL or CE term doing relatively better at (Table 10). In fine-tuning, TV (4.780) falls to the level of KL (4.773), while LK and mixtures with a KL or CE term (TV+KL, TV+CE) rise above it. In pretraining, KL itself beats TV (4.964 against 4.864) and LK is best (5.088). TVP stays near the top, tied with TV+KL in fine-tuning (4.857) and 1.0% below LK in pretraining (5.039), consistent with its early KL-like phase. At one request every trained head reaches
Table 9. TVP's schedule, is at relative to the anneal (all 95% CIs are ). (a) Starting value and fixed . FT is Qwen3-8B fine-tuned for one epoch at learning rate . PT is Qwen3-8B pretrained for two epochs. (b) Shape of the anneal, Qwen3-8B fine-tuned for one epoch at learning rate .
(a) Start and fixed , (%).
| Schedule | FT | PT |
|---|---|---|
| ref | ref | |
| +0.0 | -0.8 | |
| -0.3 | -1.8 | |
| -0.6 | -3.7 | |
| -1.4 | -2.0 | |
| (TV) | -0.8 | -5.1 |
(b) Shape of the anneal.
| Schedule | (%) | |
|---|---|---|
| Linear, by 80% | 4.482 | ref |
| Linear, by 100% | 4.482 | -0.0 |
| Linear, by 40% | 4.457 | -0.6 |
| Step at 40% | 4.462 | -0.5 |
| Step at 80% | 4.425 | -1.3 |
| 4.120 | -8.1 | |
| 4.109 | -8.3 |
3.21 to , within each other's intervals, against for the released head.
Table 10. Greedy decoding () for the Qwen3-8B DSpark runs of Tables 1 and 2. Speedup is over Qwen3-8B alone at one request, with 95% CIs.
(a) Fine-tuning, one epoch
| Objective | Speedup | |
|---|---|---|
| Released head | 3.894 | |
| TV | 4.780 | |
| KL | 4.773 | |
| CE | 4.711 | |
| TV+KL | 4.857 | |
| TV+CE | 4.835 | |
| LK | 4.836 | |
| LK-log | 4.780 | |
| D-PACE | 4.805 | |
| WTV | 4.809 | |
| BV | 4.836 | |
| TVP, | 4.814 | |
| TVP | 4.857 |
(b) Pretraining, five epochs
| Objective | |
|---|---|
| TV | 4.864 |
| KL | 4.964 |
| TV+KL | 5.036 |
| CAT | 5.031 |
| LK | 5.088 |
| D-PACE | 4.946 |
| D-PAKL | 5.014 |
| DBLast-AL | 4.944 |
| WTV | 4.763 |
| TVP, | 5.002 |
| TVP, | 5.011 |
| TVP, | 5.022 |
| TVP | 5.039 |
D.5. Optimizing EAL directly
The EAL loss (Equation (43)) weights each position's TV by the survival of its target-sampled prefix, so its expected value is exactly the EAL deficit (Equation (18)). It is the natural objective for optimizing EAL itself, yet it trains worse than TV (Table 11). When fine-tuning, the EAL loss is 1.9% below TV. From scratch, where early positions are rarely accepted, it falls 9.5% below TV after two epochs. Its loss allocation shows why. In fine-tuning, the EAL loss puts 32% of its loss on the first position, which already accepts about 0.85, and 2% on the seventh, while the fixed-weight objectives put 13 to 17% on every position. This is the prefix attenuation of Section 3.4.
Table 11. Optimizing EAL directly. The EAL loss equals the EAL deficit (Equation (43)). Qwen3-8B DSpark, at , with the change relative to TV in parentheses. Fine-tuning runs one epoch at learning rate and pretraining two epochs at .
| Regime | EAL loss | TV | TVP |
|---|---|---|---|
| Fine-tuning | 4.314 (-1.9%) | 4.399 | 4.437 (+0.9%) |
| Pretraining | 3.815 (-9.5%) | 4.217 | 4.417 (+4.7%) |
D.6. Acceptance by target entropy
Table 12 extends Table 6 to all seven target-entropy buckets and adds Qwen3-8B, which shows the same pattern. On both targets, TVP's acceptance gain over TV grows steadily with target entropy, from zero below 0.05 nats to about +0.018 above 3 nats. KL's acceptance rate is below TV's in every bucket under 1 nat, which together hold 86 to 87% of positions. Its lead over TVP in the 1 to 2 nat bucket is within noise, so KL only leads above 2 nats, on about 1% of positions. KL also has the lowest forward KL in every bucket, so a lower forward KL does not give a higher acceptance rate.
Table 12. Acceptance rate, draft entropy and forward KL for every target-entropy bucket (nats), Qwen3-8B and Qwen3-14B DSpark fine-tuning, last 5% of training. Acceptance is the mean of 1 – TV() over draft positions. Bold marks the best acceptance in each row, and underlined entries are within noise (0.01) of it.
| Target entropy | Share | Acceptance | Draft entropy | Forward KL | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| TVP | TV | KL | TVP | TV | KL | TVP | TV | KL | ||
| Qwen3-8B | ||||||||||
| < 0.05 | 47.3% | 0.882 | 0.883 | 0.826 | 0.18 | 0.15 | 0.62 | 0.63 | 0.75 | 0.44 |
| 0.05–0.2 | 9.5% | 0.710 | 0.709 | 0.619 | 0.50 | 0.43 | 1.36 | 1.41 | 1.67 | 1.00 |
| 0.2–0.5 | 11.3% | 0.647 | 0.642 | 0.581 | 0.64 | 0.57 | 1.54 | 1.65 | 1.96 | 1.10 |
| 0.5–1 | 18.4% | 0.580 | 0.570 | 0.559 | 0.84 | 0.76 | 1.73 | 1.88 | 2.26 | 1.16 |
| 1–2 | 12.6% | 0.485 | 0.472 | 0.492 | 1.24 | 1.15 | 2.28 | 2.38 | 2.83 | 1.44 |
| 2–3 | 0.9% | 0.344 | 0.327 | 0.379 | 1.82 | 1.69 | 3.27 | 3.45 | 4.01 | 2.05 |
| > 3 | 0.1% | 0.266 | 0.249 | 0.322 | 2.60 | 2.43 | 4.50 | 4.05 | 4.62 | 2.38 |
| Qwen3-14B | ||||||||||
| < 0.05 | 47.6% | 0.876 | 0.877 | 0.819 | 0.19 | 0.16 | 0.64 | 0.66 | 0.79 | 0.46 |
| 0.05–0.2 | 9.1% | 0.696 | 0.695 | 0.605 | 0.52 | 0.45 | 1.42 | 1.50 | 1.78 | 1.07 |
| 0.2–0.5 | 10.9% | 0.636 | 0.631 | 0.569 | 0.67 | 0.59 | 1.60 | 1.73 | 2.06 | 1.16 |
| 0.5–1 | 18.2% | 0.571 | 0.561 | 0.548 | 0.85 | 0.77 | 1.79 | 1.95 | 2.35 | 1.22 |
| 1–2 | 13.0% | 0.474 | 0.460 | 0.479 | 1.27 | 1.17 | 2.36 | 2.48 | 2.95 | 1.51 |
| 2–3 | 1.1% | 0.344 | 0.327 | 0.377 | 1.84 | 1.70 | 3.30 | 3.45 | 4.02 | 2.07 |
| > 3 | 0.1% | 0.257 | 0.239 | 0.312 | 2.58 | 2.39 | 4.51 | 4.14 | 4.75 | 2.47 |
D.7. Training curves
Table 13 lists every objective at every evaluated checkpoint of the two 5-epoch runs in Figure 2.
D.8. DFlash2 fine-tuning
Table 14 fine-tunes the released Qwen3.8-27B DFlash2 head. We use a learning rate of , because at every objective first moved away from the released head. Every TV-family objective improves the released head, by 2.3 to 2.9%, while SpecForge's CE recipe ties it and TorchSpec's degrades it by 5.0%. TVP does not improve on TV here. With the same support it is +0.3% on the full vocabulary, within noise, and −0.6% on the top-16 set, which makes this the one setting where TV has the highest .
Table 13. at relative to TV (%) at every evaluated checkpoint of the 5-epoch Qwen3-8B DSpark runs. The second row gives TV's own .
| Fine-tuning, 5 epochs, learning rate | |||||||
|---|---|---|---|---|---|---|---|
| Training (%) | 38 | 54 | 63 | 72 | 81 | 90 | 100 |
| TV, | 4.441 | 4.523 | 4.569 | 4.598 | 4.609 | 4.626 | 4.633 |
| KL | -6.3 | -6.3 | -6.3 | -6.2 | -6.2 | -6.0 | -6.3 |
| TV+KL | +0.0 | -0.1 | -0.3 | -0.4 | -0.2 | -0.3 | -0.3 |
| CAT | -0.3 | -0.4 | -0.5 | -0.4 | -0.1 | -0.4 | -0.4 |
| LK | -0.2 | -0.5 | -0.4 | -0.5 | -0.3 | -0.4 | -0.4 |
| D-PACE | -3.6 | -3.6 | -3.4 | -3.3 | -3.1 | -3.4 | -3.3 |
| D-PAKL | -2.8 | -2.9 | -3.0 | -3.1 | -2.8 | -2.9 | -2.9 |
| TVP, | -0.1 | -0.2 | -0.2 | -0.3 | -0.0 | -0.1 | -0.4 |
| TVP, | +0.6 | +0.6 | +0.8 | +0.8 | +0.9 | +0.9 | +0.7 |
| TVP | -0.3 | +0.6 | +0.8 | +1.1 | +1.4 | +1.1 | +1.1 |
| Pretraining from scratch, 5 epochs | ||||||
|---|---|---|---|---|---|---|
| Training (%) | 18 | 36 | 54 | 72 | 90 | 100 |
| TV, | 3.880 | 4.149 | 4.311 | 4.419 | 4.475 | 4.465 |
| KL | -3.8 | -3.7 | -3.6 | -3.4 | -3.3 | -2.9 |
| TV+KL | +3.7 | +3.2 | +2.9 | +2.6 | +2.6 | +2.8 |
| CAT | +2.5 | +2.1 | +2.1 | +2.0 | +1.9 | +2.2 |
| LK | +2.9 | +3.1 | +2.9 | +2.8 | +2.5 | +3.0 |
| D-PACE | -0.1 | -1.1 | -1.1 | -1.0 | -0.9 | -0.7 |
| D-PAKL | +1.3 | +0.3 | +0.4 | -0.2 | -0.1 | +0.3 |
| DBLast-AL | -0.5 | -1.1 | -1.3 | -1.1 | -1.2 | -0.9 |
| WTV | -3.6 | -3.0 | -2.3 | -2.3 | -2.1 | -2.0 |
| TVP, | +2.7 | +2.4 | +2.3 | +1.9 | +2.0 | +2.3 |
| TVP, | +3.7 | +3.2 | +2.9 | +2.8 | +2.5 | +2.9 |
| TVP, | +3.2 | +3.7 | +3.8 | +3.7 | +3.5 | +3.8 |
| TVP | +0.7 | +3.2 | +3.9 | +4.1 | +3.8 | +4.2 |
Table 14. Qwen3.8-27B DFlash2 fine-tuned from the released head for two epochs at learning rate , at and its change relative to the released head. Top-16 variants restrict the selector objective to the native candidate set (Section B.9). With the same support, TVP is +0.3% over TV on the full vocabulary (not significant) and -0.6% on the top-16 set. DFlash2 evaluations are noisier than DSpark's, with 95% CIs of about to 0.5 points.
| Objective | vs. released (%) | |
|---|---|---|
| Released head | 3.741 | |
| TorchSpec CE | 3.553 | -5.0 |
| SpecForge CE | 3.736 | -0.1 |
| TV | 3.828 | +2.3 |
| TV, top-16 | 3.849 | +2.9 |
| TVP, top-16 | 3.827 | +2.3 |
| TVP | 3.839 | +2.6 |