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

ReFusion:一种具有并行自回归解码的扩散大语言模型

ReFusion: A Diffusion Large Language Model with Parallel Autoregressive Decoding

Renmin University of China(中国人民大学);Ant Group(蚂蚁集团);Ant International(蚂蚁国际)

Jia-Nan Li, Jian Guan, Wei Wu, Chongxuan Li

AI总结:

ReFusion通过整合序列重组到因果注意框架中,实现并行解码和高效生成,显著提升性能和速度,缩小与传统自回归模型的差距。

摘要:

自回归模型(ARMs)受到序列推理缓慢的限制。尽管掩码扩散模型(MDMs)提供了一种并行替代方案,但它们存在关键缺点:由于排除键值(KV)缓存而产生高计算开销,以及由于在不可追踪的token组合空间上学习依赖性而导致的生成不一致。为了解决这些限制,我们引入了ReFusion,一种新的掩码扩散模型,将其序列重组整合到因果注意框架中。通过将并行解码从token级别提升到更高slot级别,ReFusion在slot层面交错了基于扩散的跨slot选择与slot内部的自回归填充,并在每次迭代后重新排列新生成的slot在剩余mask之前。因此,这种设计同时解锁了完整的KV缓存重用,并将学习复杂性从不可追踪的token组合空间降低到可管理的slot级别排列空间。在七个多样化的基准测试中,ReFusion不仅在性能上大幅超越了先前的MDMs,平均性能提升34%,速度提升超过18倍,同时在保持平均速度提升2.33倍的情况下缩小了与强大ARM之间的性能差距。

英文摘要:

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 \textsc{ReFusion}, a novel masked diffusion model that integrates sequence reorganization into the causal attention framework. By elevating parallel decoding from the token level to a higher slot level, \textsc{ReFusion} interleaves inter-slot diffusion-based selection with intra-slot autoregressive infilling, while reordering newly generated slots ahead of the remaining masks after each iteration. Consequently, this design simultaneously unlocks full KV cache reuse and reduces learning complexity from an intractable token combination space to a manageable slot-level permutation space. Extensive experiments on seven diverse benchmarks show that \textsc{ReFusion} not only overwhelmingly surpasses prior MDMs with a 34\% performance gain and an over 18$\times$ speedup on average, but also bridges the performance gap to strong ARMs while maintaining a 2.33$\times$ average speedup.

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

↑