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

利用神经机器翻译进行单词对齐

Leveraging Neural Machine Translation for Word Alignment

Charles University(查理大学)

Vilém Zouhar, Daria Pylypenko

摘要:

最常见的单词对齐工具依赖于大量的平行句子,然后通常根据IBM模型算法之一进行处理。然而,训练数据与机器翻译(MT)系统相同,特别是对于神经MT(NMT),其本身能够使用训练的注意力头部产生单词对齐。这很方便,因为词对齐理论上是任何基于注意力的NMT的可行副产品,它也能够为翻译的句子对提供解码器评分。我们总结了如何从对齐分数中提取单词对齐的不同方法,然后探索了从NMT中提取分数的方法,重点是基于输出句子和令牌概率推断单词对齐分数。我们将此与从注意力中提取对齐分数进行比较。最后,我们将所有对齐分数的来源聚合到一个简单的前馈网络中,当使用组合对齐提取器时,该网络可以获得最佳结果。

英文摘要:

The most common tools for word-alignment rely on a large amount of parallel sentences, which are then usually processed according to one of the IBM model algorithms. The training data is, however, the same as for machine translation (MT) systems, especially for neural MT (NMT), which itself is able to produce word-alignments using the trained attention heads. This is convenient because word-alignment is theoretically a viable byproduct of any attention-based NMT, which is also able to provide decoder scores for a translated sentence pair. We summarize different approaches on how word-alignment can be extracted from alignment scores and then explore ways in which scores can be extracted from NMT, focusing on inferring the word-alignment scores based on output sentence and token probabilities. We compare this to the extraction of alignment scores from attention. We conclude with aggregating all of the sources of alignment scores into a simple feed-forward network which achieves the best results when combined alignment extractors are used.

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

↑