TL;DR
Generating long reasoning chains is the main bottleneck in both high-throughput LLM serving and online reinforcement learning with verifiable rewards (RLVR). DStreamer speeds this up by using a lightweight, single-pass diffusion adapter that reuses the target model's KV cache—requiring zero extra draft KV memory—and trains it with reinforcement learning to optimize entire speculative token paths rather than isolated tokens. Its online variant, DStreamer++, continually realigns the adapter as the target policy evolves during RLVR, achieving up to 3.8× serving throughput and 2.15× end-to-end RLVR training speedups without changing the exact output distribution.
What Problem Does This Paper Address?
If you've ever waited on a reasoning model to finish thinking, you know long-form generation is slow. In synchronous online RLVR (like GRPO), where the model must generate multiple long completions before every gradient update, generation can eat up 94.5% of total training time.
Batching requests helps, but only up to a point: as batch size and context length grow, reading the sequence-specific KV cache from GPU memory hits a bandwidth wall. Speculative decoding—proposing several future tokens at once and verifying them in parallel—can break through this wall. However, existing approaches run into two snags:
- The joint-marginal gap: Parallel drafters predict each future token independently, but the target model verifies them autoregressively. Because verification is prefix-sensitive—one early rejection throws away the rest of the proposed window—optimizing individual token accuracy doesn't guarantee surviving verification.
- Speculative drift: In online RLVR, the target model's policy changes every step. A drafter calibrated once quickly becomes stale, causing acceptance rates (and speedups) to plummet.
Methods
DStreamer builds on lossless Speculative Streaming, attaching rank-256 adapters directly to the target model's layers so they attend to the existing KV cache (no separate draft KV cache needed). To train these adapters effectively, the authors introduce a two-stage pipeline:
- Diffusion-Based Initialization: Instead of training the adapter to predict fully masked future windows from scratch via standard cross-entropy, DStreamer warm-starts it as a masked-diffusion denoiser at varying corruption levels. It then applies consistency distillation to compress that denoising behavior into a single parallel forward pass.
- Acceptance-Aligned Path Optimization: Treating the adapter as a policy, DStreamer generates candidate token paths from a single forward pass and scores them against the frozen target model using a PPO-clipped GRPO objective. The reward combines a hard prefix-compatibility term (rewarding tokens only up to the first mismatch) and a soft target-likelihood term.
- DStreamer++ (Online Adaptation): During RLVR, task rewards update the base model while acceptance-aligned GRPO updates only the adapter parameters against the current policy. Because verification remains strictly lossless, rollouts stay exact samples from the current policy.
Datasets
- High-Throughput Serving: Evaluated on reasoning benchmarks (GSM8K, MATH-500, AIME 2025, AIME 2026) and coding benchmarks (HumanEval, MBPP).
- Online RLVR: Trained on DAPO-Math with verifiable math rewards, and evaluated on MATH-500, AIME 2025, and AMC 2023.
Key Insights and Ideas
- Optimizing for prefix survival pays off late in the window: Compared to target-logit KL distillation, acceptance-aligned RL improves first-token survival by just ~2 percentage points on GSM8K, but boosts the probability of accepting all three tokens by 19 percentage points.
- Zero draft KV cache scales better: Because DStreamer drafts directly from the target KV state, its overhead grows much more slowly than the target model's KV-cache traffic at high concurrency and long contexts—whereas methods with separate draft caches can run out of memory.
- Adaptation without distribution shift: Updating the drafter with disjoint parameters during RLVR cures speculative drift while preserving exact on-policy rollouts.
Key Results
DStreamer serving frontier, RLVR rollout throughput, and end-to-end training speedups
- High-Throughput Serving (Qwen3-4B, vLLM, concurrencies 64–1024): DStreamer traces the outer serving frontier, outperforming DFlash and EAGLE-3 and reaching up to 3.8× higher aggregate throughput than autoregressive decoding on GSM8K (and 2.4–2.5× on HumanEval/MBPP) at matched per-request rates.
- Long-Context Scaling (GPT-OSS-20B): On AIME 2025/2026, DStreamer achieves up to 2.71× speedup at 4K–8K context with 0 GiB of additional draft KV cache (while DFlash-4 runs out of memory at 8192 tokens).
- Online RLVR (Qwen3-4B/8B/14B on 8×H100): DStreamer++ delivers 1.93–2.15× end-to-end training speedup over autoregressive GRPO. On Qwen3-14B (8K context), its 2.15× speedup beats ReSpec (2.01×), FastGRPO (1.98×), and EAGLE-3 Online (1.96×), while matching final policy accuracy (e.g., 36.4% vs. 36.2% on AIME 2025) in far fewer GPU-hours.
Limitations and Future Work
The paper does not include a dedicated limitations section. However, the authors note that for training efficiency, adapter reward scoring truncates context to the most recent 1,024 tokens and uses a top-1 compatibility criterion (whereas inference uses full lossless verification). Future work could explore extending these acceptance-aligned objectives to other adaptive serving and post-training regimes.
Summary updated