2025-12-16 · 专家 · 自然语言处理 · 机器学习

ReFusion: A Diffusion Large Language Model with Parallel Autoregressive Decoding

REFUSION 是一种新型的掩码扩散语言模型,通过将并行解码从标记级别提升到槽级别,实现了性能和效率的显著提升。

更新于 2025-12-18。作者:Jia-Nan Li、Jian Guan、Wei Wu、Chongxuan Li。

中文摘要

自回归模型(ARMs)受限于缓慢的顺序推理。虽然掩码扩散模型(MDMs)提供了一个并行替代方案,但它们存在一些关键缺陷:由于排除了键值(KV)缓存,计算开销大,以及在学习难以处理的标记组合空间中的依赖关系时产生的生成不连贯。为了解决这些限制,我们引入了ReFusion,这是一种新颖的掩码扩散模型,通过将并行解码从标记级别提升到更高层次的槽位级别,实现了卓越的性能和效率,其中每个槽位都是一个固定长度、连续的子序列。这是通过迭代“计划-填充”解码过程实现的:基于扩散的计划步骤首先识别出一组弱依赖的槽位,然后自回归填充步骤并行解码这些选定的槽位。基于槽位的设计同时解锁了统一的因果框架下的全面KV缓存重用,并将学习复杂度从标记组合空间降低到可管理的槽位级别排列空间。在七个不同的基准上的大量实验表明,ReFusion不仅以34%的性能提升和平均超过18倍的速度提升压倒性地超越了先前的MDMs,而且还缩小了与强大ARMs的性能差距,同时保持了平均2.33倍的速度提升。

英文摘要

Autoregressive models (ARMs) are hindered by slow sequential inference. While masked diffusion models (MDMs) offer a parallel alternative, they suffer from critical drawbacks: high computational overhead from precluding Key-Value (KV) caching, and incoherent generation arising from learning dependencies over an intractable space of token combinations. To address these limitations, we introduce ReFusion, a novel masked diffusion model that achieves superior performance and efficiency by elevating parallel decoding from the token level to a higher slot level, where each slot is a fixed-length, contiguous sub-sequence. This is achieved through an iterative ``plan-and-infill'' decoding process: a diffusion-based planning step first identifies a set of weakly dependent slots, and an autoregressive infilling step then decodes these selected slots in parallel. The slot-based design simultaneously unlocks full KV cache reuse with a unified causal framework and reduces the learning complexity from the token combination space to a manageable slot-level permutation space. Extensive experiments on seven diverse benchmarks show that ReFusion not only overwhelmingly surpasses prior MDMs with 34% performance gains and an over 18times speedup on average, but also bridges the performance gap to strong ARMs while maintaining a 2.33times average speedup.

解读

一句话总结

REFUSION 是一种新型的掩码扩散语言模型,通过将并行解码从标记级别提升到槽级别,实现了性能和效率的显著提升。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源