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

基于解码历史的神经机器翻译注意力自适应控制

Decoding-History-Based Adaptive Control of Attention for Neural Machine Translation

Peking University(北京大学)

Junyang Lin, Shuming Ma, Qi Su, Xu Sun

摘要:

基于注意力的序列到序列模型在神经机器翻译(NMT)中已被证明是成功的。然而,不考虑解码历史的注意,包括解码器中的过去信息和注意力机制,往往会导致大量的重复。为了解决这个问题,我们提出了解码历史为基础的自适应注意力控制(ACA)的NMT模型。蚁群算法通过记忆向量跟踪解码历史和当前信息来学习控制注意力,从而使模型能够考虑翻译后的内容和当前信息。在汉英翻译和英越翻译上的实验表明,我们的模型显著优于强基线。分析表明,我们的模型是能够生成翻译与较少的重复和更高的准确性。代码将在https://github.com/lancopku上提供

英文摘要:

Attention-based sequence-to-sequence model has proved successful in Neural Machine Translation (NMT). However, the attention without consideration of decoding history, which includes the past information in the decoder and the attention mechanism, often causes much repetition. To address this problem, we propose the decoding-history-based Adaptive Control of Attention (ACA) for the NMT model. ACA learns to control the attention by keeping track of the decoding history and the current information with a memory vector, so that the model can take the translated contents and the current information into consideration. Experiments on Chinese-English translation and the English-Vietnamese translation have demonstrated that our model significantly outperforms the strong baselines. The analysis shows that our model is capable of generating translation with less repetition and higher accuracy. The code will be available at https://github.com/lancopku

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

↑