当置信度误导时:扩散语言模型的后缀锚定与锚邻近置信度调制
When Confidence Misleads: Suffix Anchoring and Anchor-Proximity Confidence Modulation for Diffusion Language Models
AI总结:
针对扩散语言模型中置信度误导导致生成不完整或过早解码的问题,提出后缀锚定与锚邻近置信度调制方法,无需训练即可提升完全非自回归解码性能。
摘要:
扩散语言模型通过对掩码标记序列进行迭代去噪来解码文本,使得选择解码位置成为推理时的核心决策。大多数无训练解码策略使用模型置信度进行位置选择,假设高置信度位置已准备好解码。本文通过研究置信度何时误导完全非自回归解码来重新审视这一假设。EOT标记可能获得高置信度并导致生成不完整;插入后缀锚定可以缓解此问题,但会在锚附近引入局部过度置信,导致锚邻近标记过早解码。为解决这些问题,我们提出后缀锚定置信度调制,一种简单的无训练方法,它插入短后缀锚定以鼓励回复完成,并根据解码进度调制锚附近的置信度。这保留了后缀锚定的回复完成优势,同时减少了锚邻近标记的过早解码。在纯文本推理、视觉-语言推理和代码生成基准测试中,我们的方法持续改进基于置信度的完全非自回归解码,优于显式EOT抑制,并保持了完全非自回归生成的并行解码优势。
英文摘要:
Diffusion language models generate text by iteratively selecting and denoising masked positions, making position selection a central inference-time decision. Most training-free methods rely on model confidence, assuming that high-confidence positions are ready to be decoded. However, this assumption can fail in fully non-autoregressive (fully non-AR) decoding, where selection spans the entire masked response sequence. This can cause incomplete generation, partly due to EOT overconfidence. Existing remedies directly suppress EOT tokens, but provide limited gains or require additional fine-tuning. We show that placing even a semantically minimal suffix anchor near the end of the response region discourages premature EOT prediction and promotes complete generation. However, despite providing little supporting context, the anchor makes nearby positions highly confident and causes them to be decoded too early. We therefore propose Suffix-Anchored Confidence Modulation, a simple training-free method that uses suffix anchoring with progress-dependent confidence modulation near the anchor. Across text-only reasoning, vision-language reasoning, and code-generation benchmarks, our method outperforms diverse fully non-AR and semi-AR baselines. It also achieves particularly large gains under highly parallel decoding, demonstrating the benefit of improving the fully non-AR regime over block-wise semi-AR regime.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。