arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.30744cs.LG
收藏

随机重掩码缩放掩码扩散推理

Random Remasking Scales Masked Diffusion Inference

Carnegie Mellon University(卡内基梅隆大学)

Zhaoyi Zhou, Frank Wu, Andrea Zanette

AI总结:

该研究针对掩码扩散模型解码错误不可逆问题,提出随机重掩码-去噪(R²D)推理方法及轨迹校正训练(TCT),在逻辑任务和语言任务上均取得优于基线的性能。

摘要:

掩码扩散模型(MDM)通过逐步取消掩码来生成序列,但解码过程中引入的错误通常是不可逆的。近期研究表明,迭代校正可提升样本质量,但鉴于学习得到的去噪模型存在缺陷,现有理论无法对此作出解释。我们将MDM推理重新表述为干净序列空间上的马尔可夫链,该链由重掩码-去噪核定义,此核会随机重新引入掩码并随后进行去噪。这有助于我们分析朝向数据分布的实际去噪轨迹。该分析催生了随机重掩码-去噪(R²D)推理方法,这是一种纯测试时间、无需微调、无奖励的过程。为进一步提升性能,我们提出轨迹校正训练(TCT),这是一种去噪器训练过程,可让模型接触其在生成轨迹中的自身错误。在逻辑任务上,我们的方法呈现出显著的近对数线性测试时间缩放特性,在数独难题上准确率超过97%,在3-SAT问题上准确率超过99%。该方法也适用于实际语言任务的预训练模型,在HumanEval+任务上击败了迭代校正基线以及LLaDA2.1-mini的官方Q模式准确率。

英文摘要:

Masked diffusion models (MDMs) generate sequences by progressively unmasking tokens, but errors introduced during decoding are typically irreversible. Recent work has shown that iterative correction can improve sample quality, yet existing theory fails to explain this given a learned, imperfect denoiser model. We re-formulate MDM inference as a Markov chain on the clean sequence space, defined by a remask-denoise kernel that randomly re-introduces masks and then denoises. This helps us analyze the actual denoising trajectory towards the data distribution. The analysis motivates Random Remask-Denoise (R$^2$D) inference, a purely test-time, finetuning-free, reward-free procedure. To further improve performance, we propose Trajectory Correction Training (TCT), a denoiser-training procedure that exposes the model to its own errors along the generation trajectory. On logical tasks, our approach exhibits a striking near-log-linear test-time scaling, achieving over 97% accuracy on hard Sudoku puzzles and over 99% accuracy on 3-SAT. Our approach also applies to pretrained models on actual language tasks, beating iterative correction baselines and the official Q-mode accuracy of LLaDA2.1-mini on HumanEval+.

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

↑