arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.11219cs.CL
收藏

基于损失的词嵌入神经机器翻译训练

Training Neural Machine Translation using Word Embedding-based Loss

Nara Institute of Science and Technology(奈良先端科学技术大学院大学)

Katsuki Chousa, Katsuhito Sudoh, Satoshi Nakamura

摘要:

在神经机器翻译(NMT)中,输出层的计算成本随着目标端词汇的大小而增加。使用有限的词汇量可能会导致翻译质量的显著下降。这种折衷是从基于softmax的损失函数导出的,该函数独立地处理字典中的单词,其中不考虑单词相似性。在本文中,我们提出了一种新的NMT损失函数,包括在词嵌入空间中的距离形式的词相似性。所提出的损失函数鼓励NMT解码器生成接近其在嵌入空间中的参考的词;这有助于解码器在实际最佳候选者由于其大小限制而不包括在词汇表中时选择类似的可接受的词。在使用ASPEC日语到英语和IWSLT 17英语到法语数据集的实验中,所提出的方法在两个数据集中都显示出对标准NMT基线的改进;特别是使用IWSLT 17 En-Fr,它在BLEU中达到了+1.72,在METEOR中达到了+1.99。当目标端词汇量非常有限,只有1,000个单词时,所提出的方法在METEOR中表现出了显著的增益,+1.72。

英文摘要:

In neural machine translation (NMT), the computational cost at the output layer increases with the size of the target-side vocabulary. Using a limited-size vocabulary instead may cause a significant decrease in translation quality. This trade-off is derived from a softmax-based loss function that handles in-dictionary words independently, in which word similarity is not considered. In this paper, we propose a novel NMT loss function that includes word similarity in forms of distances in a word embedding space. The proposed loss function encourages an NMT decoder to generate words close to their references in the embedding space; this helps the decoder to choose similar acceptable words when the actual best candidates are not included in the vocabulary due to its size limitation. In experiments using ASPEC Japanese-to-English and IWSLT17 English-to-French data sets, the proposed method showed improvements against a standard NMT baseline in both datasets; especially with IWSLT17 En-Fr, it achieved up to +1.72 in BLEU and +1.99 in METEOR. When the target-side vocabulary was very limited to 1,000 words, the proposed method demonstrated a substantial gain, +1.72 in METEOR with ASPEC Ja-En.

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

↑