Neural Machine Translation by Jointly Learning to Align and Translate
Introduced attention: instead of squeezing a sentence into one vector, the model learns where to look in the source for each word it writes.
Keep one vector per source word, and for every output word compute a weighted mix of them, with the weights learned by a small alignment network. Long sentences stopped falling apart, and the learned alignments made sense to humans.
Encoder-decoder models compressed the whole source sentence into one fixed-length vector, a bottleneck that made quality drop fast on long sentences.
A bidirectional RNN encoder gives one annotation per source word. For each target word, an alignment model scores every annotation, and a softmax turns the scores into attention weights.
On WMT 2014 English to French, BLEU rose from 17.8 to 26.8 against a same-size encoder-decoder, and 28.5 with longer training, with no clear drop on sentences of 50+ words.
Why it matters
This is where attention comes from. Three years later the Transformer kept the attention and dropped the recurrent network around it.
This is a lite card. The full version adds the core idea in technical detail, limitations and open questions, what it builds on and led to, and key terms.
