arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.05090cs.CLcs.AI
收藏

先完成,后完善:扩散大语言模型的测试时词元级交叉验证

Finish First, Perfect Later: Test-Time Token-Level Cross-Validation for Diffusion Large Language Models

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of California San Diego(加州大学圣地亚哥分校)

Runchu Tian, Junxia Cui, Xueqiang Xu, Feng Yao, Jingbo Shang

AI总结:

针对扩散大语言模型解码中早期错误无法修正的问题,提出无需训练的Tolerator策略,通过两阶段交叉验证细化词元,在五个基准上持续提升性能。

摘要:

扩散大语言模型(dLLMs)近期作为自回归(AR)模型的一种有前景的替代方案出现,提供了加速并行解码和双向上下文建模等优势。然而,离散dLLMs中的朴素解码策略存在一个关键限制:一旦一个词元被接受,它在后续步骤中就不能再被修改。因此,早期错误会在迭代中持续存在,损害中间预测和最终输出质量。为解决此问题,我们提出了Tolerator(词元级交叉验证细化),一种无需训练的解码策略,利用预测词元之间的交叉验证。与遵循单一渐进式去掩码过程的现有方法不同,Tolerator引入了两阶段过程:(i)序列填充和(ii)通过重新掩码并解码部分词元同时将剩余词元视为上下文进行迭代细化。这种设计使得先前被接受的词元能够在必要时被重新考虑和纠正,从而产生更可靠的扩散解码输出。我们在五个标准基准上评估了Tolerator,涵盖语言理解、代码生成和数学。实验表明,在相同计算预算下,我们的方法相对于基线取得了持续改进。这些发现表明,解码算法对于充分发挥扩散大语言模型的潜力至关重要。代码和数据已公开。

英文摘要:

Diffusion large language models (dLLMs) have recently emerged as a promising alternative to autoregressive (AR) models, offering advantages such as accelerated parallel decoding and bidirectional context modeling. However, the vanilla decoding strategy in discrete dLLMs suffers from a critical limitation: once a token is accepted, it can no longer be revised in subsequent steps. As a result, early mistakes persist across iterations, harming both intermediate predictions and final output quality. To address this issue, we propose Tolerator (Token-Level Cross-Validation Refinement), a training-free decoding strategy that leverages cross-validation among predicted tokens. Unlike existing methods that follow a single progressive unmasking procedure, Tolerator introduces a two-stage process: (i) sequence fill-up and (ii) iterative refinement by remasking and decoding a subset of tokens while treating the remaining as context. This design enables previously accepted tokens to be reconsidered and corrected when necessary, leading to more reliable diffusion decoding outputs. We evaluate Tolerator on five standard benchmarks covering language understanding, code generation, and mathematics. Experiments show that our method achieves consistent improvements over the baselines under the same computational budget. These findings suggest that decoding algorithms are crucial to realizing the full potential of diffusion large language models. Code and data are publicly available.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑