arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.04924cs.CLcs.AIcs.LG
收藏

神经机器翻译中的长尾现象

On Long-Tailed Phenomena in Neural Machine Translation

Carnegie Mellon University(卡内基梅隆大学);University of Utah(犹他大学)

Vikas Raunak, Siddharth Dalmia, Vivek Gupta, Florian Metze

摘要:

最先进的神经机器翻译(NMT)模型难以生成低频令牌,解决这一问题仍然是一个重大挑战。在结构化预测任务的背景下,长尾现象的分析进一步受到推理过程中搜索的复杂性的阻碍。在这项工作中,我们定量描述了这种长尾现象在两个层次的抽象,即令牌分类和序列生成。我们提出了一个新的损失函数,反焦点损失,通过在训练过程中加入束搜索的归纳偏差,使模型训练更好地适应条件文本生成的结构依赖性。我们在一些机器翻译(MT)数据集上展示了所提出的技术的有效性,表明它在不同语言对之间的交叉熵上获得了显着的收益,特别是在低频词的生成上。我们已经发布了代码来重现我们的结果。

英文摘要:

State-of-the-art Neural Machine Translation (NMT) models struggle with generating low-frequency tokens, tackling which remains a major challenge. The analysis of long-tailed phenomena in the context of structured prediction tasks is further hindered by the added complexities of search during inference. In this work, we quantitatively characterize such long-tailed phenomena at two levels of abstraction, namely, token classification and sequence generation. We propose a new loss function, the Anti-Focal loss, to better adapt model training to the structural dependencies of conditional text generation by incorporating the inductive biases of beam search in the training process. We show the efficacy of the proposed technique on a number of Machine Translation (MT) datasets, demonstrating that it leads to significant gains over cross-entropy across different language pairs, especially on the generation of low-frequency words. We have released the code to reproduce our results.

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

↑