Time Is a Feature: Exploiting Temporal Dynamics in Diffusion Language Models
本文提出了一种利用时间一致性的方法来提高扩散语言模型(dLLMs)的解码准确性,通过分析中间预测的语义稳定性来改进模型的生成质量。
更新于 2025-08-14。作者:Wen Wang、Bozhen Fang、Chenchen Jing、Yongliang Shen、Yangyi Shen、Qiuyu Wang、Hao Ouyang、Hao Chen、Chunhua Shen。
中文摘要
扩散大型语言模型(dLLMs)通过迭代去噪生成文本,然而当前的解码策略却舍弃了丰富的中间预测,只青睐最终的输出。我们的研究揭示了这一关键现象:时间振荡,正确的答案往往在中间过程中出现,但在后续的去噪步骤中被覆盖。为了解决这个问题,我们引入了两种互补的方法,它们利用时间一致性:1)时间自我一致性投票,一种无需训练、只在测试时解码的策略,它通过汇总去噪步骤中的预测来选择最一致的输出;2)一种称为时间一致性强化后的训练方法,它使用时间语义熵(TSE),一个衡量中间预测语义稳定性的度量,作为奖励信号来鼓励稳定的生成。在多个基准测试中的经验结果证明了我们方法的有效性。仅使用负TSE奖励,我们在Countdown数据集上观察到相对于现有的dLLM有24.7%的显著平均改进。结合准确性奖励,我们在GSM8K上实现了2.0%的绝对提升,在MATH500上实现了4.3%,在SVAMP上实现了6.6%,在Countdown上实现了25.3%。我们的发现强调了dLLMs中时间动态的未开发潜力,并提供了两个简单而有效的工具来利用它们。
英文摘要
Diffusion large language models (dLLMs) generate text through iterative denoising, yet current decoding strategies discard rich intermediate predictions in favor of the final output. Our work here reveals a critical phenomenon, temporal oscillation, where correct answers often emerge in the middle process, but are overwritten in later denoising steps. To address this issue, we introduce two complementary methods that exploit temporal consistency: 1) Temporal Self-Consistency Voting, a training-free, test-time decoding strategy that aggregates predictions across denoising steps to select the most consistent output; and 2) a post-training method termed Temporal Consistency Reinforcement, which uses Temporal Semantic Entropy (TSE), a measure of semantic stability across intermediate predictions, as a reward signal to encourage stable generations. Empirical results across multiple benchmarks demonstrate the effectiveness of our approach. Using the negative TSE reward alone, we observe a remarkable average improvement of 24.7% on the Countdown dataset over an existing dLLM. Combined with the accuracy reward, we achieve absolute gains of 2.0% on GSM8K, 4.3% on MATH500, 6.6% on SVAMP, and 25.3% on Countdown, respectively. Our findings underscore the untapped potential of temporal dynamics in dLLMs and offer two simple yet effective tools to harness them.
解读
一句话总结
本文提出了一种利用时间一致性的方法来提高扩散语言模型(dLLMs)的解码准确性,通过分析中间预测的语义稳定性来改进模型的生成质量。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:当前dLLMs在解码过程中丢弃了丰富的中间预测,只依赖最终输出,导致正确答案在中间步骤出现但被后续步骤覆盖。
- 现有方案不足:现有解码策略只依赖最终输出,未能充分利用dLLMs的中间预测,导致性能损失。
- 研究目标:通过引入时间一致性方法,提高dLLMs的解码准确性,并减少中间预测的丢失。
问题2:论文的核心创新点是什么?
- 技术创新:提出时间自我一致性投票和时间一致性强化两种方法,分别用于解码时间和后训练阶段。
- 方法改进:引入时间语义熵(TSE)作为衡量语义稳定性的指标,用于奖励信号。
- 优势:提高解码准确性,减少中间预测的丢失,无需依赖地面真相标签。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在多个数据集上进行了实验,包括GSM8K、MATH500、SVAMP和Countdown。
- 性能提升:使用负TSE奖励,Countdown数据集上的平均改进达到24.7%,结合准确性奖励,在GSM8K、MATH500、SVAMP和Countdown上分别实现了2.0%、4.3%、6.6%和25.3%的绝对提升。
- 对比结果:与基线方法相比,改进方法在多个数据集上均取得了显著的性能提升。
问题4:这个研究的实际应用价值是什么?
- 应用场景:适用于需要高准确性和稳定性的文本生成任务。
- 实施建议:结合不同的数据集和任务,调整参数以适应特定场景。
- 局限与展望:在模型中间预测准确性较低的情况下,方法效果可能受限。未来可以探索更复杂的模型结构和训练策略,进一步提高性能。