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

Spec-AUF:针对掩码块草稿模型的训练-推理不一致的接受直到失败训练

Spec-AUF: Accept-Until-Fail Training under Train-Inference Misalignment for Masked Block Drafters

Tianjian Yang(杨天健);Meng Li(李萌)

Tianjian Yang, Meng Li

AI总结:

提出AUF方法,通过截断交叉熵支持至草稿模型首次预测失败的位置,解决块草稿模型训练与推理不一致问题,提升平均接受长度。

摘要:

推测解码通过草拟一个令牌块(目标模型从左到右验证,仅提交最长接受前缀)来加速自回归生成。块(DLM风格)草稿模型并行预测整个块,速度快,但使用全块交叉熵训练,监督每个位置与黄金延续——尽管推理会丢弃第一次拒绝后的所有令牌。最近的接受感知目标通过重新加权全块损失来修补这一问题;我们则使用教师强制学习作为监督应集中于接受前缀的动机。仅掩码块草稿模型没有输入侧通道用于黄金前缀条件化,因此AUF通过仅在草稿模型第一次预测失败之前保留交叉熵支持,在损失侧近似这种前缀敏感监督。AUF是对交叉熵支持的单一、独立更改——无辅助目标、无验证器展开、无推理管道或精确性契约的更改。在固定草稿模型骨干和服务设置下,在Qwen3-8B上,AUF将DFlash草稿模型的平均发射长度τ(六个基准的平均值)从2.40提高到2.61,每个基准都有增益,并迁移到Domino的双分支头(2.56到2.68)。两个发现使情况更加清晰:仅衰减基线在共享块掩码上达到更高的令牌准确率但解码更差;在DFlash上,一旦AUF截断支持,标准指数位置衰减加权变得经验上无效。

英文摘要:

Speculative decoding accelerates autoregressive generation by drafting a block of tokens that the target model verifies left-to-right, committing only the longest accepted prefix. Block (DLM-style) drafters predict the whole block in parallel, which is fast but trained with a full-block cross-entropy that supervises every position against the gold continuation -- even though inference discards every token after the first rejection. Recent acceptance-aware objectives patch this by reweighting the full-block loss; we instead use teacher-forced learning as a motivation for how supervision should concentrate on the accepted prefix. A mask-only block drafter has no input-side channel for gold-prefix conditioning, so AUF approximates that prefix-sensitive supervision on the loss side by keeping the cross-entropy support only through the drafter's first predicted failure. AUF is a single, detached change to the CE support -- no auxiliary objective, no verifier rollouts, and no change to the inference pipeline or the exactness contract. Within fixed drafter backbones and serving settings on Qwen3-8B, AUF raises the DFlash drafter's average emitted length $τ$, averaged over six benchmarks, from 2.40 to 2.61, with a gain on every benchmark, and transfers to Domino's two-branch head (2.56 to 2.68). Two findings sharpen the picture: the decay-only baseline reaches higher token accuracy on the shared block mask yet decodes worse, and on DFlash, once AUF truncates the support, the standard exponential position-decay weighting becomes empirically inert.

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

↑