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

基于注意力的神经机器翻译中视觉广度的实证研究

An Empirical Study of Adequate Vision Span for Attention-Based Neural Machine Translation

The University of Tokyo(东京大学)

Raphael Shu, Hideki Nakayama

摘要:

近年来,注意力机制在神经机器翻译模型中扮演着重要的角色。然而,由于注意力模型在每个解码步骤计算所有位置的编码器状态的得分函数,因此注意力模型大大增加了计算复杂性。在本文中,我们调查的背景下,机器翻译的足够的视觉跨度的注意力模型,提出了一种新的注意力框架,能够减少冗余的分数计算动态。术语“视觉跨度”是指在一个步骤中由注意力模型考虑的编码器状态的窗口。在我们的实验中,我们发现,在英日和德英翻译任务中,视觉广度的平均窗口大小可以减少50%以上,而准确性略有下降。该结果表明,传统的注意力机制执行大量的冗余计算。

英文摘要:

Recently, the attention mechanism plays a key role to achieve high performance for Neural Machine Translation models. However, as it computes a score function for the encoder states in all positions at each decoding step, the attention model greatly increases the computational complexity. In this paper, we investigate the adequate vision span of attention models in the context of machine translation, by proposing a novel attention framework that is capable of reducing redundant score computation dynamically. The term "vision span" means a window of the encoder states considered by the attention model in one step. In our experiments, we found that the average window size of vision span can be reduced by over 50% with modest loss in accuracy on English-Japanese and German-English translation tasks.% This results indicate that the conventional attention mechanism performs a significant amount of redundant computation.

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

↑