TL;DR
DSpine is a novel parallel drafter for speculative decoding that restores token dependencies by injecting predecessor information at every layer of the network. This "causal injection" allows it to achieve significantly longer accepted prefixes and up to 23.3% higher serving throughput compared to state-of-the-art baselines.
What Problem Does This Paper Address?
Speculative decoding speeds up large language models (LLMs) by using a small, fast "drafter" model to propose a sequence of tokens, which the large "target" model then verifies in a single pass. While autoregressive drafters (generating one token at a time) are accurate, they introduce sequential latency. Parallel drafters (predicting a whole block at once) are faster but often produce inconsistent sequences because each token is predicted somewhat independently.
This inconsistency leads to "broken" drafts where only the first few tokens are accepted, wasting the potential speedup. The core challenge is establishing effective predecessor conditioning—making sure token $t$ "knows" what token $t-1$ is likely to be—within a parallel computation framework.
Methods
The authors introduce DSpine, which uses Adjacent Causal Injection to bridge the gap between parallel speed and autoregressive consistency.
- Adjacent Causal Injection: Instead of just conditioning on the fixed context, each position in the drafter's backbone receives a "message" from its immediate predecessor at every single layer. A gating mechanism decides how much of this predecessor information to absorb into the current state.
- Unified Transfer Space: To make these messages meaningful across different layers, DSpine projects features into a low-dimensional space derived from the target model’s output embeddings (using PCA whitening). This ensures that internal messages are expressed in a space that directly relates to token identities.
- Layer-wise Supervision: During training, the model is supervised to align its intermediate features with the correct token embeddings at every layer. This promotes the early formation of accurate predictive features in shallow layers.
- Transition Cache: To handle the final decoding step—where the best token choice depends on the actual token selected for the predecessor—DSpine precomputes all $K \times K$ possible transitions for the top-K candidates in parallel. This turns a sequential bottleneck into a fast, parallel cache lookup.
Datasets
DSpine was trained on ShareGPT data, with responses regenerated by the target models (Qwen3-4B and Qwen3-8B). Evaluation spanned seven rigorous benchmarks:
- Math: GSM8K, MATH-500
- Code: HumanEval, MBPP, LiveCodeBench (LCB)
- Chat: MT-Bench, Arena-Hard
Key Insights and Ideas
- Predictive Cues Emerge Early: Empirical analysis showed that early positions in a draft block start forming recoverable predictions in very shallow layers. This means a successor can start conditioning on its predecessor's likely intent long before the final layer.
- Timing is Critical: The authors found that injecting correct predecessor information earlier in the network depth is significantly more beneficial than injecting it later. It allows the successor's internal representations to form more accurately from the start.
- Causal Chain through Depth: By injecting information layer-by-layer, a causal dependency chain "unfolds" through the depth of the network. Even though all positions update in parallel, the information flow mimics the sequential nature of language.
Key Results
DSpine consistently outperformed representative parallel drafters like DFlash, Domino, DSpark, and DFlash2 across all tested models and temperatures.
- Longer Accepted Drafts: On Qwen3-8B at temperature zero, it raised the mean acceptance length from 3.77 (DFlash) to 4.82, a 27.8% improvement.
- Higher Serving Throughput: In real-world serving tests using the SGLang framework, DSpine delivered 23.3% higher throughput than DFlash on average.
- Efficiency: The architectural overhead is minimal. Parallel injection adds at most 0.15ms per round, which is easily compensated for by the increased number of tokens accepted per round.
Limitations and Future Work
- Communication Range: DSpine currently only injects information from the immediate predecessor. Future work could explore more flexible communication ranges, allowing tokens to "look back" further than one step within the backbone.
- Architecture Generalization: While demonstrated on Qwen3, the principles of in-layer information transfer and unified transfer spaces are likely applicable to other parallel decoding architectures.
- Parameter Count: The injection modules add roughly 3% more parameters to the drafter backbone. While negligible for performance, it is a factor in model size.
Summary updated