arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.17068cs.CLcs.LG
收藏

扩散语言模型的稳定性加权解码

Stability-Weighted Decoding for Diffusion Language Models

Department of XXX, University of YYY, Location, Country(XXX系,YYY大学,Location,Country);School of ZZZ, Institute of WWW, Location, Country(ZZZ学院,WWW研究所,Location,Country);Department of Data Science and Artificial Intelligence, The Hong Kong Polytechnic University, Hong Kong, China(数据科学与人工智能系,香港理工大学,香港,中国)

Yue Wu, Jian Huang

AI总结:

本文提出稳定性加权解码方法,通过引入时间稳定性提升扩散语言模型的生成准确性与鲁棒性,实验表明其在代码生成和数学推理任务中表现优异。

摘要:

扩散大语言模型(dLLMs)通过迭代去噪完全掩码的序列实现并行文本生成,在每一步解码时解掩码部分掩码标记。现有解码策略依赖于单一步骤计算的静态置信度度量,忽略时间历史,常导致不稳定标记过早解掩。本文理论证明,标记的时间不稳定性(通过连续预测分布间的KL散度量化)是其与剩余掩码上下文的互信息的严格下界,表明时间不稳定标记本质上不安全解掩。基于此见解,我们提出稳定性加权解码(SWD),一种无需训练的即插即用策略,将时间稳定性融入标记评分,并作为通用调节器用于任意基于分数的解码策略。在代码生成和数学推理基准测试中,SWD在代表性评分指标和选择策略上一致提高生成准确性,并表现出卓越的鲁棒性,在不同加速比下均显著优于标准基线。

英文摘要:

Diffusion large language models (dLLMs) enable parallel text generation by iteratively denoising a fully masked sequence, unmasking a subset of masked tokens at each step. Existing decoding strategies rely on static confidence metrics computed at a single denoising step, ignoring temporal history and often leading to premature unmasking of unstable tokens. In this work, we theoretically establish that a token's temporal instability, quantified by the KL divergence between consecutive prediction distributions, provides a strict lower bound on its mutual information with the remaining masked context, indicating that temporally unstable tokens are inherently unsafe to unmask. Based on this insight, we propose Stability-Weighted Decoding (SWD), a training-free, plug-and-play strategy that incorporates temporal stability into token scoring and acts as a universal modulator for arbitrary score-based decoding policies. Experiments on code generation and mathematical reasoning benchmarks demonstrate that SWD consistently improves generation accuracy across representative scoring metrics and selection policies, and exhibits exceptional robustness, maintaining a significant performance lead over standard baselines across varying acceleration ratios.

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

↑