arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.03929stat.MLcs.LG
收藏

自推测掩码扩散

Self-Speculative Masked Diffusions

Google DeepMind(谷歌DeepMind)

Andrew Campbell, Valentin De Bortoli, Jiaxin Shi, Arnaud Doucet

AI总结:

自推测掩码扩散通过非因子化预测减少计算负担,实现文本和蛋白质序列生成的高效样本生成。

摘要:

我们提出了自推测掩码扩散,这是一种新的掩码扩散生成模型,用于离散数据,生成样本所需的功能评估显著减少。标准掩码扩散模型在当前掩码位置上预测因子化对数几率。随后,会采样一定数量的掩码位置,然而,因子化近似意味着一次采样过多位置会导致样本质量差。因此,生成高质量数据需要许多模拟步骤和神经网络函数评估。我们通过生成非因子化的掩码位置预测来减少计算负担。这通过将最终的Transformer注意力掩码从非因果改为因果来实现,从而启用草稿标记生成和通过一种新的、整合到模型中的推测采样机制进行并行验证。这导致在单次正向传递中,掩码位置上有一个非因子化的预测分布。我们应用我们的方法到GPT2规模的文本建模和蛋白质序列生成中,发现相对于标准掩码扩散模型,我们能够将所需的网络正向传递次数减少约2倍。

英文摘要:

We present self-speculative masked diffusions, a new class of masked diffusion generative models for discrete data that require significantly fewer function evaluations to generate samples. Standard masked diffusion models predict factorized logits over currently masked positions. A number of masked positions are then sampled, however, the factorization approximation means that sampling too many positions in one go leads to poor sample quality. As a result, many simulation steps and therefore neural network function evaluations are required to generate high-quality data. We reduce the computational burden by generating non-factorized predictions over masked positions. This is achieved by modifying the final transformer attention mask from non-causal to causal, enabling draft token generation and parallel validation via a novel, model-integrated speculative sampling mechanism. This results in a non-factorized predictive distribution over masked positions in a single forward pass. We apply our method to GPT2 scale text modelling and protein sequence generation, finding that we can achieve a ~2x reduction in the required number of network forward passes relative to standard masked diffusion models.

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

↑