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

分区生成建模:无掩码的掩码建模

Partition Generative Modeling: Masked Modeling Without Masks

EPFL(苏黎世联邦理工学院)

Justin Deschenaux, Lan Tran, Caglar Gulcehre

AI总结:

PGMs通过分区替代掩码,实现高效生成模型,提升吞吐量并降低生成困惑度,兼容现有MGM方法。

摘要:

掩码生成模型(MGM)能够并行且按任意顺序生成标记,不同于自回归模型(ARM),后者逐个从左到右解码。然而,MGM在每个采样步骤中都处理完整长度的序列,包括携带无信息的掩码标记。相比之下,ARM仅处理之前生成的标记。我们引入了「分区生成模型」(PGMs),通过将掩码替换为分区。标记被分成两个组,这两个组无法互相关注,模型学习在另一个组的条件下预测每个组,彻底消除掩码标记。由于组之间不相互作用,PGMs在采样时仅处理干净的标记,如同ARM,同时保留并行和任意顺序生成的能力,如同MGM。在OpenWebText上,PGMs的吞吐量比MDLM高5-5.5倍,生成样本的生成困惑度更低。在ImageNet上,PGMs达到与MaskGIT相当的FID,同时吞吐量提升7.5倍。使用两倍步骤时,FID提高到4.56,同时比MGM快3.9倍。最后,PGMs仍能与现有的MGM采样器和蒸馏方法兼容。

英文摘要:

Masked generative models (MGMs) can generate tokens in parallel and in any order, unlike autoregressive models (ARMs), which decode one token at a time, left-to-right. However, MGMs process the full-length sequence at every sampling step, including mask tokens that carry no information. In contrast, ARMs process only the previously generated tokens. We introduce ``Partition Generative Models'' (PGMs), which replace masking with partitioning. Tokens are split into two groups that cannot attend to each other, and the model learns to predict each group conditioned on the other, eliminating mask tokens entirely. Because the groups do not interact, PGMs can process only the clean tokens during sampling, like ARMs, while retaining parallel, any-order generation, like MGMs. On OpenWebText, PGMs achieve $5-5.5\times$ higher throughput than MDLM while producing samples with lower Generative Perplexity. On ImageNet, PGMs reach comparable FID to MaskGIT with a $7.5\times$ throughput improvement. With twice as many steps, the FID improves to 4.56 while remaining $3.9\times$ faster than MGMs. Finally, PGMs remain compatible with existing MGM samplers and distillation methods.

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

↑