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

12/19/2016
by   Raphael Shu, et al.
0

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 English-Japanese and German-English translation tasks. that the conventional attention mechanism performs a significant amount of redundant computation.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset