DStreamer:用于高吞吐量服务与在线RLVR的接受度对齐扩散流
DStreamer: Acceptance-Aligned Diffusion Streaming for High-Throughput Serving and Online RLVR
AI总结:
提出DStreamer无损推测解码框架,通过扩散适配器复用KV状态,在多场景下提升LLM服务与RLVR吞吐量,DStreamer++进一步适配演化策略并保留策略质量。
摘要:
长文本生成正逐渐成为高吞吐量大语言模型(LLM)服务及带可验证奖励的在线强化学习(RLVR)中的主要成本。推测解码通过并行验证多个提议来提升每次目标模型调用的令牌进度,但在面向吞吐量的批量大小下,其有效性取决于在并发数和上下文增长时保持提议与状态开销较低。在线RLVR则带来了独特挑战:训练过程中目标策略发生变化时,一次校准的草稿模型会逐渐失效。我们提出DStreamer,这是一种无损推测解码框架,采用基于扩散的单遍模型内适配器,可复用目标模型的缓存KV状态,无需单独的草稿KV缓存。我们通过一致性蒸馏对适配器进行热启动,随后在自回归验证下以接受度对齐的强化学习目标优化提议路径,直接针对决定推测效用的前缀敏感准则。我们在推测解码受提议与状态开销约束最大的面向吞吐量的场景中评估DStreamer:连续批量服务、长文本生成及同步在线RLVR。在Qwen和GPT-OSS模型上,DStreamer在64-1024的并发数下拓展了服务边界,在整个评估范围内均优于DFlash和EAGLE-3,在匹配单请求速率时,总吞吐量最高可达自回归解码的3.8倍,且无需单独的草稿KV缓存。DStreamer++将接受度导向的训练扩展到演化策略,同时保留精确的在线策略rollout,在同步8xH100训练下,于Qwen3-4B、8B和14B上实现1.93-2.15倍的端到端RLVR加速,同时保留最终策略质量。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。