You May Not Need Attention
Official code: ofirpress/YouMayNotNeedAttention (294 stars, Python, last commit 2018-12-17).
Abstract
In NMT, how far can we get without attention and without separate encoding and decoding? To answer that question, we introduce a recurrent neural translation model that does not use attention and does not have a separate encoder and decoder.
Show full abstractHide
Our eager translation model is low-latency, writing target tokens as soon as it reads the first source token, and uses constant memory during decoding. It performs on par with the standard attention-based model of Bahdanau et al. (2014), and better on long sentences.