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

因果自回归扩散语言模型

Causal Autoregressive Diffusion Language Model

Meituan Inc.(美团公司);School of Computer Science(计算机科学学院);Engineering, Northeastern University, Shenyang, China(工程学院,东北大学,沈阳,中国);NiuTrans Research, Shenyang, China(NiuTrans研究,沈阳,中国)

Junhao Ruan, Bei Li, Yongjing Yin, Pengcheng Huang, Xin Chen, Jingang Wang, Xunliang Cai, Tong Xiao, JingBo Zhu

AI总结:

本文提出CARD,一种结合自回归模型训练效率和扩散模型推理效率的新型语言模型,通过因果掩码和动态并行解码实现高效生成与高数据效率。

摘要:

在本文中,我们提出了因果自回归扩散(CARD),一种将自回归模型(ARMs)的训练效率与扩散模型的高吞吐量推理相结合的新框架。CARD在严格因果注意力掩码内重新表述扩散过程,使单次前向传递中能够实现密集的每token监督。为了解决因果扩散的优化不稳定性,我们引入了一种软尾掩码方案以保留局部上下文,并从信号噪声原理中衍生出一种上下文感知的重加权机制。这种设计使模型能够实现动态并行解码,其中模型利用KV缓存根据置信度自适应生成可变长度的token序列。实证结果表明,CARD在减少训练延迟3倍(相比块扩散方法)的同时,优于现有离散扩散基线。我们的结果表明,CARD在实现ARM级别的数据效率的同时,解锁了并行生成的延迟优势,为下一代高效大语言模型建立了稳健的范式。

英文摘要:

In this work, we propose Causal Autoregressive Diffusion (CARD), a novel framework that unifies the training efficiency of ARMs with the high-throughput inference of diffusion models. CARD reformulates the diffusion process within a strictly causal attention mask, enabling dense, per-token supervision in a single forward pass. To address the optimization instability of causal diffusion, we introduce a soft-tailed masking schema to preserve local context and a context-aware reweighting mechanism derived from signal-to-noise principles. This design enables dynamic parallel decoding, where the model leverages KV-caching to adaptively generate variable-length token sequences based on confidence. Empirically, CARD outperforms existing discrete diffusion baselines while reducing training latency by 3 $\times$ compared to block diffusion methods. Our results demonstrate that CARD achieves ARM-level data efficiency while unlocking the latency benefits of parallel generation, establishing a robust paradigm for next-generation efficient LLMs.

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

↑