停止训练于最差:渐进性解蔽加速了掩码扩散训练
Stop Training for the Worst: Progressive Unmasking Accelerates Masked Diffusion Training
AI总结:
本文提出了一种名为渐进性解蔽(PUMA)的方法,通过修改前向掩码过程,使训练时间和推理时的掩码模式一致,从而加速了掩码扩散模型的训练。
摘要:
掩码扩散模型(MDMs)已在离散空间的生成建模中展现出有前途的潜力。通过以任何顺序生成序列并允许并行解码,它们能够实现快速的推理和在非因果任务上的强大性能。然而,这种灵活性带来了训练复杂度的权衡:MDMs需要在一个指数级大的掩码模式集合上进行训练,这不仅计算成本高昂,而且在训练时使用的随机掩码与推理时由解码过程诱导的结构化掩码之间存在训练-测试不匹配。在本文中,我们提出渐进性解蔽(PUMA),这是一种简单的前向掩码过程修改方法,使训练时间和推理时的掩码模式一致,从而将优化集中在推理对齐的掩码上并加快训练。经验上,PUMA在125M规模的预训练中加速了约2.5倍,并在自回归初始化等常见方法上提供了互补的优势。我们开源了我们的代码库:https://github.com/JaeyeonKim01/PUMA。
英文摘要:
Masked Diffusion Models (MDMs) have emerged as a promising approach for generative modeling in discrete spaces. By generating sequences in any order and allowing for parallel decoding, they enable fast inference and strong performance on non-causal tasks. However, this flexibility comes with a training complexity trade-off: MDMs train on an exponentially large set of masking patterns, which is not only computationally expensive, but also creates a train--test mismatch between the random masks used in training and the highly structured masks induced by inference-time unmasking. In this work, we propose Progressive UnMAsking (PUMA), a simple modification of the forward masking process that aligns training-time and inference-time masking patterns, thereby focusing optimization on inference-aligned masks and speeding up training. Empirically, PUMA speeds up pretraining at the 125M scale by $\approx 2.5\times$ and offers complementary advantages on top of common recipes like autoregressive initialization. We open-source our codebase at https://github.com/JaeyeonKim01/PUMA.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。