Papers / Text
Attention for translation (2014)
Neural Machine Translation by Jointly Learning to Align and Translate
The paper that introduced attention, letting a translator look back at the source sentence as it writes.
Why it matters
Attention was proposed as a fix for long sentences in translation, and it became the central idea of modern deep learning. The learned weights also gave readable word alignments, one of the first windows into what a neural network was doing. Three years later the Transformer kept the attention and dropped the recurrent network.
- Year
- 2014
- Authors
- Dzmitry Bahdanau, Kyunghyun Cho, Yoshua Bengio
- Venue
- ICLR 2015
- Data
- WMT14 English–German
The idea
Encoder–decoder translators squeezed the whole source sentence into one fixed vector. Here the decoder computes, for every word it outputs, a weighted average over all encoder states, with weights learned from the data, so it can focus on the source words that matter right now.
The result
On WMT'14 English–French, quality no longer dropped on long sentences, and on sentences without unknown words it matched the phrase-based system Moses.
The data
Builds on
- Seq2seq (2014): One network reads a sentence, another writes its translation, with no hand-built rules in between.
Led to
- Transformer (2017): A translation model built only from attention, and the architecture behind every large language model since.
