arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.16941cs.CL
收藏

展开与回退:扩散大语言模型是它们自己的效率教师

Roll Out and Roll Back: Diffusion LLMs are Their Own Efficiency Teachers

Shanghai Jiao Tong University(上海交通大学);Apple MLR;Tongji University(同济大学);Hong Kong Baptist University(香港 Baptist 大学);RIKEN(日本理化学研究所)

Fanqin Zeng, Feng Hong, Geng Yu, Huangjie Zheng, Xiaofeng Cao, Ya Zhang, Bo Han, Yanfeng Wang, Jiangchao Yao

AI总结:

本文提出了一种基于可撤销解码的扩散大语言模型(DLLM)方法,通过发现可靠的去噪顺序来提升生成质量和效率,WINO和WINO+在多个数据集上展示了显著的性能提升。

摘要:

扩散大语言模型(DLLMs)承诺快速并行生成,但开源DLLMs仍面临严重的质量-速度权衡问题:通过揭示多个token来加速解码往往会导致显著的质量下降。我们将其困境归因于训练-推理不匹配被不可逆解码放大。虽然训练过程从随机破坏的状态重建token,但高效的推理需要自适应的去噪顺序,其中更容易的token被更早揭示,而依赖上下文的token则被推迟。这种观点促使提出两种互补的方法:一种是在推理时使并行解码可撤销的方法,另一种是在训练时扩展的方法,通过这种可撤销过程暴露的可靠顺序进行知识蒸馏。据此,我们首先提出Wide-In, Narrow-Out(WINO),一种无需训练的解码算法,使并行解码可撤销。WINO积极地草案多个token,通过增强的全局上下文验证生成token,并重新掩码不可靠的token以供后续细化。基于发现的顺序,我们进一步引入WINO+,将WINO生成的验证去噪轨迹注入模型参数,使训练与高效推理对齐。在LLaDA和MMaDA上的实验表明,WINO在质量和效率上均有提升,而WINO+进一步加强了这一进程。在GSM8K上,WINO将准确率从73.24%提升到75.82%,并以6.10倍的步骤减少;WINO+进一步达到76.58%并以6.83倍的步骤减少。在Flickr30K上,WINO+实现了16.22倍的步骤减少并提升了CIDEr分数。这些结果表明,DLLMs可以通过可撤销解码发现可靠的去噪顺序,然后学习遵循这些顺序以实现更快的生成。代码可在https://github.com/Feng-Hong/WINO-DLLM/tree/WINO-plus获取。

英文摘要:

Diffusion Large Language Models (DLLMs) promise fast parallel generation, yet open-source DLLMs still face a severe quality-speed trade-off: accelerating decoding by revealing multiple tokens often causes substantial quality degradation. We attribute this dilemma to a train-inference mismatch amplified by irreversible decoding. While training reconstructs tokens from randomly corrupted states, efficient inference requires an adaptive denoising order, where easier tokens are revealed earlier and context-dependent ones are deferred. This view motivates two complementary methods: an inference-time method that makes parallel decoding revokable, and a training-time extension that distills the reliable order exposed by this revokable process. Accordingly, we first propose Wide-In, Narrow-Out (WINO), a training-free decoding algorithm that enables revokable parallel generation. WINO aggressively drafts multiple tokens, verifies generated tokens with enriched global context, and re-masks unreliable ones for later refinement. Building on this discovered order, we further introduce WINO+, which injects the verified denoising trajectories produced by WINO into model parameters, aligning training with efficient inference. Experiments on LLaDA and MMaDA show that WINO improves both quality and efficiency, while WINO+ further strengthens this progression. On GSM8K, WINO improves accuracy from 73.24% to 75.82% with a 6.10x step reduction, and WINO+ further achieves 76.58% with a 6.83x reduction. On Flickr30K, WINO+ reaches a 16.22x step reduction with improved CIDEr. These results demonstrate that DLLMs can serve as their own efficiency teachers by first discovering reliable denoising orders through revokable decoding and then learning to follow them for faster generation. Code is available at https://github.com/Feng-Hong/WINO-DLLM/tree/WINO-plus.

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

↑