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

微调掩码扩散以实现可证明的自校正

Fine-Tuning Masked Diffusion for Provable Self-Correction

Harvard University(哈佛大学);The University of Texas at Austin(德克萨斯大学奥斯汀分校);Kempner Institute(凯姆纳研究所)

Jaeyeon Kim, Seunggeun Kim, Taekyun Lee, David Z. Pan, Hyeji Kim, Sham Kakade, Sitan Chen

AI总结:

提出PRISM方法,通过轻量级模型无关的重新掩码策略,在掩码扩散模型中实现可证明的自校正,无需强化学习或验证器,提升低质量令牌检测与修正能力。

摘要:

生成模型的一个自然期望是自校正——在推理时检测并修正低质量令牌。尽管掩码扩散模型(MDMs)已成为离散空间生成建模的有前景方法,但其自校正能力仍知之甚少。先前将自校正融入MDMs的尝试要么需要彻底改造MDM架构/训练,要么依赖于令牌质量的不精确代理,限制了其适用性。受此启发,我们引入PRISM——掩码扩散推理时自校正的插件式重新掩码——一种轻量级、模型无关的方法,适用于任何预训练MDM。理论上,PRISM定义了一个自校正损失,可证明地学习每个令牌的质量分数,无需强化学习或验证器。这些质量分数在与MDM相同的前向传播中计算,并用于检测低质量令牌。实验上,PRISM在多个领域和规模上推进了MDM推理:数独;无条件文本(170M);以及使用LLaDA(8B)的代码。

英文摘要:

A natural desideratum for generative models is self-correction--detecting and revising low-quality tokens at inference. While Masked Diffusion Models (MDMs) have emerged as a promising approach for generative modeling in discrete spaces, their capacity for self-correction remains poorly understood. Prior attempts to incorporate self-correction into MDMs either require overhauling MDM architectures/training or rely on imprecise proxies for token quality, limiting their applicability. Motivated by this, we introduce PRISM--Plug-in Remasking for Inference-time Self-correction of Masked Diffusions--a lightweight, model-agnostic approach that applies to any pretrained MDM. Theoretically, PRISM defines a self-correction loss that provably learns per-token quality scores, without RL or a verifier. These quality scores are computed in the same forward pass with MDM and used to detect low-quality tokens. Empirically, PRISM advances MDM inference across domains and scales: Sudoku; unconditional text (170M); and code with LLaDA (8B).

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

↑