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

自回归掩码扩散模型

Auto-Regressive Masked Diffusion Models

School of Computer Science University of Waterloo, ON, Canada(计算机科学学院,滑铁卢大学,加拿大);Google Research(谷歌研究)

Mahdi Karami, Ali Ghodsi

AI总结:

本文提出自回归掩码扩散模型,通过结合自回归模型的训练效率与扩散模型的并行生成能力,实现高效且灵活的语言建模,提升性能并减少训练步骤。

摘要:

掩码扩散模型(MDMs)已逐渐成为语言建模的一种有前途的方法,但它们在性能上仍比自回归模型(ARMs)存在差距,并且需要更多的训练迭代。在本文中,我们提出了自回归掩码扩散(ARMD)模型,这是一种架构,旨在通过将自回归模型的训练效率与基于扩散模型的并行生成能力相结合,来缩小这一差距。我们的关键见解是将掩码扩散过程重新解释为块级因果模型。这种视角使我们能够设计出一个严格因果、排列等价的架构,该架构可以在单次并行前向传递中计算多个去噪步骤中的所有条件概率。所得到的架构支持高效、自回归风格的解码以及渐进排列训练方案,使模型能够学习标准的从左到右和随机令牌顺序。借助这种灵活性,我们引入了一种新颖的步进并行生成策略,通过在并行流中生成令牌来加速推理,同时保持全局一致性。实验结果表明,ARMD在标准语言建模基准上实现了最先进的性能,优于已建立的扩散基线,同时需要显著较少的训练步骤。此外,它建立了并行文本生成的新基准,有效地缩小了并行和顺序解码之间的性能差距。

英文摘要:

Masked diffusion models (MDMs) have emerged as a promising approach for language modeling, yet they face a performance gap compared to autoregressive models (ARMs) and require more training iterations. In this work, we present the Auto-Regressive Masked Diffusion (ARMD) model, an architecture designed to close this gap by unifying the training efficiency of autoregressive models with the parallel generation capabilities of diffusion-based models. Our key insight is to reframe the masked diffusion process as a block-wise causal model. This perspective allows us to design a strictly causal, permutation-equivariant architecture that computes all conditional probabilities across multiple denoising steps in a single, parallel forward pass. The resulting architecture supports efficient, autoregressive-style decoding and a progressive permutation training scheme, allowing the model to learn both canonical left-to-right and random token orderings. Leveraging this flexibility, we introduce a novel strided parallel generation strategy that accelerates inference by generating tokens in parallel streams while maintaining global coherence. Empirical results demonstrate that ARMD achieves state-of-the-art performance on standard language modeling benchmarks, outperforming established diffusion baselines while requiring significantly fewer training steps. Furthermore, it establishes a new benchmark for parallel text generation, effectively bridging the performance gap between parallel and sequential decoding.

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

↑