LandmarkNeurIPS 2014Peer reviewedIntermediate

Sequence to Sequence Learning with Neural Networks

Showed that two LSTMs, one reading a sentence and one writing its translation, could translate end to end with no hand-built language rules.

Ilya Sutskever, Oriol Vinyals, Quoc V. Le · Google

TL;DR

Encode the whole input sentence into a fixed-size vector with one deep LSTM, then decode the output sentence from it with another. A small trick, feeding the source sentence in reverse, made the model much easier to train.

01 · Problem

Standard deep networks need inputs and outputs of a fixed size, so they could not map a sentence of one length to a sentence of another.

02 · Method

Two 4-layer LSTMs with 1,000 cells per layer, one encoder and one decoder. Reversing the source sentences raised BLEU from 25.9 to 30.6.

03 · Key result

An ensemble scored 34.8 BLEU on WMT 2014 English to French, beating a phrase-based system’s 33.3. Rescoring that system’s output reached 36.5.

Why it matters

This is the encoder-decoder pattern that machine translation, summarisation and early chatbots were built on. Its weak spot, squeezing a whole sentence into one vector, is exactly what attention was invented to fix in the next paper on this path.

Deep dive coming

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.