While multilingual neural machine translation has achieved great success, it suffers from the off-target issue, where the translation is in the wrong language. This problem is more pronounced on zero-shot translation tasks. In this work, we find that failing in encoding discriminative target language signal will lead to off-target and a closer lexical distance (i.e., KL-divergence) between two languages' vocabularies is related with a higher off-target rate. We also find that solely isolating the vocab of different languages in the decoder can alleviate the problem. Motivated by the findings, we propose Language Aware Vocabulary Sharing (LAVS), a simple and effective algorithm to construct the multilingual vocabulary, that greatly alleviates the off-target problem of the translation model by increasing the KL-divergence between languages. We conduct experiments on a multilingual machine translation benchmark in 11 languages. Experiments show that the off-target rate for 90 translation tasks is reduced from 29\% to 8\%, while the overall BLEU score is improved by an average of 1.9 points without extra training cost or sacrificing the supervised directions' performance. We release the code at https://github.com/PKUnlp-icler/Off-Target-MNMT for reproduction.
翻译:尽管多语言神经机器翻译取得了巨大成功,但仍面临脱靶问题——即译文使用了错误的语言。这一问题在零样本翻译任务中尤为突出。本研究发现,编码过程中缺乏区分性目标语言信号会导致脱靶,且两种语言词汇表之间的词汇距离(即KL散度)越小,脱靶率越高。同时发现,在解码器中单独隔离不同语言的词汇表可缓解该问题。基于上述发现,我们提出语言感知词汇共享算法(LAVS),这是一种简单高效的多语言词汇表构建方法,通过增大语言间的KL散度显著缓解翻译模型的脱靶问题。我们在包含11种语言的多语言机器翻译基准上进行了实验。结果表明,90个翻译任务的脱靶率从29%降至8%,同时整体BLEU值平均提升1.9分,且无需额外训练成本或牺牲监督方向的性能。我们开源了代码(https://github.com/PKUnlp-icler/Off-Target-MNMT)以供复现。