arXiv:2603.05197cs.CL2026-03

EoS令牌隐含推理能力,让扩散语言模型更擅长解题

Masked diffusion LLMs can use EoS tokens for hidden reasoning

  • 用多余结束符令牌激活模型隐式计算能力
  • 添加EoS令牌使推理任务准确率显著提升
  • 适合研究模型内在机制与非自回归生成的读者

扩散语言模型作为自回归模型的替代方案被提出。有趣的是,当生成长度远超实际答案长度并用结束序列(EoS)令牌填充时,模型表现尤为出色。我们假设现成的掩码扩散语言模型会利用EoS令牌的表示作为额外计算资源,从而提升性能。在加法、实体追踪和数独三个推理任务上,对LLaDA1.5、LLaDA2.0-mini和Dream-v0进行控制提示实验,证实增加EoS令牌能提升模型表现。通过因果干预,将EoS令牌的隐藏状态在不同生成间转移,发现模型输出反事实答案的概率上升。行为实验与因果干预均表明,全双向掩码扩散模型确实能在EoS令牌表示中执行潜在推理。此外,该现象不仅限于简单任务,额外提供EoS令牌也提升了GSM8K和两跳推理任务的表现。

原文摘要 · Abstract (English)

Diffusion LLMs have been proposed as an alternative to autoregressive LLMs. Curiously, they are especially capable if the generation length, i.e., the number of tokens the model has to output, is set to a much higher value than the correct answer length, and the model pads its answer with end-of-sequence (EoS) tokens. We hypothesize that off-the-shelf masked diffusion LLMs use the representations of EoS tokens as additional computing capacity, which enhances their performance. We experiment with the diffusion models LLaDA1.5, LLaDA2.0-mini, and Dream-v0 on three reasoning tasks: Addition, Entity Tracking, and Sudoku. In a controlled prompting experiment, we confirm that adding EoS tokens improves the LLMs' performance. To further verify whether their representations are used for hidden computations, we perform a causal intervention and transfer the hidden states of the EoS tokens between generations, which increases the models' relative likelihood of outputting the counterfactual answer. The behavioral experiments and the causal interventions indicate that fully bidirectional masked diffusion LLMs can indeed perform latent reasoning in the representations of EoS tokens. Furthermore, we find that these results generalize beyond toy tasks and that providing the model with additional EoS tokens also improves performance on GSM8K and two-hop reasoning.

扩散模型隐式推理语言模型机制分析

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。