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

学习扩散语言模型应何时重新生成

Learning When Diffusion Language Models Should Regenerate

Seoul National University(首尔大学);KAIST(韩国科学技术院)

Minhae Oh, Jeonghye Kim, Jinwoo Koo, Yeongoon Kim, Jimin Seo, Minsik Seol, Jungwoo Lee

AI总结:

针对扩散语言模型重新掩码修正的缺陷,提出DiVR验证器,在不改变生成器的情况下,结合LLaDA-8B-Base提升了五个推理基准的平均准确率,且可泛化到其他生成器。

摘要:

重新掩码(Remasking)使扩散语言模型能够重新审视生成的文本,但有效的修正需要知道何时以及修改什么。我们在数独(Sudoku)上的诊断揭示了两个缺陷:隐藏状态包含错误信息,而token置信度无法可靠地暴露这些错误;当周围上下文保持固定时,对孤立错误进行重新掩码通常会重现该错误。这些发现催生了DiVR,这是一种验证器,用于预测部分生成的序列是否会达到正确答案。DiVR基于模型自身轨迹的最终正确性进行训练,决定何时重新生成一个块以及保留哪个替代方案,而生成器本身保持不变。在使用LLaDA-8B-Base的五个推理基准上,DiVR将微调后生成器的平均准确率从35.3%提升至43.4%,其成本为贪心解码的1.9至3.5倍,低于使用3.8至7.4倍成本的搜索基准。它还可补充监督微调、强化学习等后训练方法,并能泛化到其他生成器,包括Dream。

英文摘要:

Remasking allows diffusion language models to revisit generated text, but effective correction requires knowing when and what to revise. Our diagnosis on Sudoku reveals two gaps. Hidden states contain error information that token confidence does not reliably expose, and remasking an isolated error usually reproduces it when the surrounding context remains fixed. These findings motivate DiVR , a verifier that predicts whether a partially generated sequence will reach a correct answer. Trained on the final correctness of the model's own trajectories, DiVR decides when to regenerate a block and which alternative to retain, while the generator itself stays unchanged. On five reasoning benchmarks with LLaDA-8B-Base, DiVR raises the average accuracy of the fine-tuned generator from 35.3\% to 43.4\% at $1.9$-$3.5\times$ the cost of greedy decoding, above search baselines that use $3.8$-$7.4\times$. It also complements post-training such as supervised fine-tuning and reinforcement learning, and generalizes to other generators, including Dream.

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

↑