2025-08-13 · 进阶 · 机器学习 · 自然语言处理

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:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源