arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.37778cs.CL
收藏

用于扩散草稿器的多草稿策略内蒸馏

Multi-Draft On-Policy Distillation for Diffusion Drafters

Georgia Institute of Technology(佐治亚理工学院)

Petr Molodyk, Yuchen Zhu, Jaemoo Choi, Molei Tao, Yongxin Chen

AI总结:

该研究针对并行扩散草稿器的策略内蒸馏问题,提出MDraft方法,通过聚合多草稿的验证器条件信息,提升了草稿接受长度,在多类任务上优于现有蒸馏方法。

摘要:

推测解码用于降低语言模型的推理成本,单步扩散草稿器并行生成多个token块,减少了推测解码的序列成本。策略内蒸馏利用验证器对草稿器自身提议的反馈来训练这些草稿器,但并行草稿使得该反馈难以使用:草稿器预测每个token时无法观察同一块内采样的前序token,而验证器的预测则以这些token为条件,因此不同采样前缀会为同一草稿器预测提供不同的验证器目标。我们发现,分别针对这些目标进行蒸馏会抑制在某些前缀下合理但在其他前缀下不太可能的token,损害草稿接受率。我们解释了这种不匹配的影响,并提出了多草稿策略内蒸馏(MDraft),这是一种新的并行草稿器蒸馏方法,它从同一上下文采样多个草稿块,并聚合验证器在这些前缀上的全词汇条件概率。我们利用所有草稿从验证器收集信息,允许来自替代前缀的信息影响训练目标。所得算法将并行草稿器的接受长度提高到超过预训练水平,并减轻了分布不匹配的影响。MDraft仅改变训练过程,保留草稿器的架构和推理流程,使得到的草稿器可直接替代预训练检查点使用。在一组数学、编码和对话任务上的实验表明,与现有蒸馏方法相比,其接受的草稿更长。

英文摘要:

Speculative decoding is used to reduce the inference cost of language models. One-step diffusion drafters propose a block of multiple tokens in parallel, reducing the sequential cost of speculative decoding. On-policy distillation trains these drafters using verifier feedback on their own proposals. However, parallel drafting makes this feedback difficult to use: the drafter predicts each token without observing the preceding tokens sampled within the same block, while the verifier conditions its prediction on those tokens. Different sampled prefixes therefore give different verifier targets for the same drafter prediction. We show that distilling against these targets separately can suppress tokens that are plausible after some prefixes but unlikely after others, harming draft acceptance. We explain the effects of this mismatch and introduce Multi-Draft On-Policy Distillation (MDraft), a new parallel drafter distillation method which samples several draft blocks from the same context and aggregates the verifier's full-vocabulary conditionals across their prefixes. We use all the drafts to collect information from the verifier, allowing support from alternative prefixes to influence the training target. The resulting algorithm improves the acceptance length of a parallel drafter beyond the level of pre-training, and alleviates the effects of the distributional mismatch. MDraft changes only training, retaining the drafter's architecture and inference procedure, allowing the resulting drafter to be used as-is in place of the pretrained checkpoint. Experiments on a suite of mathematical, coding, and conversational tasks show longer accepted drafts than prior distillation methods.

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

↑