TL;DR
JetSpec++ is a novel speculative decoding framework that virtually eliminates drafting overhead by overlapping it with target model verification. By combining "foresight" to predict future target states and "self-refinement" to iteratively polish drafts, it achieves up to a 7.45× speedup over standard autoregressive decoding and significantly outperforms existing state-of-the-art methods like DSpark.
What Problem Does This Paper Address?
Large Language Model (LLM) inference is notoriously slow because it is memory-bound, generating tokens one by one. Speculative Decoding (SD) accelerates this by using a small "draft" model to guess a sequence of tokens, which a large "target" model then verifies in a single parallel pass.
However, SD faces a fundamental trade-off:
- Acceptance Rate: To get a high speedup, the draft model must be accurate. The most accurate draft models are "target-conditioned," meaning they need hidden states from the target model to make good guesses.
- Drafting Cost: Waiting for the target model to finish verification before starting the next draft creates a serial bottleneck.
The authors ask: Can we keep the high accuracy of target-conditioned drafting while moving the drafting cost off the critical path entirely?
Methods
JetSpec++ introduces an algorithm-system co-design that uses three main pillars:
- Draft-Verification Pipelining: Instead of waiting, JetSpec++ starts drafting the next block of tokens while the target model is still verifying the current one.
- Inter-block Foresight Drafting: Pipelining is hard because the draft model doesn't yet know how many tokens the target model will accept or what the resulting hidden states will be. JetSpec++ uses a hidden-to-hidden adapter to predict these future states and a decoder to anticipate multiple possible "world lines" (verification outcomes), caching the most likely ones.
- Intra-block Self-Refinement: Because pipelining "frees up" time during the verification window, JetSpec++ uses this time to let the draft model iteratively refine its own predictions. It uses Jacobi-style iterations where the model revisits its parallel guesses, correcting them based on its own previous pass and updated "foresight" predictions.
Datasets
The authors trained their draft models on 800k sequences generated by Qwen3-8B and Qwen3.8-27B, using prompts from:
- Nemotron-Post-Training-Dataset-v2
- CodeAlpaca-20k
Evaluation was conducted across seven diverse benchmarks to test reasoning, math, coding, and general conversation:
- GSM8K & MATH-500 (Mathematics)
- AIME25 (High-level Math)
- HumanEval & MBPP (Python Coding)
- LiveCodeBench (LCB) (Competitive Coding)
- MT-Bench (Multi-turn Conversation)
Key Insights and Ideas
- Hiding the Critical Path: The "aha moment" is realizing that the time the target model spends verifying is essentially "free compute" for the draft model. By predicting the target's hidden states, the draft model can start working early.
- Predicting the Future Context: The hidden-to-hidden adapter is crucial. It allows the draft model to stay "aligned" with the target model's distribution even when the actual ground-truth context isn't available yet.
- Self-Correction as Refinement: Rather than just making one guess, the draft model acts as its own editor. Each Jacobi pass moves the draft distribution closer to the target's autoregressive factorization.
- Lossless Acceleration: Despite all the speculation and prediction, the final output is guaranteed to be identical to the target model's original distribution thanks to the standard rejection sampling rule.
Key Results
JetSpec++ sets new records for speculative decoding performance:
- Speedup: Achieved up to 7.45× speedup over autoregressive decoding and 1.54× over DSpark.
- Throughput: Reached 1,361 tokens per second for a single request on NVIDIA GB200 GPUs.
- Acceptance Length: On average, the target model accepted 8.94 tokens per round, significantly higher than DSpark's 6.89.
- Efficiency: It reduced the per-round overhead beyond verification by up to 84% compared to DSpark.
- Scaling: The method generalizes well; when used with a 27B parameter target model, it maintained superior acceptance lengths even when extrapolating to larger block sizes.
Limitations and Future Work
- Systems Optimization: The authors note that their serving integration could be further improved. Specifically, using fused kernels and more optimized communication between GPUs could reduce the remaining drafting overhead even further.
- Compute Requirements: JetSpec++ benefits from having the draft model on a separate GPU to maximize parallelization, which might not be feasible in all deployment scenarios.
- Refinement Passes: While self-refinement is powerful, there is a point of diminishing returns where adding more passes doesn't significantly improve the acceptance rate but might exceed the verification time window.
Summary updated