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

理解并加速掩码扩散语言模型的训练

Understanding and Accelerating the Training of Masked Diffusion Language Models

KAIST(韩国科学技术院);Sony AI(索尼人工智能);University of Tokyo(东京大学);Sony Group Corporation(索尼集团)

Chunsan Hong, Sanghyun Lee, Chieh-Hsin Lai, Satoshi Hayakawa, Yuhta Takida, Yuki Mitsufuji, Seungryong Kim, Jong Chul Ye

AI总结:

本文研究了掩码扩散模型训练缓慢的原因,提出bell-shaped时间采样策略,显著提升训练效率和模型性能。

摘要:

掩码扩散模型(MDMs)已作为一种有前途的替代方案出现,用于语言建模,替代自回归模型(ARMs)。然而,MDMs 被发现比 ARMs 学习要慢得多,这在扩展 MDMs 到更大模型时可能变得有问题。因此,我们提出问题:如何加速标准 MDM 的训练,同时保持其最终性能?为此,我们首先详细分析了 MDM 训练缓慢的原因。我们发现主要因素是语言的局部性偏差:一个令牌的预测信息集中在附近位置。我们进一步研究了这种偏差如何减慢学习,并建议一种简单而有效的解决方案:作为训练策略的钟形时间采样。值得注意的是,使用我们的训练配方训练的 MDMs 在 One Billion Word Benchmark(LM1B)上达到相同的验证负对数似然(NLL)的速度可达到标准训练的约 4 倍。我们还展示了在各种基准上生成困惑度、零样本困惑度和下游任务性能的更快改进。

英文摘要:

Masked diffusion models (MDMs) have emerged as a promising alternative to autoregressive models (ARMs) for language modeling. However, MDMs are known to learn substantially more slowly than ARMs, which may become problematic when scaling MDMs to larger models. Therefore, we ask the following question: how can we accelerate standard MDM training while maintaining its final performance? To this end, we first provide a detailed analysis of why MDM training is slow. We find that the main factor is the locality bias of language: the predictive information for a token is concentrated in nearby positions. We further investigate how this bias slows learning and suggest a simple yet effective remedy: bell-shaped time sampling as a training strategy. Notably, MDMs trained with our training recipe reach the same validation negative log-likelihood (NLL) up to $\sim4\times$ faster than standard training on One Billion Word Benchmark (LM1B). We also show faster improvements in generative perplexity, zero-shot perplexity, and downstream task performance on various benchmarks.

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

↑