inference-efficiency · 2026-12-05 · Tier 1

DStreamer and Spancast: cheaper, smarter drafters

DStreamer and Spancast: cheaper, smarter drafters

TL;DR. DStreamer is a lossless speculative decoding method whose single-pass diffusion adapter lives inside the target model and reuses its KV cache, so there is no draft KV cache. It reaches up to 3.8x aggregate throughput over autoregressive decoding at matched per-request rate and 1.93-2.15x end-to-end RLVR (reinforcement learning from verifiable rewards) speedup. Spancast is a non-Transformer drafter for code with a recurrent state channel and masked parallel tree decoding.

The drafter reads the cache the big model already built
Removing the second cache is what keeps large batches affordable.
flowchart LR
  K["Target KV cache<br/><small>already in memory</small>"] --> A["Small adapter<br/><small>drafts a block, one pass</small>"]
  A --> T["Target verify<br/><small>checks tokens in parallel</small>"]
  T --> O["Accepted tokens<br/><small>output unchanged</small>"]
  T -->|rejects| A
  O --> R["RL rewards<br/><small>keep drafter current</small>"]
  R -->|retrain| A
  classDef input fill:#d0ebff,stroke:#1971c2,color:#1b1b1b,stroke-width:2px
  classDef core fill:#e5dbff,stroke:#6741d9,color:#1b1b1b,stroke-width:2px
  classDef loop fill:#fff3bf,stroke:#f08c00,color:#1b1b1b,stroke-width:2px
  classDef exit fill:#d3f9d8,stroke:#2f9e44,color:#1b1b1b,stroke-width:2px
  class K input
  class A,T core
  class R loop
  class O exit
  linkStyle 2 stroke:#2f9e44,stroke-width:2px
  linkStyle 5 stroke:#f08c00,stroke-width:2px
Blue is reused memory, purple is drafting and checking, amber is the training loop, green is output.

One drafter reuses the main model's cache and keeps none of its own. Another stops being a Transformer at all.

What is it about? Speculative decoding lets a cheap drafter guess several tokens. The large model checks them all at once. The output stays exactly what the large model would have produced.

What problem does it solve? At large batch sizes the drafter's own compute and cache eat the gain. During reinforcement learning the model keeps changing, so a drafter trained once goes stale.

What's the core novelty? DStreamer adds a small diffusion-style adapter inside the target model. It reads the target's existing KV cache and drafts a block in one pass. It is trained with reinforcement learning to maximize accepted tokens, the thing that actually pays. Spancast targets code instead. It replaces Transformer layers in the drafter with a recurrent state channel and drafts a branching tree of likely continuations.

Key takeaways

  • DStreamer beats DFlash and EAGLE-3 (two popular drafters) from 64 to 1,024 concurrent requests.
  • It reaches up to 3.8x the aggregate throughput of plain decoding at the same per-user speed.
  • Updating the drafter during training gives 1.93x to 2.15x end-to-end speedup on Qwen3 4B to 14B with 8 H100s.
  • Spancast reports longer accepted runs than learned and copy-based drafters, and works on unseen target models.

Gaps in the study DStreamer is tested on Qwen and GPT-OSS up to modest sizes for the training result. Spancast's abstract gives no headline speedup numbers.

Industrial implication This fills a gap opened on 09-09, when NVIDIA's online draft co-training showed drafters going stale as the policy updates and focused on the distributed plumbing. DStreamer shrinks the drafter itself. It also sits next to NIM above, where shipped profiles already use EAGLE3 and built-in draft heads.

Relation to prior wiki pages

Links: DStreamer · Spancast Concepts: speculative-decoding · kv-cache Raw source: raw/huggingface/2026-12-04-dstreamer-acceptance-aligned-diffusion-streaming-for-high-th.md and raw/huggingface/2026-12-04-native-draft-architectures-for-speculative-decoding-in-the-c.md