利用翻译片段指导神经机器翻译
Guiding Neural Machine Translation with Retrieved Translation Pieces
摘要:
神经机器翻译(NMT)的难点之一是低频词或短语的召回和适当的翻译。在本文中,我们提出了一种简单,快速,有效的方法来回忆以前见过的翻译例子,并将它们纳入NMT解码过程。具体来说,对于一个输入句子,我们使用搜索引擎检索的句子对,其源端与输入句子相似,然后收集$n$ -gram,这都是在检索到的目标句子,并与源句子中匹配的单词对齐,我们称之为“翻译件”。我们根据输入句子和检索到的源句子之间的相似性计算每个检索到的句子的伪概率,并使用这些来加权检索到的翻译片段。最后,使用现有的NMT模型来翻译输入句子,并为包含收集的翻译片段的输出提供额外的奖励。我们表明,我们的方法将NMT翻译结果提高了6个BLEU点,在三个窄域翻译任务中,目标句子的重复性特别突出。它也几乎不会增加翻译时间,并与另一种基于检索的方法相比,在准确性,速度和实现简单性方面毫不逊色。
英文摘要:
One of the difficulties of neural machine translation (NMT) is the recall and appropriate translation of low-frequency words or phrases. In this paper, we propose a simple, fast, and effective method for recalling previously seen translation examples and incorporating them into the NMT decoding process. Specifically, for an input sentence, we use a search engine to retrieve sentence pairs whose source sides are similar with the input sentence, and then collect $n$-grams that are both in the retrieved target sentences and aligned with words that match in the source sentences, which we call "translation pieces". We compute pseudo-probabilities for each retrieved sentence based on similarities between the input sentence and the retrieved source sentences, and use these to weight the retrieved translation pieces. Finally, an existing NMT model is used to translate the input sentence, with an additional bonus given to outputs that contain the collected translation pieces. We show our method improves NMT translation results up to 6 BLEU points on three narrow domain translation tasks where repetitiveness of the target sentences is particularly salient. It also causes little increase in the translation time, and compares favorably to another alternative retrieval-based method with respect to accuracy, speed, and simplicity of implementation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。