掩码扩散机器翻译的长度自适应解码
其他资讯 · 2026/08/26
机器翻译测试了掩码扩散语言模型(dLLMs),因为每个源词都必须忠实翻译,而固定画布解码必须在去噪前选择目标长度。现有掩码扩散解码研究主要关注词元解掩码顺序,对长度决策的探索不足,尽管它直接影响覆盖率和冗余度。我们提出了熵谷(EV),一种无需训练的长度选择器,通过全掩码前向传递的平均预测熵对候选目标画布进行评分,并选择骨干网络最准备填充的画布。与使用训练语料长度统计的基线相比,EV在EntoZh、ZhtoEn和EntoDe上恢复了参考目标长度带来的COMET-22增益的64.9%、65.3%和33.0%。我们的诊断表明,有利于去噪的长度不一定与参考长度匹配。三位翻译专家的评估支持En↔Zh的充分性提升,其中ZhtoEn的证据更强。与在同一微调数据上训练的LLaMA-3-8B自回归(AR)模型相比,EV系统在EntoZh上持平,在ZhtoEn上领先;一个oracle长度诊断进一步表明,在这种掩码扩散MT设置中,决定先揭示哪些词元不如目标长度的提供方式重要。
该论文针对掩码扩散机器翻译中目标长度选择这一被忽视的问题,提出了简单有效的熵谷方法,无需额外训练即可显著提升翻译质量,并通过实验和专家评估验证了其有效性。研究结果挑战了长度与参考一致的假设,为扩散模型在MT中的应用提供了新见解,具有理论和实践价值。
Machine translation tests masked diffusion language models (dLLMs) because every source token must be rendered faithfully, while fixed canvas decoding must choose target length before denoising. Existing masked diffusion decoding work mainly studies token unmasking order, leaving this length decision under-explored despite its direct effect on coverage and redundancy. We introduce Entropy-Valley (EV), a training-free length selector that scores candidate target canvases by mean predictive entropy from all-mask forward passes and selects the canvas the backbone is most prepared to fill. Relative to a baseline using training corpus length statistics, EV recovers 64.9%, 65.3%, and 33.0% of the COMET-22 gain from reference target lengths on EntoZh, ZhtoEn, and EntoDe. Our diagnostics show that denoising-friendly lengths need not match reference lengths. Evaluation by three translation experts supports the EnleftrightarrowZh adequacy gains, with stronger evidence on ZhtoEn. Compared with a LLaMA-3-8B autoregressive (AR) model trained on the same fine-tuning data, the EV system ties on EntoZh and leads on ZhtoEn; an oracle-length diagnostic further shows that, in this masked diffusion MT setting, deciding which tokens to reveal first matters less than how the target length is supplied.