arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.19269cs.LGcs.CL
收藏

CDLM:一致性扩散语言模型用于更快的采样

CDLM: Consistency Diffusion Language Models For Faster Sampling

Minseo Kim, Chenfeng Xu, Coleman Hooper, Harman Singh, Ben Athiwaratkun, Ce Zhang, Kurt Keutzer, Amir Gholami

AI总结:

CDLM通过一致性建模和块状因果注意力掩码,显著降低扩散语言模型的推断延迟,同时保持在数学和编码任务上的准确性。

摘要:

扩散语言模型(DLMs)提供了一个有前途的并行生成范式,但因其众多的细化步骤和无法使用标准KV缓存而存在推断缓慢的问题。我们引入CDLM(一致性扩散语言模型),一种基于训练的加速方法,同时解决了这两个瓶颈。CDLM通过整合一致性建模大幅减少所需的采样步骤数,通过使多令牌最终确定成为可能。此外,我们在微调过程中强制实施块状因果注意力掩码,使模型完全兼容KV缓存。实验表明,CDLM在数学和编码任务上保持竞争性准确性的同时,实现了3.6倍至14.5倍的延迟降低。完整的训练和评估代码可在https://github.com/SqueezeAILab/CDLM上获得。

英文摘要:

Diffusion Language Models (DLMs) offer a promising parallel generation paradigm but suffer from slow inference due to numerous refinement steps and the inability to use standard KV caching. We introduce CDLM (Consistency Diffusion Language Models), a training-based acceleration method that simultaneously tackles both bottlenecks. CDLM integrates consistency modeling to drastically reduce the number of required sampling steps by enabling multi-token finalization. Furthermore, we enforce a block-wise causal attention mask during fine-tuning, making the model fully compatible with KV caching. Experiments show CDLM achieves 3.6x-14.5x lower latency while maintaining competitive accuracy on math and coding tasks. The full training and evaluation code is available at https://github.com/SqueezeAILab/CDLM.

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

↑