重新审视掩码扩散语言模型训练中的位置监督
Reconsidering Positional Supervision in Masked Diffusion Language Model Training
AI总结:
针对掩码扩散语言模型对位置偏移敏感的问题,提出基于连接主义时序分类(CTC)的目标函数,通过引入松弛令牌和更新折叠映射来吸收位置不确定性,从而在开放生成基准上取得一致提升。
摘要:
掩码扩散语言模型(MDLM)通过并行去掩码生成文本,最近成为自回归语言模型的替代方案。它们可以被视为使用位置交叉熵(CE)损失训练的并行解码器,与非自回归翻译(NAT)设置相同。在NAT中,CE训练的并行解码器被认为对小的位置偏移敏感,因为CE会严厉惩罚它们。我们询问CE训练的MDLM在迭代解码下是否同样对此类偏移敏感。为了探究这一点,我们应用了一种受控干预,在解码过程中引入这些偏移。在LLaDA-8B-Instruct和Arena-Hard上,仅将1%的生成令牌移动一个位置,就显著降低了相对于未干预模型的胜率,表明MDLM在迭代并行解码下对此类小偏移敏感。受此启发,我们将连接主义时序分类(CTC)(一种已知能缓解该问题的对齐灵活目标)适配到MDLM监督微调中。通过放宽CE施加的严格位置匹配,CTC为损失提供了吸收小位置偏移的空间;具体地,我们修改了CTC目标,使用一个特殊的<slack>令牌来吸收目标令牌与输出位置之间的位置不确定性,并更新了折叠映射以保留目标表面形式。在四个开放生成基准上,所得模型在原始模型和匹配的交叉熵训练基线上均有一致改进,且在所有四个基准上具有统计显著性。这些结果表明,训练侧的对齐灵活性是MDLM SFT的一个有用设计维度,与先前工作中探索的推理时方法互补。
英文摘要:
Masked diffusion language models (MDLMs) generate text by unmasking tokens in parallel and have recently emerged as alternatives to autoregressive language models. They can be viewed as parallel decoders trained with a position-wise cross-entropy (CE) loss, the same setup as non-autoregressive translation (NAT). In NAT, CE-trained parallel decoders have been argued to be sensitive to small positional shifts, since CE penalizes them harshly. We ask whether CE-trained MDLMs are similarly sensitive to such shifts under iterative decoding. To probe this, we apply a controlled intervention that introduces them during decoding. On LLaDA-8B-Instruct with Arena-Hard, displacing as little as 1% of generated tokens by one position substantially reduces win rates against the unintervened model, showing that MDLMs are sensitive to such small shifts under iterative parallel decoding. Motivated by this, we adapt connectionist temporal classification (CTC), an alignment-flexible objective known to mitigate it there, to MDLM supervised fine-tuning. By relaxing the strict position-wise match that CE imposes, CTC gives the loss room to absorb small positional shifts; concretely, we modified CTC objective to use a special <slack> token that absorbs positional uncertainty between target tokens and output positions, and a updated collapse map that preserves target surface forms. Across four open-ended generation benchmarks, the resulting model consistently improves over both the original model and a matched cross-entropy-trained baseline, with statistically significant gains on all four. These results identify training-side alignment flexibility as a useful design dimension for MDLM SFT, complementary to the inference-time approaches explored in prior work.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。