arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.27379cs.CLcs.LG
收藏

DStill:用于块扩散推测解码中加速单步草稿生成的轨迹一致性蒸馏

DStill: Trajectory Consistency Distillation for Accelerated One-Step Drafting in Block Diffusion Speculative Decoding

Capital One(第一资本)

Shreyas Kulkarni, Uttam Gurram, Madhav Kanda, Krishna Teja Chitty Venkata, Shichu Chen, Kartik Balasubramaniam, Supriyo Chakraborty, Sambit Sahu

AI总结:

DStill是将草稿器多步细化轨迹蒸馏为单步草稿生成的两阶段框架,在多类基准测试中提升了块扩散推测解码的接受长度与推理速度。

摘要:

块扩散推测解码通过并行生成多个草稿词元来加速大语言模型推理,但离散扩散中的单步草稿生成受词元分解误差限制:每个词元均从同一掩码块预测,未考虑该步骤其他位置已选词元,易产生不一致草稿并降低接受长度。迭代细化通过让后续预测依赖已确定词元缓解此问题,但额外迭代会增加草稿成本。为平衡草稿保真度与推理延迟,本文提出DStill,这是一个两阶段框架,将目标条件草稿器的多步细化能力蒸馏为单步草稿生成。首先训练草稿器完成部分掩码块,再利用其细化轨迹训练学生模型一次性预测最终完成结果,采用从部分掩码到全掩码输入的渐进式课程,成功将多步细化能力迁移至单步。在三个模型族的推理、数学、代码基准测试中,DStill相比单步DFlash将接受长度提升最高28%,加速比最高25%,相比自回归解码实现最高6.45倍加速。

英文摘要:

Block-diffusion speculative decoding accelerates large language model inference by drafting multiple tokens in parallel. However, one-step drafting in discrete diffusion is limited by token factorization error: each token is predicted from the same masked block, without conditioning on the tokens selected at other positions in that step. This can produce inconsistent drafts and reduce acceptance length. Iterative refinement mitigates this limitation by conditioning later predictions on previously committed tokens, though additional passes increase drafting cost. To address this trade-off between draft fidelity and inference latency, we introduce DStill, a two-stage framework that distills a target-conditioned drafter's own multi-step refinement into one-step drafting. We first train the drafter to complete partially revealed blocks, then use its refinement trajectories to train a student to predict the final completion in one pass. Using a curriculum that gradually transitions from partial to fully masked inputs, we successfully transfer the multi-step refinement capabilities into one step. Across reasoning, math, code benchmarks on three model families DStill improves acceptance length by up to 28% and speedup by up to 25% over one-step DFlash, achieving up to 6.45x speedup over auto-regressive decoding.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑