Manuscript Offprint
arXiv:2610.19792JetSpec++: Foresight Parallel Drafting with Self Refinements
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Speculative decoding’s effectiveness is governed by two quantities: the acceptance rate of drafted tokens and the cost of producing them. We show the two objectives can be co-optimized with algorithm-system co-design, and present JetSpec++, which retains a strong learned draft model while hiding its cost almost entirely. JetSpec++ combines three components: intra-block self refinement, which trains the draft model to iteratively correct its own parallel predictions within a block of tokens; inter-block foresight drafting, which begins the next block before the current one is verified; and pipelined drafting and verification, which overlaps the two stages so drafting’s marginal wall-clock cost approaches zero. In comparison with state-of-the-art speculative decoding methods, JetSpec++ attains a wall-clock speedup of up to over autoregressive (AR) decoding and over DSpark, with up to 1,361 tokens per second for a single request on GB200, and an average acceptance length of 8.94 across seven benchmarks, while preserving the target model’s output distribution. Our code and models are available at: https://github.com/hao-ai-lab/JetSpec.
1 INTRODUCTION
Speculative decoding (SD) is a widely adopted technique for parallelizing large language model (LLM) generation (Leviathan et al., 2023; Chen et al., 2023). Its effectiveness is determined by two factors, the acceptance rate and the drafting cost. Earlier work showed that the target model's hidden states of the verified context can align the draft model with the target distribution and thereby raise the acceptance rate (Li et al., 2024a; 2025). DFlash employs parallel drafting and has further reduced per-token drafting cost (Chen et al., 2026), providing bigger headroom for higher throughput (Cheng et al., 2026) and lower latency (Hu et al., 2026a). A natural question to ask is whether we can further reduce drafting cost to zero on the critical path.
One solution is to further push down the drafting cost. Cheap drafting usually relies on model-free techniques such as prompt lookup decoding (Saxena, 2023; Somasundaram et al., 2025) or retrieval from the text generated so far (Oliaro et al., 2025; Hu et al., 2025). However, model-free methods show high variance and low average acceptance rates, particularly when reusable patterns are sparse or fail to generalize. The question then becomes, can we retain the high acceptance rate of model-based drafting, while removing drafting cost from the draft-then-verify critical path?
The drafting cost can be removed from the critical path by overlapping drafting for the next round with verification in the current round (Figure 1). However, for a learned draft model conditioned on the target model's hidden states, the key challenge is that it must draft ahead before the next verified context becomes available (Zhang et al., 2026c). Accurately predicting this future context is therefore critical to maintaining draft quality.
We present JetSpec++, which maintains a target-conditioned parallel draft model and overlaps drafting for the next step with verification of the current step. To draft block while block is still being verified, however, the draft model must operate without two pieces of information that become available only after verification: (1) the number of accepted draft tokens in block and the corre-
Equal contributions.
(a) Non-pipelined drafting

(b) JetSpec++
Figure 1: Non-pipelined drafting versus JetSpec++. (a) A draft model that reads the target's hidden states drafts only after verification. (b) JetSpec++ runs foresight and Jacobi passes while block t is verified. Segment lengths are schematic.
sponding bonus token, which becomes the anchor, the first token of block , and (2) the target hidden states for the newly verified context in block t.
JetSpec++ addresses both missing components through Foresight Drafting. Rather than waiting for the verification outcome, the draft model anticipates multiple possible “world lines,” each corresponding to a different acceptance-length outcome. For each request, a hidden-to-hidden adapter predicts the target hidden states of block t, which is still being verified. A lightweight decoder then maps these predicted states to possible anchor tokens. The predicted hidden states and anchor token are then used to draft block .
Because drafting runs concurrently with target verification, additional draft-model computation incurs no extra latency as long as it remains within the verification window. JetSpec++ exploits this otherwise idle compute by augmenting a causal parallel draft model built on the architecture of JetSpec (Hu et al., 2026a) with Jacobi-style self-refinement, allowing the draft model to iteratively revise its parallel predictions over multiple passes. Each additional refinement pass progressively moves the draft distribution toward a more autoregressive factorization with better target alignment. Between two consecutive passes of the draft model, JetSpec++ additionally simulates verification with the adapter and the decoder as a proxy for the target. A context refresh re-predicts the target states of the draft, an anchor replacement replaces the first draft token that disagrees with the decoder, and the next pass refines the rest of the block (Section 4.3). In summary:
• We propose Foresight Drafting, which enables draft-verification pipelining for modern speculative decoding whose learned draft models depend on target-model hidden states. It anticipates possible verification outcomes and predicts the corresponding target hidden states and anchor tokens, thereby drafting the next block before the current block is verified.
• We introduce Jacobi-style self-refinement with context refresh and anchor replacement for a causal parallel draft model that builds on JetSpec’s architecture and is trained to refine its own draft (Section 4.3), exploiting otherwise hidden drafting compute within the verification window to progressively strengthen causal token dependence and improve target alignment over multiple passes.
• We evaluate JetSpec++ on seven benchmarks, where at verification budget 16 it attains the longest acceptance length of all methods on every benchmark at temperatures 0 and 1, with an average of 8.94 tokens per round against 6.89 for DSpark at temperature 0 (Table 1).
• We integrate JetSpec++ into a serving engine with CUDA graphs and the draft model on a second GPU, where its end-to-end speedup is up to and over AR and DSpark, at up to 1,361 tokens per second for a single request, and JetSpec++ cuts the per-round overhead beyond verification by up to 84% relative to DSpark (Table 3).
Parallel Decoding. Parallel decoding lets a model itself generate several of its own tokens per forward pass, without a separate draft model. Jacobi decoding updates every position of a block by fixed-point iteration and converges to the greedy output (Song et al., 2021; Santilli et al., 2023). Lookahead decoding (Fu et al., 2024) collects n-grams from the Jacobi trajectory and verifies them, while consistency distillation (Kou et al., 2024) and Jacobi forcing (Hu et al., 2026b) train an AR model to reach the fixed point in fewer iterations. Discrete diffusion models generate text by denoising all positions in parallel over several steps (Sahoo et al., 2024; Nie et al., 2025; Ye et al., 2025). Block-wise discrete diffusion denoises one block at a time and conditions each block on the earlier ones (Arriola et al., 2025; Wu et al., 2026a), while caching (Wu et al., 2026b), pseudo-trajectory distillation (Qian et al., 2026) and multi-block decoding (Wang et al., 2026a) further accelerate diffusion inference. JetSpec++ applies Jacobi iteration to the draft model rather than the target.
Draft-Verification Pipelining. Prior work hides drafting latency by running the draft model asynchronously with target verification (Liu et al., 2025; McDanel, 2025). Because the verification outcome is not yet known, recent methods hedge against multiple outcomes: SpecBranch (Shen et al., 2026) explores alternative branches, while speculative speculative decoding (SSD) (Kumar et al., 2026) prepares drafts for likely verification outcomes. SwiftSpec (Zhang et al., 2026c) uses asynchronous tree drafting to remove draft latency from the critical path. Target-conditioned draft models make pipelining harder because the representation of the context under verification is unavailable. Prior approaches obtain an early target-side signal from partial-depth computation (Bhendawade et al., 2025; Venkatesha et al., 2025; Yu et al., 2026), and SSD substitutes the draft model's own activations for it (Kumar et al., 2026, Appendix E). D²SD (Zhang et al., 2026b) forms a distribution over the number of accepted tokens k from the draft model's own confidences, and a second draft model redrafts the block from the most likely prefix lengths, without pipelining. DPara (Liu et al., 2026) pipelines a DSpark (Cheng et al., 2026) draft model without a fallback by precomputing its backbone for every possible k, so the backbone reads the tokens under verification without their target states. In contrast, JetSpec++ predicts the missing target hidden states directly, enabling a target-conditioned parallel draft model to speculate ahead without executing the target model.
3 PRELIMINARIES
An AR model generates one token per forward pass, and each pass is bound by memory bandwidth, so compute sits idle. Speculative decoding (SD) (Leviathan et al., 2023; Chen et al., 2023) uses this idle compute to verify several drafted tokens in one forward pass. A cheap draft model proposes tokens after the verified context , and the target model scores all of them in a single forward pass. From left to right, draft token is accepted with probability . At the first rejection the rest of the draft is discarded and the target model samples a token of its own, the bonus token, from the residual distribution . If every draft token is accepted, the bonus token is sampled from at position . This procedure is lossless: it preserves the target model's generation distribution exactly.
Each round commits the accepted prefix plus one bonus token, and its expected number of committed tokens is the acceptance length . A round costs one drafting step and one verification step, which take times and . The per-committed-token latency is therefore , so a more accurate draft model raises and a faster draft model lowers .
3.1 PARALLEL DRAFTING
An AR draft model needs sequential forward passes, so grows with . Modern parallel draft models such as DFlash take the previous bonus token as the anchor . From here on, denotes the verified context before . Conditioned on the target hidden states of , these models fill the other positions with mask tokens, and predict all positions in one forward pass of the draft model with parameters (Chen et al., 2026):
then barely depends on , but each position is predicted without the tokens chosen at the other positions of the block. JetSpec (Hu et al., 2026a) makes the draft model causal, so in one forward pass every position attends to the hidden states at its own position and at the positions before it. We build on this architecture to enable causal token factorization via multi-pass Jacobi iterations.
3.2 JACOBI DECODING FOR PARALLEL DRAFTING
Parallel decoding lets an AR LLM decode a -token block of its own greedy output, for , by updating all positions in one forward pass. Jacobi decoding (Song et al., 2021; Santilli et al., 2023) formulates this process as solving these equations by fixed-point iteration, updating every position from the previous iteration :
Under a causal mask, each Jacobi iteration requires a single forward pass. The resulting iterates form a Jacobi trajectory that converges to the AR fixed point under greedy decoding (Santilli et al., 2023). JetSpec++ trains the draft model on both fully noised inputs and partially converged blocks (Section 4.3).
4 METHODS
In this section, we describe how JetSpec++ works. Draft-verification pipelining (Section 4.1) overlaps drafting with verification, reducing the critical-path latency for decoding and yielding the throughput model in Eq. 4. The challenge is that, in a pipelined round, the draft model must begin before the verification outcome is available. JetSpec++ addresses this with Foresight Drafting (Section 4.2), which learns predictive features that recover most of the acceptance-length loss (Appendix A). Finally, intra-block causal self-refinement (Section 4.3) makes use of the bubble exposed by pipelining to further increase the acceptance length. Between two passes of the draft model, a context refresh and an anchor replacement rerun the adapter and the decoder of Foresight Drafting to correct the draft.
4.1 DRAFT-VERIFICATION PIPELINING
Draft-verification pipelining drafts block while block is being verified. In SSD’s terms (Kumar et al., 2026), the draft process anticipates the verification outcome , the number of accepted draft tokens together with the bonus anchor token , and fills a speculation cache with one pre-drafted block per anticipated outcome. When verification returns, the realized is matched. A cache hit makes the matching pre-drafted block the next block, and a cache miss falls back to an ordinary speculative step. Every committed token is verified by the rejection sampling acceptance rule (Leviathan et al., 2023), so the output distribution is unchanged.
Foresight Drafting (Section 4.2) predicts the target hidden states that are missing until verification ends and estimates the distribution of the outcome from the prediction (Figure 2). The draft process of Figure 2 (a) is hidden when
(a)

(b)
(c)
Figure 2: Illustration of Foresight Drafting. (a) Foresight Drafting drafts the set of selected outcomes (Eq. 7) in one batch with passes. (b) At each target layer that the draft model reads, the adapter attends to the verified prefix states and predicts the current-block states . A decoder converts the top-layer hidden state predictions into the outcome distribution of Eq. 6. (c) The speculation cache for block contains outcome , the draft tokens that outcome accepts, the corresponding adapted states the draft model will read, and the decoded bonus token as the anchor of block . An outcome whose calibrated score (Appendix B.1) reaches the threshold will be pre-drafted as a -token block.
where is the time of one call of the adapter and the decoder over the given number of blocks, one for the foresight call on the block under verification and for each context refresh on the drafts of the selected outcomes, is the time of one batched draft-model forward over the set of selected outcomes, is the number of Jacobi refinement passes, is the number of context refreshes (Section 4.3), and is the time of the CPU work between GPU phases. A choice of more selected outcomes raises , so under Eq. 3 it leaves fewer refinement passes .
Throughput Model. Through draft-verification pipelining, on a hit the critical path overhead reduces to , where is the communication time between the two processes. On a miss, the draft model drafts a fallback block from the verified context in one pass (the initial draft of Section 4.3), which adds to the critical path, and the same round verifies it. With being cache hit probability, and and being pre-drafted block and fallback block acceptance lengths, we adapt the speedup model of SSD (Kumar et al., 2026) and write
In the numerator, since is smaller than , throughput grows with . Foresight drafting (Section 4.2) raises while keeping close to its value under true hidden states (Section 5), and Jacobi iterations (Section 4.3) raise .
Placement. JetSpec++ targets per-request latency. Because the two processes are separate, they can run on separate devices, as in SSD (Kumar et al., 2026).
4.2 INTER-BLOCK FORESIGHT DRAFTING
Foresight drafting consists of an adapter, a decoder, and a draft-model backbone, where data flow is illustrated in Figure 2. Under each possible outcome , positions of block hold the known draft tokens , so the missing target-side hidden states belong to known tokens, and the state at each position is predictable by a learned map from the tokens up to position . This allows training a specialized adapter to predict the hidden state at each position of block .
Hidden-to-Hidden Adapter. The adapter predicts, in one parallel pass, the target hidden states of all positions of the block under verification. At each target layer that the draft model reads, the adapter attends to the cached prefix at that layer and predicts the hidden states of the new future positions:
Here is the position of the anchor , the bonus token of the latest verification. is the adapter module for layer , a short stack of transformer layers copied from the target (Appendix A). is the target's cached context states at layer , the layer- slice of in Eq. 1, and is the adapter's prediction at the next lower target layer that the draft model reads, or the block's token embeddings for the lowest layer. The adapter is trained separately from the draft model. During training, each module reads the prediction of the module below it , as at inference, and the adapter is trained using a Smooth L1 loss plus a cosine distance between its predictions and the target's true hidden states , concatenated over the layers that the draft model reads (Appendix A).
Decoder. The decoder turns the adapter’s predictions into the outcome distributions. The decoder reuses frozen weights from the target’s last few layers, above the deepest layer the adapter predicts, followed by the target’s final norm and LM head. It attends to the verified context through keys and values computed from the target’s true states (Appendix B.1). The decoder then runs under a causal mask over the adapter’s top-layer predictions . Position yields , an estimate of the target’s next-token distribution after the prefix up to . The estimate at position assigns draft token the probability . For each ,
If all draft tokens are accepted, then and . One decoder pass therefore scores every outcome at once, since row serves both the acceptance of and the bonus distribution at (Figure 3 in Appendix B). We call the decoder perfect if its estimate equals the target's next-token distribution at the sampling temperature after every prefix of the draft. With a perfect decoder, Eq. 6 is the exact distribution of the outcome under speculative sampling at any temperature, for any draft that is fixed before verification, such as the Jacobi-refined argmax draft of Eq. 8 (see Appendix F.1). In Appendix B.3 (Table 9), we show that the current design closely approximates the perfect decoder.
Outcome Selection. Given the outcome distributions, the draft process still needs to select the outcomes to pre-draft. Due to limited draft-side compute, the draft process selects, computes and caches a finite set of B most promising outcomes of Eq. 6 and . Outcomes are disjoint events, so the hit probability of a cache is the sum of its entries' probabilities:
The optimum is the B most probable outcomes. In practice, decoder scores are imperfect, especially at longer lengths where errors compound through Eq. 6, so we calibrate the outcome scores on held-out prompts and retain candidates above a split-conformal threshold (Angelopoulos & Bates, 2023), up to cache size B. The threshold is fit offline to include the realized outcome at a target rate on held-out rounds. At inference, this threshold can yield a variable number of cached outcomes across rounds. For simplicity, our experiments instead cache the B highest-scoring outcomes in every round (Appendix B.1). Calibration affects only which outcomes are pre-drafted, never the verified output (Appendix F.3). Unlike SSD (Kumar et al., 2026), which fixes how many anchors each value of k receives, Eq. 7 selects the cache dynamically from each round's outcome scores. With a perfect decoder, this selection is at least as good as any fixed allocation in every round (Proposition 2, Appendix F.2).
Batched Drafting. Having selected the outcomes to predict, each outcome is then drafted in the same way as an ordinary block. Its anchor is , its context ends with , and the draft model reads the adapter's predictions at the positions up to in place of the target's hidden states. The predicted states are the only approximation, and verification keeps the output lossless whatever they are. All selected outcomes are drafted as one batch, with the refinement passes of Section 4.3.
4.3 INTRA-BLOCK SELF REFINEMENTS
A parallel draft model marginalizes each position over its possible predecessors, so its marginals are what PRESTO (Wang et al., 2026c) calls prefix-blind. DSpark (Cheng et al., 2026) gives an example: when the context admits “of course” and “no problem”, the block may read “of problem”. Sequential heads and separate refiners repair prefix-blindness at the cost of a sequential or recurrent module. We instead let the draft model refine its own draft in parallel, with no module beyond those of Foresight Drafting, in the time that pipelining frees under verification. Self-refinement combines three operations, Jacobi iterations of the draft model, context refresh and anchor replacement.
Jacobi Iterations. Eq. 1 factorizes the block into per-position marginals, whereas the target generates it token by token, . JetSpec++ makes the draft model follow this causal, token-level factorization through Jacobi iterations. Our draft model takes natural-language tokens, not mask embeddings, as the inputs, and attends causally within the block (Section 3.1), so each position can condition on the tokens drafted before it. Refinement is a Jacobi iteration (Section 3.2) of the draft model on its own draft:
Here is the block after iteration passes, and names a round that stops at it, so in Eq. 3 counts these passes. is the initial draft, whose inputs are a fully noised block of tokens drawn from the verified context, and is the anchor, the verified bonus token on a miss or the guessed of a pre-drafted block. Causal attention lets position read for each iteration. The block therefore moves from the factorization of Eq. 1 toward an explicit causal token factorization, in which each position conditions on the drafted tokens before it.
Context Refresh. Jacobi iterations alone bring diminishing returns in acceptance length (Table 5, R = 0). Between two consecutive passes, JetSpec++ therefore simulates verification on the current draft with the adapter and the decoder of Foresight Drafting. In a context refresh, the adapter predicts the target hidden states of the current draft . Block t is still under verification, so both modules read the foresight predictions at its positions up to k in place of true states. Like the states of Foresight Drafting, the refreshed states are predictions, because the target has not yet read the draft.
Anchor Replacement. The decoder then reads the refreshed states and finds the first position at which its most likely token differs from the draft. An anchor replacement fixes the draft tokens before that position for the rest of the round, writes the decoder's token at it, and fixes that position too. Like the anchor of a pre-drafted block, is a guess of the token that the target would emit there. The next pass redrafts only the positions after the last fixed one (Appendix D). A round runs at most one context refresh, with its anchor replacement, between two consecutive passes, so it has context refreshes. Both operations change only the proposal, so verification keeps the output lossless (Appendix F.3).
Training. A draft model trained only on masked blocks is never trained to condition on tokens at its inputs. Following Jacobi forcing (Hu et al., 2026b), we train on blocks that pair a clean prefix with a noisy suffix, the shape of a partially converged Jacobi iterate. The first m positions hold the true tokens and the rest hold noise tokens , which we draw from the sequence's own context rather than from Jacobi trajectories. We train the draft model to match the target model at every position:
Table 1: Acceptance length at verification budgets 16 and 32 for Qwen3-8B, in the setup of Section 5.1. JetSpec++ runs with one context refresh and anchor replacement () and with three of each (), and caches the highest-scoring outcomes per round (Appendix B.1).
| Method | Budget | GSM8K | MATH-500 | AIME25 | HumanEval | MBPP | LCB | MT-Bench |
|---|---|---|---|---|---|---|---|---|
| Temperature = 0 | ||||||||
| DFlash | 16 | 5.91 | 7.59 | 6.89 | 5.16 | 4.91 | 5.45 | 3.24 |
| 32 | 5.18 | 6.67 | 6.07 | 4.53 | 4.31 | 4.70 | 2.95 | |
| DSpark | 16 | 7.31 | 9.01 | 8.35 | 6.57 | 6.17 | 6.92 | 3.89 |
| 32 | 7.06 | 8.66 | 7.73 | 6.25 | 5.85 | 6.38 | 3.77 | |
| Domino | 16 | 6.91 | 8.74 | 8.09 | 6.06 | 5.90 | 6.27 | 3.74 |
| 32 | 6.25 | 7.96 | 7.37 | 5.61 | 5.29 | 5.92 | 3.49 | |
| JetSpec | 16 | 5.90 | 7.43 | 6.78 | 5.28 | 4.92 | 5.45 | 3.17 |
| 32 | 6.02 | 7.81 | 7.02 | 5.34 | 4.96 | 5.53 | 3.19 | |
| JetSpec++, | 16 | 7.98 | 9.63 | 8.97 | 7.23 | 6.73 | 7.59 | 4.38 |
| 32 | 8.77 | 11.45 | 10.42 | 7.70 | 7.02 | 8.29 | 4.52 | |
| JetSpec++, | 16 | 9.78 | 11.04 | 10.49 | 8.79 | 8.24 | 8.95 | 5.29 |
| 32 | 11.83 | 14.55 | 13.13 | 10.27 | 9.25 | 10.50 | 5.51 | |
| Temperature = 1 | ||||||||
| DFlash | 16 | 5.19 | 5.37 | 4.25 | 4.26 | 4.24 | 4.78 | 2.81 |
| 32 | 4.70 | 4.85 | 4.16 | 3.97 | 3.81 | 4.20 | 2.64 | |
| DSpark | 16 | 6.10 | 6.13 | 4.69 | 5.32 | 5.18 | 6.05 | 3.26 |
| 32 | 5.99 | 6.03 | 4.67 | 5.08 | 4.91 | 5.54 | 3.17 | |
| Domino | 16 | 5.86 | 5.94 | 4.79 | 4.97 | 4.96 | 5.50 | 3.16 |
| 32 | 5.47 | 5.87 | 4.62 | 4.68 | 4.47 | 5.27 | 2.96 | |
| JetSpec | 16 | 5.24 | 5.45 | 4.30 | 4.39 | 4.41 | 4.95 | 2.81 |
| 32 | 5.34 | 5.62 | 4.30 | 4.47 | 4.29 | 4.66 | 2.76 | |
| JetSpec++, | 16 | 6.88 | 6.50 | 5.25 | 5.84 | 5.53 | 6.55 | 3.51 |
| 32 | 7.33 | 7.24 | 5.48 | 6.07 | 5.80 | 7.01 | 3.59 | |
| JetSpec++, | 16 | 8.10 | 7.18 | 5.59 | 6.50 | 6.31 | 7.21 | 4.07 |
| 32 | 9.41 | 8.53 | 5.77 | 7.33 | 6.95 | 7.81 | 4.09 | |
where denotes a divergence. We use forward KL, which outperforms reverse KL and cross-entropy SFT in our ablations (Section 5.5). The clean prefix length is sampled per block from a fixed schedule (Appendix E), so the model is trained to repair any clean-prefix block in Jacobi decoding. Appendix E provides our clean-prefix selection rule and details on our training setup.
5 EXPERIMENTS
5.1 SETUP
Models and baselines. The target models are Qwen3-8B (Yang et al., 2025a) and Qwen3.8-27B (Qwen Team, 2026), both with thinking mode disabled. We compare JetSpec++ with DFlash (Chen et al., 2026), DSpark (Cheng et al., 2026), Domino (Huang et al., 2026), JetSpec (Hu et al., 2026a) and SSD (Kumar et al., 2026), the last with its Qwen3-0.6B draft model. For each target, all draft models except SSD's are trained on the same 800k sequences regenerated by that target, with the recipes of Appendix E. The draft models are trained with a block size of 16 (the anchor and draft positions), and during inference we test the checkpoints with both budget 16 and 32, the block size at verification. DSpark runs without its confidence-based scheduling, so every method verifies a block of fixed size.
Benchmarks. We evaluate on GSM8K (Cobbe et al., 2021), MATH-500 (Hendrycks et al., 2021), AIME25 (Balunović et al., 2025), HumanEval (Chen et al., 2021), MBPP (Austin et al., 2021), LiveCodeBench (LCB) (Jain et al., 2025) and MT-Bench (Zheng et al., 2023), with the first 128 prompts of a fixed shuffle, all 30 AIME25 problems and the 80 two-turn MT-Bench questions (Appendix E).
Table 2: Generalization to a larger target. Acceptance length for Qwen3.8-27B as in Table 1.
| Method | Budget | GSM8K | MATH-500 | AIME25 | HumanEval | MBPP | LCB | MT-Bench |
|---|---|---|---|---|---|---|---|---|
| Qwen3.8-27B, temperature = 0 | ||||||||
| DSpark | 16 | 8.02 | 8.94 | 8.30 | 8.19 | 7.62 | 5.19 | 4.00 |
| 32 | 7.57 | 8.49 | 7.64 | 7.13 | 6.96 | 4.84 | 3.83 | |
| JetSpec++, | 16 | 8.71 | 9.53 | 8.58 | 9.18 | 8.41 | 5.80 | 4.30 |
| 32 | 9.68 | 11.10 | 9.82 | 10.72 | 9.42 | 5.94 | 4.40 | |
| JetSpec++, | 16 | 10.05 | 10.83 | 10.15 | 10.72 | 9.80 | 6.93 | 4.91 |
| 32 | 12.35 | 14.05 | 12.49 | 13.47 | 11.76 | 7.43 | 5.15 | |
| Qwen3.8-27B, temperature = 1 | ||||||||
| DSpark | 16 | 6.48 | 7.60 | 7.08 | 6.91 | 6.12 | 4.29 | 3.39 |
| 32 | 6.42 | 7.17 | 6.35 | 6.25 | 5.66 | 4.08 | 3.23 | |
| JetSpec++, | 16 | 7.84 | 7.98 | 7.16 | 8.07 | 6.92 | 4.66 | 3.55 |
| 32 | 9.02 | 8.87 | 7.88 | 8.60 | 7.38 | 4.89 | 3.59 | |
| JetSpec++, | 16 | 8.46 | 9.00 | 7.96 | 8.48 | 7.80 | 5.34 | 3.92 |
| 32 | 10.64 | 10.50 | 9.03 | 9.93 | 8.16 | 5.67 | 4.05 | |
Evaluation protocol. Every method generates at most 2,048 tokens, stopping at EOS or at the onset of a repetition loop (Appendix E). Tables 1 and 2 measure the acceptance length offline, and Table 3 measures serving at batch size 1 on NVIDIA GB200 GPUs with CUDA graphs. On a miss, JetSpec++ drafts a fallback block from the verified context in one pass (Section 4.1). We report both greedy decoding and temperature 1 with rejection sampling (Appendix F.3). Speedup is measured in tokens per second (tok/s) relative to AR on one GPU of the same type. In Table 3, SSD and JetSpec++ place their draft models on a second GPU (Section 4.1). The acceptance length is the mean number of tokens committed per verification round.
5.2 RESULTS
Table 1 reports the acceptance length. At both temperatures and both budgets, JetSpec++ commits more tokens per round than every baseline on all seven benchmarks. At temperature 0 and budget 16, averages 7.50 against 6.89 for DSpark, the strongest baseline, and raises it to 8.94. Foresight drafting costs little acceptance length. At each of to without context refresh, the draft model keeps 95 to 98% of the it reaches from the target's true states (Table 6).
Although every draft model is trained on blocks of 16, JetSpec++ extrapolates to blocks of 32. At budget 32, gains on every benchmark at both temperatures, whereas DFlash, DSpark and Domino lose it. On MATH-500 at temperature 0, for example, rises from 9.63 to 11.45 for and falls from 9.01 to 8.66 for DSpark. With causal attention inside the block, the 16 added positions leave the draft of the first 16 unchanged, and JetSpec, also causal, likewise gains at temperature 0. DFlash and Domino attend bidirectionally within the block, so the 16 added positions also change the draft of the first 16.
5.3 GENERALIZATION TO A LARGER TARGET
Table 2 compares JetSpec++ with DSpark on Qwen3.8-27B, a hybrid model in which 48 of the 64 layers are Gated DeltaNet (Yang et al., 2025b) layers and 16 are full-attention layers. The adapter and the decoder adapt to the hybrid layers (Appendices A and B.1). The adapter has 12 layers, as for Qwen3-8B (Table 7), although the 27B target has 64 layers against 36. With this adapter, JetSpec++ at leads DSpark on all seven benchmarks at temperature 0 and budget 16, with 8.71 and 9.53 on GSM8K and MATH-500 against 8.02 and 8.94. As on Qwen3-8B, the of JetSpec++ rises at budget 32 on all seven benchmarks, whereas that of DSpark falls.
5.4 SYSTEM PERFORMANCE
Table 3 measures how much drafting latency JetSpec++ removes from each draft-verification round and how that translates into end-to-end speedup. We evaluate all methods under the same CUDA-graph serving setup (Appendix E), closer to production inference. At with one context refresh and anchor replacement, JetSpec++ is faster than DSpark on GSM8K and faster on MATH-500. It commits slightly more tokens per round (7.78 vs. 7.34 and 9.41 vs. 8.98), but most of the gain comes from hiding drafting latency. For an 8B target, graphed verification takes 6.1 to 6.3 ms, and the draft process runs one refinement pass and one context refresh within it. DSpark adds 3.76 and 3.80 ms of drafting per round, whereas JetSpec++ exposes only 0.61 and 0.66 ms, with the realized outcome already pre-drafted in 92.9% and 91.7% of rounds. SSD, designed for larger targets, reaches only and : its autoregressive draft model outlasts verification by 8.51 and 8.55 ms per round, and each round commits at most five tokens ( of 4.06 and 4.20). As target size grows, verification becomes more expensive relative to drafting, creating a larger latency window for additional refinement passes and context refreshes. On Qwen3.8-27B, graphed verification takes 27.4 to 27.8 ms, and the draft process runs three refinement passes and three context refreshes within it. JetSpec++ then exposes 0.71 and 0.77 ms per round against 4.46 and 4.52 ms for DSpark, and runs and faster than DSpark on GSM8K and MATH-500.
Table 3: Throughput, acceptance length and round time at temperature 0 and budget 16 (5 for SSD, Appendix E), on NVIDIA GB200 GPUs with CUDA graphs (Section 5.1). JetSpec++ runs with one context refresh and anchor replacement for Qwen3-8B and with three of each for Qwen3.8-27B. Speedup is over AR. Hit is the share of rounds whose outcome was pre-drafted, and and are the mean numbers of tokens committed on hit and miss rounds, all three over the rounds after the first of each request, which has no cache. Round and verify are the mean times per round in ms, and exposed is their difference.
| Model | Benchmark | Method | GPUs | tok/s (speedup) | τ | hit | τhit | τmiss | round | verify | exposed |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Qwen3-8B | GSM8K | AR | 1 | 182.3 (1.00×) | 1.00 | N/A | N/A | N/A | 5.49 | 5.45 | 0.04 |
| DSpark | 1 | 744.3 (4.08×) | 7.34 | N/A | N/A | N/A | 9.92 | 6.16 | 3.76 | ||
| DFlash | 1 | 620.1 (3.40×) | 5.87 | N/A | N/A | N/A | 9.52 | 6.11 | 3.42 | ||
| SSD | 2 | 276.5 (1.52×) | 4.06 | 95.7% | 4.12 | 3.23 | 14.75 | 6.25 | 8.51 | ||
| JetSpec++ | 2 | 1148.8 (6.30×) | 7.78 | 92.9% | 8.20 | 3.45 | 6.84 | 6.23 | 0.61 | ||
| MATH-500 | AR | 1 | 182.7 (1.00×) | 1.00 | N/A | N/A | N/A | 5.47 | 5.44 | 0.04 | |
| DSpark | 1 | 902.1 (4.94×) | 8.98 | N/A | N/A | N/A | 9.95 | 6.16 | 3.80 | ||
| DFlash | 1 | 795.5 (4.35×) | 7.65 | N/A | N/A | N/A | 9.63 | 6.16 | 3.47 | ||
| SSD | 2 | 282.5 (1.55×) | 4.20 | 85.8% | 4.32 | 3.47 | 14.88 | 6.33 | 8.55 | ||
| JetSpec++ | 2 | 1361.1 (7.45×) | 9.41 | 91.7% | 9.83 | 4.87 | 6.92 | 6.26 | 0.66 | ||
| Qwen3.8-27B | GSM8K | AR | 1 | 60.3 (1.00×) | 1.00 | N/A | N/A | N/A | 16.58 | 16.54 | 0.04 |
| DSpark | 1 | 249.6 (4.14×) | 7.93 | N/A | N/A | N/A | 31.88 | 27.42 | 4.46 | ||
| JetSpec++ | 2 | 342.4 (5.68×) | 9.67 | 89.0% | 10.46 | 3.97 | 28.47 | 27.76 | 0.71 | ||
| MATH-500 | AR | 1 | 59.3 (1.00×) | 1.00 | N/A | N/A | N/A | 16.88 | 16.83 | 0.04 | |
| DSpark | 1 | 279.8 (4.72×) | 8.99 | N/A | N/A | N/A | 32.09 | 27.57 | 4.52 | ||
| JetSpec++ | 2 | 367.2 (6.20×) | 10.45 | 90.0% | 11.10 | 4.65 | 28.47 | 27.70 | 0.77 |
5.5 ABLATION STUDIES
Table 4: Self-refinement of the draft model. Acceptance length over refinement passes at temperature 0 for the two-epoch ablation draft model, trained with token or mask inputs, and on blocks with a clean prefix drawn by the prefix-length schedule of Appendix E or on fully noised blocks only. The target's true states and no context refresh, 164 prompts per benchmark, 256 tokens. Paired per prompt, every other row trails ours at , and by at least 8 standard errors.
| Inputs | Training blocks | GSM8K | MATH-500 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| token (ours) | clean prefix (ours) | 4.34 | 4.87 | 5.01 | 5.05 | 5.91 | 6.75 | 6.99 | 7.08 |
| fully noised | 4.36 | 4.37 | 4.37 | 4.37 | 6.02 | 6.01 | 6.02 | 6.01 | |
| mask | clean prefix | 4.37 | 4.57 | 4.63 | 4.67 | 5.93 | 6.29 | 6.47 | 6.56 |
| fully noised | 4.34 | 1.23 | 1.26 | 1.23 | 5.99 | 1.28 | 1.32 | 1.29 | |
Table 4 isolates the draft model's side of JetSpec++ against controls, and Table 5 isolates context refresh and anchor replacement, each under the condition in its caption. Appendix A and Appendix B evaluate the adapter and the decoder.
Table 5: Gain of context refresh and anchor replacement. Acceptance length at temperature 0 and budget 16 for the draft model and in the setting of Table 1, with passes after and context refreshes per round. A context refresh alone re-predicts the target states of the draft tokens and keeps every draft token. With anchor replacement, it writes the decoder's token of Eq. 13 into the block.
| J | R | Anchor repl. | GSM8K | MATH-500 | AIME25 | HumanEval | MBPP | LCB | MT-Bench |
|---|---|---|---|---|---|---|---|---|---|
| 0 | 0 | - | 5.54 | 7.33 | 6.62 | 5.07 | 4.77 | 5.60 | 3.15 |
| 1 | 0 | - | 6.43 | 8.22 | 7.46 | 5.80 | 5.43 | 6.34 | 3.46 |
| 2 | 0 | - | 6.72 | 8.52 | 7.77 | 6.04 | 5.65 | 6.66 | 3.54 |
| 3 | 0 | - | 6.81 | 8.59 | 7.82 | 6.12 | 5.72 | 6.71 | 3.57 |
| 1 | 1 | no | 6.86 | 8.45 | 7.86 | 6.15 | 5.71 | 6.76 | 3.65 |
| 1 | 1 | yes | 7.98 | 9.63 | 8.97 | 7.23 | 6.73 | 7.59 | 4.38 |
| 2 | 2 | no | 7.48 | 9.08 | 8.55 | 6.59 | 6.14 | 7.06 | 3.81 |
| 2 | 2 | yes | 9.23 | 10.68 | 10.17 | 8.33 | 7.79 | 8.44 | 4.98 |
| 3 | 3 | no | 7.65 | 9.26 | 8.56 | 6.78 | 6.31 | 7.32 | 3.88 |
| 3 | 3 | yes | 9.78 | 11.04 | 10.49 | 8.79 | 8.24 | 8.95 | 5.29 |
Refinement. Table 4 tests whether the draft model can refine its own draft. A draft model trained on token inputs with every block fully noised drafts as well at but does not refine, so refinement is learned from the blocks with a clean prefix, which the prefix-length schedule of Appendix E supplies. With this schedule but mask inputs, a draft model keeps only 42% and 54% of the gain from to . At the other three draft models differ from ours by at most 0.11 tokens, so the inputs and the schedule decide how much a draft model refines. The final draft models show the same split at temperature 0 (Table 12). The JetSpec draft model, which is trained on mask inputs and fully noised blocks, falls from 5.86 at to 2.39 at on GSM8K and from 7.51 to 2.57 on MATH-500. The JetSpec++ draft model instead rises from 5.70 at to 6.97 at on GSM8K and from 7.52 to 8.98 on MATH-500.
Context Refresh and Anchor Replacement. Table 5 compares passes alone with the same passes and a context refresh before each, with or without anchor replacement. Refinement alone raises by 0.42 to 1.27 tokens from to , and context refreshes with anchor replacement add 0.92 to 1.55 tokens at and 1.72 to 2.97 at over the same passes alone. Context refresh alone adds at most 0.84 tokens, at most 34% of the gain with anchor replacement, so most of that gain comes from anchor replacement, not from the next pass reading the re-predicted states. Appendix D traces one context refresh and anchor replacement (Figure 4) and measures it without pipelining (Table 16).
Training loss and attention. Forward KL leads SFT and reverse KL in every cell, by up to 0.27 and 2.72 tokens (Table 14). Causal attention within the block matches bidirectional attention at and leads it at , by 0.15 tokens on MATH-500 (Table 15). Both tables are in Appendix C.
Adapter. At , the adapter's predicted states recover 95% of the gap between copying the last verified state and the true states on both GSM8K and MATH-500 (Appendix A).
5.6 LIMITATIONS
Our serving integration can be further improved through systems optimization. In particular, fused kernels and optimized communication could reduce drafting overhead and enable additional refinement passes and context refreshes to further improve throughput.
6 CONCLUSION
We presented JetSpec++, which drafts the next block while the current one is verified. Foresight Drafting predicts the target states and the verification outcome before verification returns. We train the causal parallel draft model on blocks with a clean prefix and a noisy suffix, so that self-refinement can spend the freed draft-side time on Jacobi passes and context refreshes. On GB200 GPUs, JetSpec++ decodes up to faster than AR decoding and faster than DSpark.
REFERENCES
Zihao An, Taichi Liu, Ziqiong Liu, Dong Li, Ruofeng Liu, and Emad Barsoum. PARD-2: Target-aligned parallel draft model for dual-mode speculative decoding. arXiv preprint arXiv:2605.08632, 2026. URL http://arxiv.org/abs/2605.08632v1.
Anastasios N. Angelopoulos and Stephen Bates. Conformal prediction: A gentle introduction. Foundations and Trends® in Machine Learning, 16(4):494–591, 2023. doi: 10.1561/2200000101.
Marianne Arriola, Aaron Gokaslan, Justin T. Chiu, Zhihan Yang, Zhixuan Qi, Jiaqi Han, Subham Sekhar Sahoo, and Volodymyr Kuleshov. Block diffusion: Interpolating between autoregressive and diffusion language models. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=tyEyYT267x.
Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc Le, and Charles Sutton. Program synthesis with large language models. arXiv preprint arXiv:2108.07732, 2021. URL http://arxiv.org/abs/2108.07732v1.
Mislav Balunović, Jasper Dekoninck, Ivo Petrov, Nikola Jovanović, and Martin Vechev. MathArena: Evaluating LLMs on uncontaminated math competitions. In Advances in Neural Information Processing Systems 38, Datasets and Benchmarks Track, 2025. URL https://arxiv.org/abs/2505.23281.
Nikhil Bhendawade, Kumari Nishu, Arnav Kundu, Chris Bartels, Minsik Cho, and Irina Belousova. Mirror speculative decoding: Breaking the serial barrier in LLM inference. arXiv preprint arXiv:2510.13161, 2025. URL http://arxiv.org/abs/2510.13161v2.
Tianle Cai, Yuhong Li, Zhengyang Geng, Hongwu Peng, Jason D. Lee, Deming Chen, and Tri Dao. Medusa: Simple LLM inference acceleration framework with multiple decoding heads. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 5209–5235, 2024. URL https://proceedings.mlr.press/v235/cai24b.html.
Sahil Chaudhary. Code alpaca: An instruction-following LLaMA model trained on code generation instructions. GitHub repository, 2023. URL https://github.com/sahil280114/codealpaca. Accessed 2026-09-22.
Charlie Chen, Sebastian Borgeaud, Geoffrey Irving, Jean-Baptiste Lespiau, Laurent Sifre, and John Jumper. Accelerating large language model decoding with speculative sampling. arXiv preprint arXiv:2302.01318, 2023. URL http://arxiv.org/abs/2302.01318v1.
Jian Chen, Yesheng Liang, and Zhijian Liu. DFlash: Block diffusion for flash speculative decoding. In Forty-third International Conference on Machine Learning, 2026. URL https://openreview.net/forum?id=Oz335dV48X.
Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Pondé de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, Nick Ryder, Mikhail Pavlov, Alethea Power, Lukasz Kaiser, Mohammad Bavarian, Clemens Winter, Philippe Tillet, Felipe Petroski Such, Dave Cummings, Matthias Plappert, Fotios Chantzis, Elizabeth Barnes, Ariel Herbert-Voss, William Hebgen Guss, Alex Nichol, Alex Paino, Nikolas Tezak, Jie Tang, Igor Babuschkin, Suchir Balaji, Shantanu Jain, William Saunders, Christopher Hesse, Andrew N. Carr, Jan Leike, Josh Achiam, Vedant Misra, Evan Morikawa, Alec Radford, Matthew Knight, Miles Brundage, Mira Murati, Katie Mayer, Peter Welinder, Bob McGrew, Dario Amodei, Sam McCandlish, Ilya Sutskever, and Wojciech Zaremba. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374, 2021. URL http://arxiv.org/abs/2107.03374v2.
Zhuoming Chen, Avner May, Ruslan Svirshevski, Yuhsun Huang, Max Ryabinin, Zhihao Jia, and Beidi Chen. Sequoia: Scalable and robust speculative decoding. In Advances in Neural Information Processing Systems, volume 37, pp. 129531–129563, 2024. doi: 10.52202/079017-4116. URL https://proceedings.neurips.cc/paper_files/paper/2024/file/ea1f5f0878d43ff4fb8bf64ef4a2326c-Paper-Conference.pdf.
Xin Cheng, Xingkai Yu, Chenze Shao, Jiashi Li, Yunfan Xiong, Yi Qian, Jiaqi Zhu, Shirong Ma, Xiaokang Zhang, Jiasheng Ye, Qinyu Chen, Chengqi Deng, Jiping Yu, Damai Dai, Zhengyan Zhang, Yixuan Wei, Yixuan Tan, Wenkai Yang, Runxin Xu, Yu Wu, Zhean Xu, Xuanyu Wang, Muyang Chen, Rui Tian, Xiao Bi, Zhewen Hao, Shaoyuan Chen, Huanqi Cao, Wentao Zhang, Anyi Xu, Huishuai Zhang, Dongyan Zhao, and Wenfeng Liang. DSpark: Confidence-scheduled speculative decoding with semi-autoregressive generation. arXiv preprint arXiv:2607.05147, 2026. URL http://arxiv.org/abs/2607.05147v1.
Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168, 2021. URL http://arxiv.org/abs/2110.14168v2.
Ning Ding, Yulin Chen, Bokai Xu, Yujia Qin, Shengding Hu, Zhiyuan Liu, Maosong Sun, and Bowen Zhou. Enhancing chat language models by scaling high-quality instructional conversations. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 3029–3051, 2023. doi: 10.18653/v1/2023.emnlp-main.183. URL https://aclanthology.org/2023.emnlp-main.183/.
Yichao Fu, Peter Bailis, Ion Stoica, and Hao Zhang. Break the sequential dependency of LLM inference using lookahead decoding. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 14060–14079, 2024. URL https://proceedings.mlr.press/v235/fu24a.html.
Raghavv Goel, Mukul Gagrani, Wonseok Jeon, Junyoung Park, Mingu Lee, and Christopher Lott. Direct alignment of draft model for speculative decoding with chat-fine-tuned LLMs. arXiv preprint arXiv:2403.00858, 2024. URL http://arxiv.org/abs/2403.00858v4.
Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. Measuring mathematical problem solving with the MATH dataset. In Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks 1, NeurIPS Datasets and Benchmarks 2021, December 2021, virtual, 2021. URL https://datasets-benchmarks-proceedings.neurips.cc/paper/2021/hash/be83ab3ecd0db773eb2dc1b0a17836a1-Abstract-round2.html.
Lanxiang Hu, Zhaoxiang Feng, Yulun Wu, Haoran Yuan, Yujie Zhao, Yu-Yang Qian, Bojun Wang, Peng Zhao, Daxin Jiang, Yibo Zhu, Tajana Rosing, and Hao Zhang. JetSpec: Breaking the scaling ceiling of speculative decoding with parallel tree drafting. arXiv preprint arXiv:2606.18394, 2026a. URL http://arxiv.org/abs/2606.18394v3.
Lanxiang Hu, Siqi Kou, Yichao Fu, Samyam Rajbhandari, Tajana Rosing, Yuxiong He, Zhijie Deng, and Hao Zhang. Fast and accurate causal parallel decoding using Jacobi forcing. In Forty-third International Conference on Machine Learning, 2026b. URL https://openreview.net/forum?id=ORy2hyPd4G.
Yuxuan Hu, Ke Wang, Xiaokang Zhang, Fanjin Zhang, Cuiping Li, Hong Chen, and Jing Zhang. SAM decoding: Speculative decoding via suffix automaton. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 12187–12204, 2025. doi: 10.18653/v1/2025.acl-long.595. URL https://aclanthology.org/2025.acl-long.595/.
Jianuo Huang, Yaojie Zhang, Qituan Zhang, Hao Lin, Hanlin Xu, and Linfeng Zhang. Domino: Decoupling causal modeling from autoregressive drafting in speculative decoding. arXiv preprint arXiv:2605.29707, 2026. URL http://arxiv.org/abs/2605.29707v1.
Naman Jain, King Han, Alex Gu, Wen-Ding Li, Fanjia Yan, Tianjun Zhang, Sida Wang, Armando Solar-Lezama, Koushik Sen, and Ion Stoica. LiveCodeBench: Holistic and contamination free evaluation of large language models for code. In International Conference on Learning Representations, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/file/94074dd5a072d28ff75a76dabed43767-Paper-Conference.pdf.
Siqi Kou, Lanxiang Hu, Zhezhi He, Zhijie Deng, and Hao Zhang. CLLMs: Consistency large language models. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 25426–25440, 2024. URL https://openreview.net/forum?id=8uzBOVmh8H.
Tanishq Kumar, Tri Dao, and Avner May. Speculative speculative decoding. In International Conference on Learning Representations, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/file/1b96f01343ff10150e6719eb163e1536-Paper-Conference.pdf.
Yaniv Leviathan, Matan Kalman, and Yossi Matias. Fast inference from Transformers via speculative decoding. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pp. 19274–19286, 2023. URL https://proceedings.mlr.press/v202/leviathan23a.html.
Tianyi Li, Yaxin Luo, Xinyi Shang, and Zhiqiang Shen. DARTree: Speculative diffusion decoding with autoregressive draft trees. arXiv preprint arXiv:2608.13524, 2026. URL http://arxiv.org/abs/2608.13524v1.
Yuhui Li, Fangyun Wei, Chao Zhang, and Hongyang Zhang. EAGLE: Speculative sampling requires rethinking feature uncertainty. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 28935–28948, 2024a. URL https://proceedings.mlr.press/v235/li24bt.html.
Yuhui Li, Fangyun Wei, Chao Zhang, and Hongyang Zhang. EAGLE-2: Faster inference of language models with dynamic draft trees. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pp. 7421–7432, 2024b. doi: 10.18653/v1/2024.emnlp-main.422. URL https://aclanthology.org/2024.emnlp-main.422/.
Yuhui Li, Fangyun Wei, Chao Zhang, and Hongyang Zhang. EAGLE-3: Scaling up inference acceleration of large language models via training-time test. In Advances in Neural Information Processing Systems 38, pp. 151568–151587, 2025. doi: 10.52202/085713-4562.
Fuliang Liu, Xue Li, Kun Qian, Zhibin Wang, Wanchun Dou, Wenyuan Yu, and Chen Tian. When parallel drafter meets parallel speculative decoding. arXiv preprint arXiv:2609.27396, 2026. doi:10.48550/arxiv.2609.27396. URL https://arxiv.org/abs/2609.27396.
Tianyu Liu, Yun Li, Qitan Lv, Kai Liu, Jianchen Zhu, Winston Hu, and Xiao Sun. PEARL: Parallel speculative decoding with adaptive draft length. In International Conference on Learning Representations, volume 2025, pp. 1085–1104, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/file/03b1043052700b1a471996b0baf309d4-Paper-Conference.pdf.
Xiaoxuan Liu, Lanxiang Hu, Peter Bailis, Alvin Cheung, Zhijie Deng, Ion Stoica, and Hao Zhang. Online speculative decoding. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 31131–31146, 2024. URL https://proceedings.mlr.press/v235/liu24y.html.
Bradley McDanel. AMUSD: Asynchronous multi-device speculative decoding for LLM acceleration. In 2025 IEEE International Symposium on Circuits and Systems (ISCAS), pp. 1–5, 2025. doi: 10.1109/iscas56072.2025.11043575.
Xupeng Miao, Gabriele Oliaro, Zhihao Zhang, Xinhao Cheng, Zeyu Wang, Zhengxin Zhang, Rae Ying Yee Wong, Alan Zhu, Lijie Yang, Xiaoxiang Shi, Chunan Shi, Zhuoming Chen, Daiyaan Arfeen, Reyna Abhyankar, and Zhihao Jia. SpecInfer: Accelerating large language model serving with tree-based speculative inference and verification. In Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3, pp. 932–949, 2024. doi: 10.1145/3620666.3651335.
Shen Nie, Fengqi Zhu, Zebin You, Xiaolu Zhang, Jingyang Ou, Jun Hu, Jun Zhou, Yankai Lin, Ji-Rong Wen, and Chongxuan Li. Large language diffusion models. In Advances in Neural Information Processing Systems, volume 38, pp. 50608–50646, 2025. doi: 10.52202/085713-1689. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/48b383b24230e0e6e649d9c98dae4d8c-Paper-Conference.pdf.
NVIDIA. NVIDIA Nemotron post-training dataset v2. Hugging Face dataset, 2025. URL https://huggingface.co/datasets/nvidia/Nemotron-Post-Training-Dataset-v2. Accessed 2026-09-22.
Gabriele Oliaro, Zhihao Jia, Daniel Campos, and Aurick Qiao. SuffixDecoding: Extreme speculative decoding for emerging AI applications. In Advances in Neural Information Processing Systems, volume 38, pp. 126326–126354, 2025. doi: 10.52202/085713-4211. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/b7aea253ab34a773967f1e4cdea9e4fb-Paper-Conference.pdf.
Yu-Yang Qian, Junda Su, Lanxiang Hu, Peiyuan Zhang, Zhijie Deng, Peng Zhao, and Hao Zhang. d3LLM: Ultra-fast diffusion LLM using pseudo-trajectory distillation. In Forty-third International Conference on Machine Learning, 2026. URL https://openreview.net/forum?id=rzBAQT2Fkg.
Qwen Team. Qwen3.8-Max: A new bar for coding and cowork, August 2026. URL https://qwen.ai/blog?id=qwen3.8. Model card of Qwen3.8-27B: https://huggingface.co/Qwen/Qwen3.8-27B.
Subham Sekhar Sahoo, Marianne Arriola, Yair Schiff, Aaron Gokaslan, Edgar Marroquin, Justin T Chiu, Alexander Rush, and Volodymyr Kuleshov. Simple and effective masked diffusion language models. In Advances in Neural Information Processing Systems, volume 37, pp. 130136–130184, 2024. doi: 10.52202/079017-4135. URL https://proceedings.neurips.cc/paper_files/paper/2024/file/eb0b13cc515724ab8015bc978fdde0ad-Paper-Conference.pdf.
Andrea Santilli, Silvio Severino, Emilian Postolache, Valentino Maiorca, Michele Mancusi, Riccardo Marin, and Emanuele Rodolà. Accelerating transformer inference for translation via parallel decoding. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 12336–12355, 2023. doi: 10.18653/v1/2023.acl-long.689. URL https://aclanthology.org/2023.acl-long.689/.
Apoorv Saxena. Prompt lookup decoding. GitHub repository, November 2023. URL https://github.com/apoorvumang/prompt-lookup-decoding. Accessed 2026-09-22.
Yuhao Shen, Junyi Shen, Quan Kong, Tianyu Liu, Yao Lu, and Cong Wang. SpecBranch: Speculative decoding via hybrid drafting and rollback-aware branch parallelism. In International Conference on Learning Representations, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/file/67089958e98b243d5cc1881ad60418b8-Paper-Conference.pdf.
Shwetha Somasundaram, Anirudh Phukan, and Apoorv Saxena. PLD+: Accelerating LLM inference by leveraging language model artifacts. In Findings of the Association for Computational Linguistics: NAACL 2025, pp. 6090–6104, 2025. doi: 10.18653/v1/2025.findings-naacl.338. URL https://aclanthology.org/2025.findings-naacl.338/.
Yang Song, Chenlin Meng, Renjie Liao, and Stefano Ermon. Accelerating feedforward computation via parallel nonlinear equation solving. In Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pp. 9791–9800, 2021. URL https://proceedings.mlr.press/v139/song21a.html.
Yeshwanth Venkatesha, Souvik Kundu, and Priyadarshini Panda. Fast and cost-effective speculative edge-cloud decoding with early exits. Transactions on Machine Learning Research, 2025. URL https://openreview.net/forum?id=PTIUujARnbc.
Xu Wang, Chenkai Xu, Yijie Jin, Jiachun Jin, Hao Zhang, and Zhijie Deng. Diffusion LLMs can do Faster-Than-AR inference via discrete diffusion forcing. In International Conference on Learning Representations, 2026a. URL https://proceedings.iclr.cc/paper_files/paper/2026/file/04bb76a98d9f32226b3beba7bd26a51f-Paper-Conference.pdf.
Zheng Wang, Davis Wertheimer, Yu Chin Fabian Lim, Mudhakar Srivatsa, Raghu K. Ganti, Minjia Zhang, and Naigang Wang. xPress: Parallel refinement for diffusion drafters in speculative decoding. arXiv preprint arXiv:2608.02438, 2026b. URL http://arxiv.org/abs/2608.02438v1.
Zheng Wang, Zhifan Ye, Qi Cheng, Yonggan Fu, Ziyan Wang, Feng Zhu, Haozhe Zhao, Jan Kautz, Pavlo Molchanov, Humphrey Shi, and Minjia Zhang. PRESTO: Prefix-aligned tree drafting for diffusion speculative decoding. arXiv preprint arXiv:2607.22634, 2026c. URL http://arxiv.org/abs/2607.22634v1.
Chengyue Wu, Hao Zhang, Shuchen Xue, Shizhe Diao, Yonggan Fu, Zhijian Liu, Pavlo Molchanov, Ping Luo, Song Han, and Enze Xie. Fast-dLLM v2: Efficient block-diffusion LLM. In International Conference on Learning Representations, 2026a. URL https://proceedings.iclr.cc/paper_files/paper/2026/file/d0865cbe51d35ec322f9af9db7806fc7-Paper-Conference.pdf.
Chengyue Wu, Hao Zhang, Shuchen Xue, Zhijian Liu, Shizhe Diao, Ligeng Zhu, Ping Luo, Song Han, and Enze Xie. Fast-dLLM: Training-free acceleration of diffusion LLM by enabling KV cache and parallel decoding. In International Conference on Learning Representations, 2026b. URL https://proceedings.iclr.cc/paper_files/paper/2026/file/5d8d4e6061c3ba96c240b7falae3471d-Paper-Conference.pdf.
Zilin Xiao, Hongming Zhang, Tao Ge, Siru Ouyang, Vicente Ordonez, and Dong Yu. ParallelSpec: Parallel drafter for efficient speculative decoding. arXiv preprint arXiv:2410.05589, 2024. URL http://arxiv.org/abs/2410.05589v1.
An Yang et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025a. URL http://arxiv.org/abs/2505.09388v1.
Songlin Yang, Jan Kautz, and Ali Hatamizadeh. Gated delta networks: Improving Mamba2 with delta rule. In The Thirteenth International Conference on Learning Representations, 2025b. URL https://proceedings.iclr.cc/paper_files/paper/2025/hash/4904fad153f6434a7bcf04465d4be2cc-Abstract-Conference.html.
Jiacheng Ye, Zhihui Xie, Lin Zheng, Jiahui Gao, Zirui Wu, Xin Jiang, Zhenguo Li, and Lingpeng Kong. Dream 7B: Diffusion large language models. arXiv preprint arXiv:2508.15487, 2025. doi:10.48550/arXiv.2508.15487. URL https://arxiv.org/abs/2508.15487.
Yijiong Yu, Huazheng Wang, Shuai Yuan, Ruilong Ren, and Ji Pei. Speculative pipeline decoding: Higher-accuracy drafting with hidden latency via pipeline parallelism. arXiv preprint arXiv:2605.30852, 2026. URL http://arxiv.org/abs/2605.30852v3.
Haohui Zhang, Keyu Chen, Haocheng Sun, Weibo Gu, Ruizhi Qiao, Xing Sun, and Bo Jiang. Draft in parallel, condition through depth: Adjacent causal injection for speculative decoding. arXiv preprint arXiv:2609.36173, 2026a. doi: 10.48550/arxiv.2609.36173. URL https://arxiv.org/abs/2609.36173.
Lefan Zhang, Xiaodan Wang, Yanhua Huang, and Ruiwen Xu. Learning harmonized representations for speculative sampling. In International Conference on Learning Representations, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/file/575286a73f238b6516ce0467d67eadb2-Paper-Conference.pdf.
Liyuan Zhang, Jiarui Zhang, Jinwei Yao, Ran Yan, Yuchen Yang, Jiahao Zhang, Tongkai Yang, Yi Wu, and Binhang Yuan. D²SD: Accelerating speculative decoding with dual diffusion draft models. arXiv preprint arXiv:2606.04446, 2026b. URL http://arxiv.org/abs/2606.04446v1.
Ziyi Zhang, Ziheng Jiang, Chengquan Jiang, Menghan Yu, Size Zheng, Haibin Lin, Xin Liu, and Henry Hoffmann. SwiftSpec: Disaggregated speculative decoding and fused kernels for low-latency LLM inference. In Proceedings of the 31st ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2, pp. 2197–2211, 2026c. doi: 10.1145/3779212.3790246.
Hong-Kai Zheng and Piji Li. DeLS-Spec: Decoupled long-short contexts for parallel speculative drafting. arXiv preprint arXiv:2607.07409, 2026. URL http://arxiv.org/abs/2607.07409v1.
Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric Xing, Hao Zhang, Joseph Gonzalez, and Ion Stoica. Judging LLM-as-a-Judge with MT-Bench and chatbot arena. In Advances in Neural Information Processing Systems, volume 36, pp. 46595–46623, 2023. doi: 10.52202/075280-2020. URL https://proceedings.neurips.cc/paper_files/paper/2023/file/91f18a1287b398d378ef22505bf41832-Paper-Datasets_and_Benchmarks.pdf.
Yongchao Zhou, Kaifeng Lyu, Ankit Singh Rawat, Aditya Krishna Menon, Afshin Rostamizadeh, Sanjiv Kumar, Jean-François Kagy, and Rishabh Agarwal. DistillSpec: Improving speculative decoding via knowledge distillation. In International Conference on Learning Representations, 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/file/8766fbc68e1ed1cdef712ce273e0a363-Paper-Conference.pdf.
A ADAPTER DESIGN AND ABLATIONS
The predicted states of the adapter (Section 4.2) recover most of the acceptance length that the target's true states give (Sections 5.2 and 5.5). In this appendix, we describe the adapter's architecture and training, measure this recovery, and ablate the number of adapter layers and the position weight in the loss.
Architecture. The adapter has one module of Eq. 5 for each target layer that the draft model reads, and each module is a short stack of transformer layers. Module takes the block's states at the next lower layer that the draft model reads and predicts the block's states at . The lowest module takes the block's token embeddings instead, so the modules form one chain from the tokens to the deepest layer that the draft model reads. In each module, the queries come from the block positions, and the keys and values come from the true states of the verified context and the block's states \hat{h}^\ell^- at earlier block positions. We initialize each module with copies of target layers between and , ending with layer . The adapter reuses the target's token embedding and keeps it frozen. We train all other weights of the adapter, and it adds no projection or head of its own. The adapter has 2.32B trainable parameters for Qwen3-8B and 4.47B for Qwen3.8-27B.
Target layers. The draft model reads five target layers. Layer indices start at 0. The modules for the three lowest layers each copy only their own layer, and the two deepest modules copy four and five layers, twelve layers in all.
• Qwen3-8B (36 layers): the draft model reads layers 1, 9, 17, 25 and 33, spaced uniformly from the second layer to the third-to-last as in DFlash (Chen et al., 2026).
• Qwen3.8-27B (64 layers): the draft model reads layers 5, 19, 33, 47 and 61. Each adapter layer for this target takes its MLP from the copied layer and its attention from the nearest full-attention layer at or below it.
Training objective. We train the adapter against the frozen target, which computes the true states online, on blocks of positions. Let be the concatenation of the target's true states at the layers that the draft model reads, and the adapter's prediction of it. For a block whose anchor is at position , the loss is
where is the probability that verification reaches block position , taken from served runs. The exponent sets how the positions are weighted: weights every position equally, and weights each position by . We use .
Training data and optimization. We train on the 800k training sequences of the draft model (Appendix E), less 24k held out, with each sequence capped at 3,072 tokens. We use AdamW with a peak learning rate of (linear warmup over the first 4% of steps, then cosine decay), gradient clipping at norm 1.0 and no weight decay. For Qwen3-8B, we train for six epochs at a global batch of 4 to 8 sequences, in 219 GPU-hours. For Qwen3.8-27B, we train for two epochs at a global batch of 8, with the AdamW set to 0.95, in 172 GPU-hours.
Recovery of the true-state acceptance length. Table 6 reports of the final draft model with stale, predicted and true states. At each of to , from the predicted states is 95 to 98% of from the true states. The predicted states close 95% of the gap in between the stale and the true states at on GSM8K and MATH-500, and 89 to 95% over all 28 cells.
Ablation setup. We ablate the number of adapter layers and the exponent of Eq. 10 for Qwen3-8B. To measure , every adapter feeds the same frozen draft model, the ablation draft model of Appendix E. We train the adapters on the mathematics slice of the 800k set, apart from a held-out part. At each layer that the draft model reads, the error of an adapter is the relative error of its predicted states on 2,048 blocks drawn from the held-out sequences,
Table 6: Acceptance length of the final draft model for Qwen3-8B at budget 16, temperature 0 and no context refresh, with three sources of the target states at unverified positions. Stale states copy the last verified state into every new position, the final adapter predicts the states, and true states exist only after verification. Every round drafts only the block of the verified outcome, so no round misses. Prompts as in Table 1 (first turn only for MT-Bench), with at most 2,048 generated tokens.
| J | States | GSM8K | MATH-500 | AIME25 | HumanEval | MBPP | LCB | MT-Bench |
|---|---|---|---|---|---|---|---|---|
| 0 | stale | 2.89 | 3.62 | 3.47 | 2.70 | 2.58 | 3.17 | 1.93 |
| predicted | 5.56 | 7.31 | 6.89 | 4.98 | 4.68 | 5.93 | 2.98 | |
| true | 5.70 | 7.52 | 7.14 | 5.09 | 4.81 | 6.11 | 3.09 | |
| 1 | stale | 3.36 | 4.17 | 4.00 | 3.13 | 2.97 | 3.64 | 2.11 |
| predicted | 6.41 | 8.26 | 7.79 | 5.67 | 5.33 | 6.65 | 3.28 | |
| true | 6.59 | 8.55 | 8.16 | 5.85 | 5.49 | 6.89 | 3.40 | |
| 2 | stale | 3.55 | 4.35 | 4.17 | 3.27 | 3.10 | 3.79 | 2.17 |
| predicted | 6.67 | 8.52 | 8.07 | 5.90 | 5.59 | 6.84 | 3.34 | |
| true | 6.88 | 8.86 | 8.47 | 6.12 | 5.71 | 7.12 | 3.48 | |
| 3 | stale | 3.63 | 4.41 | 4.25 | 3.33 | 3.14 | 3.85 | 2.19 |
| predicted | 6.76 | 8.63 | 8.19 | 5.99 | 5.66 | 6.90 | 3.37 | |
| true | 6.97 | 8.98 | 8.58 | 6.22 | 5.79 | 7.17 | 3.51 |
Table 7: Effect of the number of adapter layers for Qwen3-8B. Parenthesized values indicate the layers per module for target layers 1, 9, 17, 25 and 33. We train each adapter for 0.46 epochs with in Eq. 10. (a) Error of Eq. 11 (lower is better) and cosine similarity between the predicted and the true states at each layer that the draft model reads, on held-out mathematics. Top-1 is the fraction of block positions at which the decoder of Section 4.2, reading each adapter's predicted states, ranks the target's greedy token first. KL is in nats, where is the target's next-token distribution at temperature 1 and is the decoder's. Both use the 200 held-out mathematics sequences of Table 9. (b) Acceptance length of the ablation draft model at temperature 0.
(a) Predicted states
| Layers | Error | Cosine | Decoder | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 9 | 17 | 25 | 33 | 1 | 9 | 17 | 25 | 33 | Top-1 | KL | |
| 15 (2/2/2/4/5) | 0.260 | 0.255 | 0.274 | 0.219 | 0.160 | 0.962 | 0.963 | 0.958 | 0.970 | 0.981 | .958 | .068 |
| 12 (1/1/1/4/5) (ours) | 0.317 | 0.275 | 0.291 | 0.223 | 0.161 | 0.943 | 0.957 | 0.953 | 0.969 | 0.981 | .956 | .072 |
| 10 (1/1/1/3/4) | 0.317 | 0.278 | 0.295 | 0.231 | 0.172 | 0.943 | 0.956 | 0.951 | 0.967 | 0.979 | .952 | .087 |
| 8 (1/1/1/2/3) | 0.321 | 0.283 | 0.302 | 0.244 | 0.182 | 0.941 | 0.955 | 0.949 | 0.964 | 0.977 | .945 | .111 |
(b) Acceptance length
| Layers | GSM8K | MATH-500 | ||||||
|---|---|---|---|---|---|---|---|---|
| 15 (2/2/2/4/5) | 4.23 | 4.70 | 4.82 | 4.86 | 5.77 | 6.52 | 6.72 | 6.79 |
| 12 (1/1/1/4/5) (ours) | 4.24 | 4.71 | 4.84 | 4.88 | 5.74 | 6.45 | 6.67 | 6.75 |
| 10 (1/1/1/3/4) | 4.22 | 4.68 | 4.80 | 4.84 | 5.72 | 6.44 | 6.68 | 6.74 |
| 8 (1/1/1/2/3) | 4.19 | 4.66 | 4.78 | 4.81 | 5.66 | 6.38 | 6.59 | 6.67 |
where runs over the anchors of these blocks and is the position within the block. We measure with the protocol of the ablation draft models (Appendix E) and no context refresh. The draft model reads each adapter's predicted states at the unverified positions.
Number of adapter layers. We vary the number of adapter layers in Table 7. From fifteen to twelve layers, the modules for layers 1, 9 and 17 drop from two layers to one. This change raises their error (from 0.260 to 0.317 at layer 1) but changes the errors at layers 25 and 33 by at most 0.004 and at by at most 0.04 tokens. Removing layers from the modules for layers 25 and 33 then raises the error there step by step and lowers the decoder's agreement with the target. With eight layers instead of fifteen, at drops by 0.05 tokens on GSM8K and 0.12 on MATH-500. We therefore give the modules for layers 1, 9 and 17 one layer each and put the extra layers in the modules for layers 25 and 33. Each layer adds to the time of every adapter call in Eq. 3. We use twelve layers.
Table 8: Effect of the exponent of the position weight in the adapter loss (Eq. 10) for Qwen3-8B, with twelve-layer adapters trained for 1.83 epochs. and are the errors of Eq. 11 at layers 25 and 33 on held-out mathematics (lower is better), and the to columns give the acceptance length of the ablation draft model at temperature 0. Top-1 and KL are as in Table 7.
| GSM8K | MATH-500 | Decoder | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Top-1 | KL | |||||||||||
| (ours) | ||||||||||||
Position weighting in the loss. We train twelve-layer adapters on the split above and vary only the exponent of Eq. 10 (Table 8). The adapter is the ablation adapter of Appendix B. The exponent has little effect on , and at the four adapters lie within 0.03 tokens on both benchmarks. The value gives the lowest error at layers 25 and 33, and gives the lowest decoder agreement and the highest KL.
B DECODER AND OUTCOME SCORES
We describe the served configuration of the decoder of Section 4.2, which reuses the target's upper layers without training. Figure 3 shows how one decoder pass supplies every factor of the outcome score in Eq. 6. We then calibrate this score, compare the decoder with a fine-tuned copy, and compare the calibrated score with other selection rules.
B.1 SCORING RULE AND CACHE SIZE
Reused target layers. The decoder reuses the target layers above the deepest layer that the adapter predicts, followed by the target's final norm and LM head, all frozen. Its estimate is the softmax of the LM head's logits at temperature 1, at both sampling temperatures. For Qwen3-8B, the decoder reuses the two target layers above layer 33 (layers 34 and 35). The target sends its layer-33 states to the draft process after each verification. For Qwen3.8-27B, the decoder reuses the two target layers above layer 61 (layers 62 and 63). After each verification, the target sends the committed recurrent and convolution states of layer 62 (a Gated DeltaNet layer) and the keys and values of layer 63.
Calibrated score. JetSpec++ scores each outcome by the calibrated score . To compute , JetSpec++ replaces each factor of Eq. 6 with a logistic function of a feature vector ,
Here w holds one coefficient for each feature. The product estimates the probability that verification accepts the first draft tokens, so estimates the probability that verification accepts exactly . The vector holds six features of position :
- the logit of the draft model's top-1 probability at position in its final pass,
- the logit of the decoder's probability of ,
- an indicator of whether is the decoder's top token ,
- the logit of the decoder's largest renormalized probability of a token other than ,
- the scaled position ,
- a constant bias feature.
The factor is the decoder's bonus distribution at , tempered by the anchor temperature . JetSpec++ renormalizes this distribution over the decoder's top 32 candidates, with removed when . We fit w and on the calibration rounds of Appendix B.2.

Figure 3: Scoring every outcome with one decoder pass. The adapter predicts the block’s states from the verified context, and the decoder reads them with the verified context as keys and values. Layers are the target layers that the draft model reads, and is the deepest of them. Row is the decoder’s . For the outcomes with (outlined), rows 0 to 4 supply the acceptance probabilities of the draft tokens, row 5 supplies the bonus distribution with excluded, and later rows are not read. The bars give each outcome’s score against the threshold of Section 4.2: solid bars reach and are cached, and dashed bars are dropped. Heights are schematic. Our experiments instead cache the outcomes with the highest calibrated score in every round (Appendix B.1).
Cache size. For both targets, the draft process caches the B highest-scoring outcomes per round, or all distinct outcomes when fewer exist. The cache size B is 16 in Tables 1 and 2, and 4 in Table 3. In the offline replays of Tables 10 and 11, the served rule caches outcomes in the same way at each B.
B.2 FITTING THE CALIBRATED SCORE
We collect the calibration rounds by serving a pooled set of 56 held-out prompts for each target. For Qwen3-8B, each of GSM8K, MATH-500, HumanEval, MBPP and LCB contributes 8 prompts, drawn after its evaluation prompts. UltraChat (Ding et al., 2023) and the GSM8K training split contribute 8 prompts each. We fit once per target and verification budget, and the same fit serves every benchmark and both temperatures.
The served rule has three fitted parts: the six coefficients w of Eq. 12, the anchor temperature , and the split-conformal thresholds on the calibrated score. We fit w by maximum likelihood of the realized k on the calibration rounds, and by maximum likelihood of the realized anchor. We set the thresholds on the same rounds by split-conformal prediction.
Table 9: Offline agreement of each decoder with the greedy token of the Qwen3-8B target on 200 held-out mathematics sequences (379,305 positions), with the ablation adapter. KL is in nats, where is the target's next-token distribution at temperature 1 and is the decoder's.
| Decoder | Top-1 agreement | KL to target |
|---|---|---|
| training-free | .967 | .043 |
| CE-trained | .968 | .247 |
Table 10: Offline hit rate of each decoder when the cache holds at most outcomes per round, ranked by the calibrated score of that decoder. The rounds come from JetSpec++ at for Qwen3-8B with the final adapter in the setting of Table 1, at temperature 0 and budget 16. The hit rate is the share of rounds after the first of each request whose verified outcome is in the cache.
| Decoder | GSM8K | MATH-500 | ||||||
|---|---|---|---|---|---|---|---|---|
| training-free | .624 | .927 | .977 | .993 | .634 | .903 | .961 | .989 |
| CE-trained | .617 | .934 | .979 | .994 | .654 | .935 | .980 | .995 |
B.3 TRAINING-FREE VERSUS FINE-TUNED DECODERS
To test whether fine-tuning improves the reused layers, we compare the decoder of Appendix B.1, which we call the training-free decoder, with a fine-tuned copy. We fine-tune the CE-trained decoder for 6,000 updates on the adapter's predictions, with cross-entropy to the target's greedy token. Table 9 reports top-1 agreement, the fraction of block positions where the decoder's most probable token equals the target's greedy token.
Fine-tuning adds little to the reused layers (Table 9). Cross-entropy fine-tuning raises top-1 agreement by .001, but it also raises the KL divergence to the target's next-token distribution from .043 to .247.
Table 10 tests whether this agreement carries over to the cache. We record the rounds of JetSpec++ once and replay them with each decoder.
Fine-tuning raises the hit rate by at most .032 (the CE-trained decoder on MATH-500 at ). We therefore serve the training-free decoder.
B.4 COMPARISON OF SELECTION RULES
The served rule scores each outcome by the calibrated score of Appendix B.1. We compare it in Table 11 with rules that each remove one source of information. The uncalibrated rule ranks outcomes by the decoder's of Eq. 6. The draft-model rule scores by of Eq. 6 with the draft model's probabilities of its own draft tokens in place of the decoder's . It keeps the anchor factor of the served rule, so it differs from the served rule only in the score of . All of these rules rank anchors by the decoder.
We also compare the served rule with the geometric fan-out of SSD's Theorem 12, the series of Proposition 2(a) over all lengths (Appendix F.2). We fit the acceptance rate and the exponent of Assumption 2 on the calibration rounds. We then round the anchor counts to integers that sum to by largest remainders. We fill the fan-out with the draft model's anchors, as SSD does. At , the draft model has no distribution for the bonus token, so the fan-out takes the decoder's anchors. A second row fills the same fan-out with the decoder's anchors at every length.
The served rule leads or ties every other rule at every cache size, and at it leads the uncalibrated rule by .008 on GSM8K and .039 on MATH-500. The draft-model rule ranks worse and trails the served rule by .186 on GSM8K and .171 on MATH-500 at . The geometric fan-out, a fixed shape filled with the draft model's anchors, trails every rule. With the decoder's anchors, it still trails the served rule by .640 on GSM8K and .687 on MATH-500 at .
Table 11: Offline hit rate of each selection rule when it caches at most outcomes per round, counted as in Table 10 and on the same rounds.
| Rule | GSM8K | MATH-500 | ||||||
|---|---|---|---|---|---|---|---|---|
| served rule | .624 | .929 | .978 | .993 | .644 | .909 | .963 | .990 |
| uncalibrated rule | .613 | .921 | .975 | .993 | .585 | .870 | .944 | .981 |
| draft-model rule | .387 | .743 | .885 | .962 | .444 | .738 | .862 | .941 |
| geometric fan-out | .050 | .208 | .512 | .670 | .044 | .163 | .588 | .741 |
| geometric fan-out, decoder anchors | .067 | .289 | .655 | .890 | .059 | .222 | .682 | .898 |
Table 12: Acceptance length over refinement passes for the final draft models of Qwen3-8B. All runs use the target's true states in the setting of Table 6. Refinement passes lower the of the JetSpec draft model and raise that of the JetSpec++ draft model.
| Draft model | GSM8K | MATH-500 | ||||||
|---|---|---|---|---|---|---|---|---|
| JetSpec | 5.86 | 2.39 | 2.65 | 2.45 | 7.51 | 2.57 | 2.84 | 2.61 |
| JetSpec++ | 5.70 | 6.59 | 6.88 | 6.97 | 7.52 | 8.55 | 8.86 | 8.98 |
C TRAINING THE DRAFT MODEL TO REFINE
Our draft model (Section 4.3) takes token inputs and trains on blocks with a clean prefix so that it can refine its own draft. We train it with a forward KL loss, and it attends causally within the block. We ablate the inputs and the training blocks in Section 5.5 (Table 4). In this appendix, we explain that result and extend it to the final draft models (Table 12), then ablate the share of fully noised blocks, the loss and the attention. Each draft model in these ablations is a two-epoch ablation draft model for Qwen3-8B (Appendix E).
Inputs and training blocks. A draft model with mask inputs drafts from mask embeddings and takes its own tokens as inputs from on. When such a draft model also trains only on fully noised blocks, its draft positions hold only mask embeddings during training, and it collapses at (Table 4). The of this draft model falls from 4.34 at to 1.23 at on GSM8K and from 5.99 to 1.28 on MATH-500. The JetSpec draft model is trained on mask inputs and fully noised blocks (Appendix E), and the JetSpec++ draft model on token inputs and blocks with a clean prefix. Table 12 compares these two final draft models.
Share of fully noised blocks. We vary the share of fully noised blocks from 0 to 1, with token inputs (Table 13). The share is the probability that the clean prefix length of Eq. 9 is 0. Our draft model uses 0.25 (Appendix E). Shares of 0 and 1 give a lower at than the four shares between them. From 0.125 to 0.5, at stays within 0.11 tokens on GSM8K and 0.12 on MATH-500. We decompose at into at and the gain from to :
-
From 0.125 to 1, at stays within 0.12 tokens on GSM8K and 0.14 on MATH-500. The draft model drafts from a fully noised block, and with a share of 0 it never trains on such a block. Against 0.25, a share of 0 lowers at by 0.43 tokens on GSM8K and 0.48 on MATH-500.
-
The gain from to is largest at a share of 0 (0.89 tokens on GSM8K and 1.38 on MATH-500) and falls to 0.60 and 1.02 at a share of 0.5. A share of 1 removes the clean prefixes, and the draft model does not refine.
Training loss. We compare forward KL, SFT and reverse KL as the divergence of Eq. 9 (Appendix E) and change nothing else (Table 14). Forward KL leads SFT, and SFT leads reverse KL. Forward KL trains the draft model to match the target's full next-token distribution. The draft model thus also learns the target's ranking of the tokens beyond the greedy one. SFT supervises only the target's greedy token (the next token of the training sequence). The gap between SFT and forward KL is larger at than at . Reverse KL trails both, and most of its deficit against forward KL at is already present at (1.40 of 1.97 tokens on GSM8K and 1.88 of 2.72 on MATH-500).
Table 13: Effect of the share of fully noised training blocks. Acceptance length for Qwen3-8B in the setting of Table 4. Each draft model takes token inputs and differs from ours only in the probability of prefix length , with the rest split equally over lengths 1 to 15.
| GSM8K | MATH-500 | |||||||
|---|---|---|---|---|---|---|---|---|
| 0 | 3.91 | 4.56 | 4.75 | 4.80 | 5.43 | 6.39 | 6.72 | 6.81 |
| 0.125 | 4.29 | 4.84 | 5.00 | 5.04 | 5.88 | 6.69 | 6.97 | 7.09 |
| 0.25 (ours) | 4.34 | 4.87 | 5.01 | 5.05 | 5.91 | 6.75 | 6.99 | 7.08 |
| 0.375 | 4.32 | 4.78 | 4.90 | 4.94 | 5.91 | 6.69 | 6.91 | 6.97 |
| 0.5 | 4.41 | 4.84 | 4.96 | 5.01 | 6.01 | 6.74 | 6.95 | 7.03 |
| 1 | 4.36 | 4.37 | 4.37 | 4.37 | 6.02 | 6.01 | 6.02 | 6.01 |
Table 14: Effect of the training loss. Acceptance length for Qwen3-8B in the setting of Table 4.
| Loss | GSM8K | MATH-500 | ||||||
|---|---|---|---|---|---|---|---|---|
| forward KL (ours) | 4.34 | 4.87 | 5.01 | 5.05 | 5.91 | 6.75 | 6.99 | 7.08 |
| SFT | 4.28 | 4.74 | 4.85 | 4.88 | 5.81 | 6.58 | 6.76 | 6.81 |
| reverse KL | 2.94 | 3.06 | 3.08 | 3.08 | 4.03 | 4.29 | 4.34 | 4.36 |
Table 15: Effect of the attention within the draft block. Acceptance length for Qwen3-8B in the setting of Table 4.
| Attention | GSM8K | MATH-500 | ||||||
|---|---|---|---|---|---|---|---|---|
| causal (ours) | 4.34 | 4.87 | 5.01 | 5.05 | 5.91 | 6.75 | 6.99 | 7.08 |
| bidirectional | 4.36 | 4.81 | 4.95 | 5.00 | 5.88 | 6.65 | 6.82 | 6.93 |
Attention within the block. We compare causal and bidirectional attention within the draft block and change nothing else (Table 15). At the bidirectional draft model matches the causal one. In the refinement passes the causal draft model leads.
D SELF-REFINEMENT EXAMPLE AND DRAFTING WITHOUT PIPELINING
A context refresh (Section 4.3) uses both the adapter and the decoder. Figure 4 traces one context refresh and its anchor replacement, and we measure self-refinement without pipelining. Appendix F.3 shows that the output stays lossless when anchor replacement rewrites the draft.
Anchor replacement rule. After a context refresh, the decoder reads the refreshed states of the draft , and anchor replacement uses the first disagreement between the decoder's argmax and the draft:
Here are the decoder's next-token estimates of Section 4.2, and is the outcome that greedy verification of the draft would return if the decoder were the target. Anchor replacement fixes the tokens up to position for the rest of the round. If differs from the draft token at position , it writes there and fixes that position too. A position fixed earlier keeps its token. The next pass reads the refreshed states only up to position , because a token written at position has no refreshed state, and it redrafts only the positions after the last fixed one.
Drafting without pipelining. JetSpec++ drafts while the target verifies, and Table 16 compares this pipelined drafting with drafting on the critical path, which lengthens the round. When every method drafts on the critical path, leads DSpark by 0.79 tokens on GSM8K and 0.81 on MATH-500, so JetSpec++ also has the higher without pipelining. Across to , the pipelined drafting stays within 0.12 tokens of critical-path drafting on GSM8K and 0.19 on MATH-500. JetSpec++

Figure 4: Correcting the first disagreement with one anchor replacement. The figure shows the context refresh after of one batch row, the block drafted for the outcome , in the layout that Figure 3 uses for the predicted states of block . The adapter re-predicts the states of block , and the decoder reads them as in Figure 3. The decoder's top-1 token agrees with the draft at positions 1 to 3 and disagrees at position 4, so and anchor replacement writes at position 4. The pass reads at position 4 and the tokens at the other positions. Anchor replacement corrects position 4 and fixes positions 1 to 4, and the pass corrects position 7 by itself.
Table 16: Acceptance length with drafting pipelined or on the critical path, for Qwen3-8B in the setting of Table 1 at budget 16 and temperature 0. A pipelined draft starts before verification ends, as JetSpec++ serves. A critical-path draft starts after verification and reads the target's true states, as in DFlash and DSpark.
| Method | Drafting | GSM8K | MATH-500 |
|---|---|---|---|
| DFlash | critical path | 5.91 | 7.59 |
| DSpark | critical path | 7.31 | 9.01 |
| JetSpec++, | pipelined | 7.98 | 9.63 |
| critical path | 8.10 | 9.82 | |
| JetSpec++, | pipelined | 9.23 | 10.68 |
| critical path | 9.25 | 10.61 | |
| JetSpec++, | pipelined | 9.78 | 11.04 |
| critical path | 9.86 | 11.08 |
can therefore also run without pipelining when its gain in over DSpark outweighs any extra draft time, which favors targets whose verification takes most of the round.
E TRAINING AND EVALUATION DETAILS
Training data and optimization. We take the prompts of the 800k training sequences from Nemotron-Post-Training-Dataset-v2 (NVIDIA, 2025) and CodeAlpaca-20k (Chaudhary, 2023), and each target model generates the responses greedily in non-thinking mode. We train the draft model of Section 4.3 on these sequences for six epochs with AdamW and a peak learning rate of (linear warmup over the first 4% of steps, then cosine decay). We use gradient clipping at norm 1.0, no weight decay, a global batch of 16 sequences and seed 42. Training takes 347 GPU-hours on GB200 GPUs for Qwen3-8B and 710 for Qwen3.8-27B. The ablation draft models are for Qwen3-8B. They use the same learning rate, learning-rate schedule, global batch and seed, but train for two epochs on the 239k mathematics sequences of the 800k set.
Training blocks. Training sequences have at most 3,072 tokens for Qwen3-8B and 4,096 for Qwen3.8-27B, and we sample up to 512 anchor positions per sequence. An anchor must be a supervised response token that leaves room for a full block of 16 positions (the anchor and draft positions). Under the prefix-length schedule, the clean prefix length m of Eq. 9 is 0 (a fully noised block) with probability 0.25 and each of 1, ..., 15 with probability 0.05. Each noise token in copies the token at an independent, uniformly random position of the sequence up to and including the anchor.
Draft model architecture. The draft model has five transformer layers and ends with a final normalization. It concatenates the target's hidden states at the five target layers of Appendix A, passes the concatenation through a linear layer and normalizes the result. Every draft layer projects this result into keys and values of the verified context, as in DFlash (Chen et al., 2026), and attends causally within the block (Section 4.3). We reuse the target's embedding and LM head and keep them frozen. The draft model has 1.05B trainable parameters for Qwen3-8B and 1.73B for Qwen3.8-27B.
Training objective. We use the forward KL divergence at temperature 1 as the divergence of Eq. 9 and average it over the supervised draft positions of a batch, with no decay along the block. In the loss ablations of Table 14 (Appendix C), SFT is the cross-entropy to the next token of the training sequence, and reverse KL is at temperature 1.
Baselines. The DFlash, DSpark, JetSpec and Domino draft models are trained for six epochs on the same 800k sequences as our draft model. DFlash, DSpark, Domino and JetSpec also share our maximum length, anchor count, warmup and seed. DFlash and JetSpec have five transformer layers and read the same five target layers as our draft model. However, both baselines fill every draft position of a training block with a mask token.
• We train DFlash without the positional loss decay and at our learning rate of . It attends bidirectionally within the block and is trained with the SFT loss at our global batch.
• We reproduce DSpark with 15 draft tokens after the anchor, its Markov head and its confidence head. The loss also follows DSpark: a weighted sum of the cross-entropy, the L1 distance between the draft and target distributions, and the confidence loss, with weights 0.1, 0.9 and 1. DSpark weights all three terms at draft position i by , the positional loss decay of DFlash. We train DSpark at a learning rate of . Its global batch is 8 for Qwen3-8B and 16 for Qwen3.8-27B.
• Domino attends bidirectionally within the block and adds its Domino head. It is trained with its cross-entropy loss and a positional loss decay constant of 7. We train it at our learning rate of and at a global batch of 48.
• JetSpec attends causally within the block and is trained with our loss and learning rate at a global batch of 8.
• SSD uses the off-the-shelf Qwen3-0.6B model as its draft model. It drafts 4 tokens per round (a block of 5 with the anchor) and pre-drafts three outcomes for each on GSM8K and one on MATH-500, a flat fan-out as in SSD's released code.
Benchmarks. For the fixed shuffle of Section 5.1, we shuffle the test split of each benchmark with seed 0. We use the sanitized MBPP and release v6 of LCB. The runs of the ablation draft models use the first 164 prompts of GSM8K and MATH-500 from the same shuffle, at temperature 0 and with at most 256 generated tokens. On MT-Bench, we evaluate both turns of the 80 questions. Every method starts the second turn from the same first-turn answer, which the target generates with AR.
Repetition loops. Some outputs, mostly greedy ones at temperature 0, fall into a verbatim repetition loop that runs to the 2,048-token cap. Draft models can predict repeated text almost perfectly, which would inflate and the speedup. In Tables 1, 2, 3, 5 and 16, we therefore treat an output that reaches the cap as a repetition loop if its final 64 tokens occur verbatim at least three times in it, without overlap. We stop such an output at the onset of the loop, the first occurrence of that 64-token span, and keep other capped outputs whole. We handle this stop like an EOS stop: the round that crosses the onset counts only its tokens before the onset. We measure time through the end of that round. We cut every method, AR included, at its own onsets. On MT-Bench, the rule applies to each turn separately. The runs of Tables 6 and 12, in which every round drafts only the block of the verified outcome, stop only at EOS or the cap.
Metrics. We compute as the committed tokens per verification round, pooled over all rounds of the requests of a benchmark, including the first round of each request. includes the bonus token of each round, and the token that the target produces at prefill belongs to no round. In the last round of a request, counts only the tokens committed before EOS or the generation cap. We compute throughput as the tokens per second, also pooled over the requests of a benchmark. Throughput counts every round after the first of each request. A round is a hit round when it verifies the pre-drafted block of the previous round's outcome, and a miss round otherwise. The hit rate is the share of hit rounds, and and are the values of on the hit and the miss rounds. These three values also exclude the first round of each request, whose block comes from no cache.
Serving protocol. For Table 3, each method generates responses to the 128 prompts of GSM8K and MATH-500 in Table 1, in four groups of 32, until EOS or 2,048 tokens. Each method runs at temperature 0 and batch size 1, with budget 16 (5 for SSD, with the settings of the Baselines paragraph above). JetSpec++ runs for Qwen3-8B and for Qwen3.8-27B, with a cache of outcomes (Appendix B.1). We pool the four groups, weighting by rounds and throughput by time, and the mean times exclude the first round of each request. Each speedup is relative to the AR row of the same target and benchmark.
Correctness checks. In exact arithmetic, verification makes the greedy output of every speculative method equal to that of AR. We run two checks on GSM8K with JetSpec++ at for Qwen3-8B, as in Table 3. First, we run the target model in fp32. The first 256 tokens that JetSpec++ generates for each of the first 8 prompts of the fixed shuffle (2,048 tokens in all) match AR token by token. Second, we check the CUDA graphs of the draft process against eager execution. On the first 3 prompts, JetSpec++ replays 492 draft rounds from a CUDA graph, and we recompute each of them eagerly in the same round. No recomputed output differs from the graph's.
F THEORETICAL ANALYSIS
In the three subsections of this appendix, we prove results that support the method of Section 4.
• Appendix F.1 shows that the decoder score of Eq. 6 is the exact probability of the verification outcome when the decoder is perfect (Section 4.2).
• Appendix F.2 relates the selection of Eq. 7 to the geometric fan-out of SSD and shows that, with a perfect decoder, per-round selection is at least as good as any fixed allocation (Section 4.2).
• Appendix F.3 shows that verification stays lossless for every draft, including a draft that anchor replacement rewrites (Section 4.3).
F.1 EXACT OUTCOME PROBABILITIES WITH A PERFECT DECODER
Outcome selection (Eq. 7) ranks the outcomes by the decoder score of Eq. 6. We show that, with a perfect decoder, is exactly the probability that verification of the block ends at outcome , at any temperature and for any draft that is fixed before verification. Eq. 7 then selects the cache with the largest hit probability.
Example. Take . Verification uses the point-mass proposal of Appendix F.3, so it accepts each draft token with the target's probability of that token. The target gives probability 0.8, and after it gives probability 0.5 and another token probability 0.3. Verification ends at when it accepts (probability 0.8), rejects (probability ) and draws from the residual (probability ). This gives , which equals for a perfect decoder. The rejection probability cancels against the normalization of the residual, and the proof of Proposition 1 shows that this cancellation holds for every outcome.
Assumption 1 (Perfect decoder).
(i) The draft tokens of the block are fixed before the verification of the block starts.
(ii) The random draws that verify this block are independent of what chose x and the draft.
(iii) Verification uses the acceptance rule of Section 3 with the point-mass proposal (Appendix F.3).
(iv) The decoder is perfect in that its estimate after prefix equals the target's next-token distribution at the sampling temperature, . In this appendix, includes the anchor , which Eq. 1 lists separately, and is empty, so row 0 of the decoder estimates , the target's distribution for . At temperature 0, every is the point mass on the target's argmax, and a fixed rule breaks a tie.
Every draft of Sections 4.1 to 4.3 satisfies conditions (i) and (ii) of Assumption 1: the initial draft and the fallback block of a miss, the passes of Eq. 8, drafts from predicted states, and blocks edited by anchor replacement (Appendix F.3).
Let be the realized outcome of the block, where is the number of accepted draft tokens and is the committed bonus token. Let be the score of Section 4.2 computed from the draft of the block, by Eq. 6 for and by for .
Proposition 1 (Exact outcome distribution). Under Assumption 1 and at any temperature, for every outcome , with when .
Proof. Write for the target distribution at draft position , and . Because the proposal is the point mass on , the acceptance rule gives
Each acceptance test uses a fresh draw that is independent of the draft and of the earlier tests, so the acceptance probabilities of successive positions multiply. Let , and assume first that the rejection probability at position is positive. Given that are accepted, rejection at has probability , and the bonus token is drawn from the residual , where is the point mass at . Thus, for ,
The last equality applies condition (iv) of Assumption 1 to each factor. If instead , then for every , and both sides vanish. For , every draft token is accepted and the bonus token is drawn from , so
Both expressions equal of Section 4.2.
F.2 PER-ROUND SELECTION AND THE GEOMETRIC FAN-OUT OF SSD
Section 4.2 contrasts the per-round selection of Eq. 7 with the fixed geometric fan-out of SSD (Kumar et al., 2026), and Proposition 2 states the two facts behind this contrast. Under SSD's assumptions, a continuous surrogate of Eq. 7 recovers SSD's geometric series on the lengths that the surrogate's maximizer keeps (part (a)). Selection by each round's posterior is at least as good as any fixed allocation in every round (part (b)). Table 11 is the measured counterpart of part (b).
SSD caches anchors for each accepted length k (its Definition 10). It keeps two fixed allocations and uses one of them in each round. The choice depends on whether the block under verification came from the speculation cache or from SSD's fallback after a cache miss, so it is whether the previous round hit the cache.
We model the accepted length in terms of the acceptance rate of the draft model. We write the resulting law of over rounds as , to keep it apart from the per-round score of Eq. 6.
Assumption 2 (Constant acceptance rate and power-law hit rate). The draft model has constant acceptance rate . Over rounds, each draft token is accepted with probability , independently given the acceptance of the tokens before it, so the realized accepted length has the law
For the surrogate problem of part (a) only, the hit mass captured by anchors at length , conditional on , is modeled by the surrogate curve for real and some .
Remark 1 (Source of the assumption). The acceptance law is the model of SSD's Theorem 12, and the curve is the per-length form of SSD's power-law hit rate (its Definition 11).
For part (a), we follow SSD and replace Eq. 7 by a continuous allocation over lengths with the surrogate curve of Assumption 2. The curve is zero at , so a single anchor at length captures no hit mass in the surrogate problem. The surrogate problem maximizes over subject to , where is the cache size of Eq. 7 and the hit mass at length is 0 when . A length is active when .
For part (b), let be the information that the selection observes in round , such as the outputs of the decoder and the draft model and whether the previous round hit the cache. For an outcome and the realized outcome , let
We call the posterior of round . Let denote the anchor at length with the -th largest value of , with ties broken by a fixed order on tokens. A fixed allocation caches at each length . Order the outcomes by decreasing , with ties broken by smaller , then by smaller . Let be the set of the first outcomes in this order. This set is a solution of Eq. 7 with replaced by .
Suppose that contains the verified context and the draft , that the target's draws in round are independent of , and that the decoder is perfect (Assumption 1). Then Proposition 1 gives , so is a solution of Eq. 7 itself. With an imperfect decoder, Remark 3 bounds the loss of the cache of Eq. 7.
Proposition 2 (Adaptive selection and the geometric fan-out).
(a) Under Assumption 2, every active length k at any maximizer of the surrogate problem receives
Here is the constant that makes the active sum to , and when and length 0 is active.
(b) In every round and for every cache chosen from with , including a fixed allocation with and a pair of fixed allocations chosen by whether the previous round hit the cache,
If is the same in every round, then selects the same ranks in every round. It is therefore one fixed allocation, and the best fixed allocation ties with it.
Example. The surrogate problem of part (a) can drop a length. Take , , and . The series of part (a) over all lengths captures hit mass 0.535. The same series, rescaled over the lengths , captures 0.567 and is the maximizer.
Proof of (a). We first show that a maximizer exists and that every active exceeds 1. We then show that the active lengths have equal marginal gains, which gives the stated series. Finally, we show that the active lengths are a set of lengths of largest for some .
Each ranges over the compact set and the objective is continuous, so a maximizer exists. Because , every is positive. At a maximizer the constraint binds, because raising an active , or setting one when no length is active, strictly raises the objective. An active length with adds no hit mass. If another length is active, moving this unit to it raises the objective, and otherwise the binding constraint gives . Hence every active exceeds 1.
The marginal gain of in is . If two active lengths had unequal marginals, moving a small amount of allocation toward the larger marginal would raise the objective. Hence the marginals of the active lengths equal a common value , which gives
and substituting from Assumption 2 gives the stated series.
An active length has , so , and a length with is therefore inactive. The converse fails: in the example above, and the maximizer still leaves length 3 inactive. If is active, is inactive and , then setting and keeps and raises the objective by . Hence the active lengths are a set of lengths of largest for some . For each , restricting the series of part (a) to such a set gives one candidate allocation. A maximizer is a best one among the candidates that keep every .
Proof of (b). Each is feasible in Eq. 7, so pointwise, and the inequality also holds in expectation over rounds. If does not depend on , the order that defines selects the same ranks in every round. Because is nonincreasing in and ties prefer smaller , the selected ranks at length are the top ranks, which form a fixed allocation.
Remark 2 (Relation of the proposition to SSD). The allocation of part (a) is the geometric series of SSD restricted to the active lengths, and it equals the fan-out of SSD's Theorem 12 when every length is active. SSD derives the equal-marginal condition of part (a) in its Theorem 18, but its statement has no inactive lengths. SSD fills each length with the top anchors of the draft model's logits. The resulting cache is chosen from , so part (b) covers it. This cache can fall strictly below .
Remark 3 (Estimated scores). In serving, the draft process ranks outcomes by an estimate of . For any cache of at most B outcomes, let
Then in every round. The bound holds because bounds the estimation error at both and , and bounds the estimated gap between and .
F.3 LOSSLESS VERIFICATION
This subsection shows why the output stays lossless for every draft, including one that anchor replacement rewrites.
JetSpec++ determines every draft token before verification. Each token is an argmax of the draft model, from the initial draft (also the fallback block of a miss) or a pass of Eq. 8, or it is the decoder's token that anchor replacement writes. The noise tokens that reads are drawn independently of the target's draws in the round that verifies the block.
Given the draft, the proposal at position is the point mass . Let be the target's distribution at the sampling temperature. With this proposal, the acceptance rule of Section 3 accepts with probability . On a rejection, the rule samples from with removed and renormalized. When , a rejection has probability 0 and the rule never uses this residual. This rule is equivalent to drawing , accepting if and only if , and committing otherwise. DARTree (Li et al., 2026) describes this exact-match verification for DFlash (Chen et al., 2026). Every committed token is thus the target's own draw, at any temperature and whichever model produced the draft token.
Using the draft model’s softmax as q for an argmax token would break this guarantee, because the token is not drawn from that softmax. For example, if the softmax puts 0.9 on and the target puts 0.6 on it, the rule with that q commits with probability 2/3 instead of 0.6.