DStreamer: Acceptance-Aligned Diffusion Streaming for High-Throughput Serving and Online RLVR
Abstract
DStreamer is a lossless speculative decoding framework that uses a diffusion-based in-model adapter and acceptance-aligned training to improve throughput in LLM serving and online RLVR without a separate draft KV cache.
Long-form generation is increasingly the dominant cost in high-throughput LLM serving and online reinforcement learning with verifiable rewards (RLVR). Speculative decoding increases token progress per target-model invocation by verifying multiple proposals in parallel, but at throughput-oriented batch sizes its effectiveness depends on keeping proposal and state overhead low as concurrency and context grow. Online RLVR adds a distinct challenge: as the target policy changes during training, a drafter calibrated once can become progressively stale. We introduce DStreamer, a lossless speculative decoding framework with a single-pass diffusion-based in-model adapter that reuses the target model's cached KV state and requires no separate draft KV cache. DStreamer warm-starts the adapter with consistency distillation, then optimizes proposal paths with an acceptance-aligned reinforcement-learning objective under autoregressive verification, directly targeting the prefix-sensitive criterion that determines speculative utility. We evaluate DStreamer in the throughput-oriented regimes where speculative decoding is most constrained by proposal and state overhead: continuous-batched serving, long-form generation, and synchronous online RLVR. Across Qwen and GPT-OSS models, DStreamer expands the serving frontier under concurrencies 64-1024, outperforming DFlash and EAGLE-3 throughout the evaluated range and reaching up to 3.8x higher aggregate throughput than autoregressive decoding at matched per-request rate, while requiring no separate draft KV cache. DStreamer++ extends acceptance-oriented training to evolving policies while preserving exact on-policy rollouts, achieving 1.93-2.15x end-to-end RLVR speedup across Qwen3-4B, 8B, and 14B under synchronous 8xH100 training, while preserving final policy quality.
Community
The problem. Speculative decoding is hard to make work in the settings where generation is most expensive:
- High-throughput serving. At large batch sizes, the drafter's compute and its separate draft KV cache compete with the target for the same GPU, and speedups shrink as concurrency grows.
- Online RLVR. The policy changes every step, so a drafter trained once goes stale and its acceptance drops (speculative drift).
- Speed vs. quality of the draft. Autoregressive or multi-step diffusion drafters model dependencies between draft tokens but need sequential steps. Single-pass parallel drafters (Medusa, Speculative Streaming, DFlash) are fast, but they predict each position independently, while the target verifies the window as a prefix: one early miss discards the rest.
DStreamer is a lossless, single-pass diffusion drafter: a small adapter that reads the target model's own KV cache, so it needs zero draft KV cache. We warm-start it with consistency distillation, then train it with acceptance-aligned RL: the drafter is treated as a policy and rewarded for paths that the target accepts under autoregressive verification. Drafting stays one pass, but probability moves toward proposals that survive verification. DStreamer++ keeps running this objective during RLVR, so the drafter follows the policy, and rollouts stay exact on-policy samples.
Results
- Serving: under vLLM continuous batching (Qwen3-4B), DStreamer traces the outer throughput frontier against EAGLE-3 and DFlash across concurrencies 64–1024, reaching up to 3.8× the aggregate throughput of autoregressive decoding at matched per-request rate, with zero draft KV cache.
- Online RLVR: 1.93–2.15× end-to-end speedup across Qwen3-4B/8B/14B (8×H100), with final policy quality preserved.
Code, vLLM integration, MLX port and training scripts are open source:
- 💻 Code: https://github.com/apple-aiml-research/ml-dStreamer
- 🤗 Models: https://huggingface.co/apple/dStreamer
- 📝 Interactive blog: https://apple-aiml-research.github.io/ml-dStreamer/
Get this paper in your agent:
hf papers read 2612.04814 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 1
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper