Tech Tree of the Web

The history of web technology, 1945 to now: 112 ideas and the lines between them. Drag, scroll or press ← → to travel. Open any one for its story.

No. 098 / 112Seen 0 / 112Colophon

The Platform

Neural attention, 2014. Era V, The Platform.

Era V · 2008–2016

← drag · scroll · arrow keys →

2014αe[i][j] = a(s[i-1], h[j])w[i][j] = softmax(e[i])[j]c[i] = sum(w[i][j] * h[j])

Bahdanau attention: each output word gets its own weighted mix (w) of every input word (h). Typeset for this timeline: no licence-clean photograph of the thing itself was found.

Key details

When
2014 (arXiv, 1 September)
Who
Dzmitry Bahdanau, Kyunghyun Cho, Yoshua Bengio
Where
Jacobs University Bremen, Germany, and Université de Montréal
Answered
It removed the bottleneck of squeezing a whole source sentence into one fixed-length vector in encoder-decoder translation.
Led to
It led to dot-product attention and the 2017 Transformer of "Attention Is All You Need".

No. 098 · 2014 · Machine learning · Era V, The Platform

Neural attention

Let a translation model look back at the most relevant input words for each word it writes.

Facts

  1. The paper was first posted to arXiv on September 1, 2014, and was accepted at ICLR 2015 as an oral presentation. 1
  2. Bahdanau was at Jacobs University Bremen; Cho and Bengio were at Université de Montréal. 2
  3. On English-to-French translation, the model matched the existing state-of-the-art phrase-based system. 1
  4. Luong and colleagues improved on it in 2015, testing forms including the modern dot-product attention. 3
  5. These lines of work came together in the 2017 Transformer, published as "Attention Is All You Need". 3

Quirks

  • The paper's title speaks of learning to "align"; it names its model RNNsearch and mentions an attention mechanism only in passing. 2

Sources

  1. Bahdanau, Cho and Bengio, arXiv:1409.0473 (abstract page)
  2. Bahdanau, Cho and Bengio, paper PDF
  3. Attention (machine learning) - Wikipedia
Came from
The start of its line
Led to