arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.04329cs.LGstat.ML
收藏

面向离散数据的简化且通用的掩码扩散模型

Simplified and Generalized Masked Diffusion for Discrete Data

Google DeepMind(谷歌DeepMind)

Jiaxin Shi, Kehang Han, Zhe Wang, Arnaud Doucet, Michalis K. Titsias

AI总结:

针对现有离散数据掩码扩散模型结构复杂、性能受限的问题,研究提出简洁通用的框架,证明其连续时间变分目标为交叉熵损失加权积分,支持状态依赖掩码调度,在语言和图像建模任务上均超越同类模型。

摘要:

掩码(或称吸收态)扩散模型作为自回归模型的替代方案,正被积极用于离散数据的生成建模研究。然而,该领域现有研究受限于过于复杂的模型公式,以及不同研究视角间关系不清晰的问题,导致参数化方式、训练目标均非最优,还需要临时调整来弥补这些缺陷。本研究旨在提出一个简洁通用的框架,充分释放掩码扩散模型的潜力。我们证明,掩码扩散模型的连续时间变分目标是交叉熵损失的简单加权积分。该框架还支持训练带状态依赖掩码调度的广义掩码扩散模型。以困惑度为评估指标,我们在OpenWebText上训练的模型在GPT-2规模下超越了此前的扩散语言模型,在5项零样本语言建模任务中有4项表现更优。此外,我们的模型在像素级图像建模任务上大幅优于此前的离散扩散模型,在CIFAR-10和ImageNet 64x64数据集上分别达到2.75和3.40比特/维度,优于同等规模的自回归模型。我们的代码可在https://github.com/google-deepmind/md4获取。

英文摘要:

Masked (or absorbing) diffusion is actively explored as an alternative to autoregressive models for generative modeling of discrete data. However, existing work in this area has been hindered by unnecessarily complex model formulations and unclear relationships between different perspectives, leading to suboptimal parameterization, training objectives, and ad hoc adjustments to counteract these issues. In this work, we aim to provide a simple and general framework that unlocks the full potential of masked diffusion models. We show that the continuous-time variational objective of masked diffusion models is a simple weighted integral of cross-entropy losses. Our framework also enables training generalized masked diffusion models with state-dependent masking schedules. When evaluated by perplexity, our models trained on OpenWebText surpass prior diffusion language models at GPT-2 scale and demonstrate superior performance on 4 out of 5 zero-shot language modeling tasks. Furthermore, our models vastly outperform previous discrete diffusion models on pixel-level image modeling, achieving 2.75 (CIFAR-10) and 3.40 (ImageNet 64x64) bits per dimension that are better than autoregressive models of similar sizes. Our code is available at https://github.com/google-deepmind/md4.

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

↑