揭示状态:状态适应何时对掩码扩散语言模型重要
研究论文 · 2026/10/01
掩码扩散语言模型(MDM)支持灵活的生序,因此解掩码策略成为一种推理决策。现有方法在如何优先处理位置、控制并行度、限制选择区域、修正预测或规划未来去噪方面各不相同,但这些选择在生成过程中何时应当改变仍不明确。我们通过策略反转来研究这一问题,即替代动作变得优于固定选择的情形。我们将MDM推理组织为五个维度——分数、基数、区域、承诺和规划——并将适应机会定义为最佳候选动作相对于验证集选定的固定动作的一步效用优势。这一视角表明,适应价值取决于此类反转的频率和幅度。在三个MDM和十个任务上,适应机会高度异质,某些情形表现出集中且可预测的一步收益。这促使我们提出选择性适应:在验证提示上校准的轻量级检测器识别高机会状态,例如在LLaDA-8B约束JSON填充任务中,仅适应前10%的状态即可捕获候选集预言机机会的56.9%。我们的转换级结果表明,状态适应在选择性应用而非统一应用时最为有用。
该研究系统性地分析了掩码扩散语言模型中状态适应何时重要,提出了选择性适应的实用框架,并在多个模型和任务上验证了其有效性,为高效推理提供了新思路。
Masked diffusion language models (MDMs) admit flexible generation orders, making the unmasking strategy an inference decision. Existing methods vary in how they prioritize positions, control parallelism, restrict selection regions, revise predictions, or plan future denoising, yet it remains unclear when these choices should change during generation. We study this question through strategy reversals, where an alternative action becomes preferable to a fixed choice. We organize MDM inference into five axes--score, cardinality, region, commitment, and planning--and define adaptation opportunity as the one-step utility advantage of the best candidate action over a validation-selected fixed action. This view shows that adaptation value depends on both the frequency and magnitude of such reversals. Across three MDMs and ten tasks, adaptation opportunities are highly heterogeneous, with some regimes exhibiting concentrated and predictable one-step gains. This motivates selective adaptation: lightweight detectors calibrated on validation prompts identify high-opportunity states, capturing, for example, 56.9 percent of the candidate-set oracle opportunity by adapting only the top 10 percent of states on LLaDA-8B constrained JSON filling. Our transition-level results suggest that state adaptation is most useful when applied selectively rather than uniformly.