CS PAPERS DEEP-READ · PAPER 8
Sutskever, Vinyals & Le · Google · NIPS 2014
In 2014, three researchers at Google — one of them Ilya Sutskever, later OpenAI's chief scientist — proposed Seq2Seq (sequence to sequence): two neural networks working as a relay team, one that "reads" and one that "speaks." For the first time, machine translation of a whole sentence was done end to end by neural networks alone — and it beat translation systems that had been polished for years. The "you say something, it says something back" shape of ChatGPT today traces straight back to this design.
Think of how a simultaneous interpreter works: listen to the whole sentence, form a "meaning" in your head, then say that meaning out loud in the other language — never word-by-word substitution. Machine translation before Seq2Seq was much more like the latter: chop the sentence into pieces, look each piece up in a phrase table, then try to glue the fragments into something fluent. Seq2Seq taught the machine the interpreter's way: first understand, then re-say.
The old world's translation systems were assembly lines: one component chopped phrases, one looked up tables, one reordered words, one scored fluency… dozens of parts, each hand-designed and tuned by experts, and when something went wrong it was hard to trace. Seq2Seq replaced all of it with one whole: feed it a huge pile of "source sentence – translation" pairs and it learns the entire translation process by itself, no hand-written rules anywhere in the middle.
The "reading" network takes in the source sentence one word at a time, updating its "mental state" as it goes; when the last word is read, that state is the whole sentence condensed into a single "thought." The "speaking" network takes over from that thought and says the translation one word at a time: for each new word it looks at the thought plus what it has already said, and it keeps going until it emits a special "full stop" marker — so the output can be as long or short as it needs to be, nothing fixed in advance.
The paper also had a famously clever trick: feed the source sentence in backwards. That way the beginning of the source ends up right next to the beginning of the translation, so the model first learns the easy "match the openings" step and then untangles the rest from there — like moving two relay runners closer together for a smoother handoff. Scores jumped noticeably.
It proved for the first time that pure neural networks — no linguistic rules, no hand-built components — could beat traditional translation systems on official benchmark data. Two years later, Google Translate replaced its decade-old system with a descendant of this architecture; and "first understand, then generate" spread from translation to summarization, dialogue, speech, and image captioning, becoming AI's general recipe. One honest caveat: squeezing a whole sentence into one fixed-size "thought" means the longer the sentence, the more gets forgotten — the "attention" mechanism invented the very next year to fix this eventually grew into the Transformer.
Two networks in relay: one reads the whole sentence into a single "thought," the other re-says it word by word from that thought — translation went from "assembly-line kit-bashing" to "first understand, then re-say," and today's ask-and-answer large language models grew out of exactly this shape.
Want the encoder–decoder diagram, the reversal trick, and the real scores? → switch to the deep read
Seq2Seq builds an encoder–decoder out of two multi-layer LSTMs: the encoder reads an input sequence of any length into one fixed-length vector, and the decoder generates an output sequence of any length from that vector, word by word. With the reversed-input trick, it became the first end-to-end neural system to beat a strong statistical machine translation baseline on WMT'14 English–French (BLEU 34.8 vs 33.3), establishing the "everything is sequence-to-sequence" paradigm.
The authors are Ilya Sutskever, Oriol Vinyals, and Quoc V. Le at Google; the paper appeared at NIPS 2014. It builds on the LSTM (1997, Paper 7) and on earlier encoder–decoder ideas from Kalchbrenner & Blunsom (2013) and Cho et al. (2014); it feeds directly into Bahdanau attention (2014) and the Transformer (2017) — the lineage of modern large language models starts taking shape right here.
By 2014, deep networks were thriving in speech and vision, but they had a fatal constraint: inputs and outputs had to be vectors of fixed, pre-specified dimensionality. Yet many of the most valuable problems — translation, speech recognition, question answering — are "sequence in, sequence out," with both lengths unknown in advance and no obvious alignment between them.
Translation at the time was ruled by SMT: a sprawling pipeline of word alignment, phrase tables, reordering models, and language models, trained separately and glued together with hand-tuned weights. It worked, but every module needed expert care, errors compounded down the pipeline, and the training objective was fragmented. The real question: could a single neural network learn "the probability of the output sequence given the input sequence" end to end, replacing the whole pipeline with one trainable system? What was missing was a general architecture for variable-length in, variable-length out.
Seq2Seq uses two separate LSTMs. The encoder reads the source sentence word by word, updating its hidden state at each step; after the final word (marked by an end-of-sequence symbol <EOS>), that hidden state is the sentence's fixed-length vector v — informally the "thought vector," the whole sentence's meaning compressed into one vector.
The decoder is essentially a language model "set in key" by v: with v as its initial memory, it generates the translation word by word — as a formula, p(y₁…yₜ | x) = ∏ p(yₜ | v, y₁…yₜ₋₁), which in plain words says "each new word is chosen based on the thought v of the whole source, plus everything I've already said." At each step it outputs a probability distribution over the vocabulary; the chosen word becomes the next step's input, and generation stops when <EOS> is produced — the model decides its own output length, which is exactly how variable-length output is solved.
Why two networks? First, input and output are usually different languages, so each side gets its own parameters for its own job. Second, the interface is beautifully clean — the two sides exchange only the single vector v, so each side can be made deeper and wider independently. The paper uses 4-layer deep LSTMs on both sides (1000 units per layer, 1000-dimensional word embeddings, a 160k input vocabulary and an 80k output vocabulary), and the deep version clearly beats shallow ones.
The paper's most famous trick: feed the source sentence backwards (train "A B C → W X Y" as "C B A → W X Y", target untouched). Why does it help? Fed forwards, the first words of the source aren't used until the whole sentence has been read and most of the translation generated — too many steps away. Reversed, the start of the source sits right next to the start of the translation, conjuring up a batch of "short-range dependencies" out of thin air. The optimizer first learns the easy "match the openings" alignment, and once that's anchored, the long-range correspondences fall into place — even though the average distance between corresponding words hasn't changed at all.
The effect was striking: perplexity (a measure of how "uncertain" the model is about the next word — lower is better) dropped from 5.8 to 4.7, and BLEU jumped from 25.9 to 30.6. Honestly said: this is a purely empirical trick, and the authors had no complete theoretical explanation for it at the time.
The training objective is plain: maximize the probability of the correct translation on a huge set of sentence pairs (word-level cross-entropy). Decoding uses beam search: keep the B most promising partial translations at each step and extend them all. Interestingly, B=2 already gets close to the best results — the model's own probability estimates are that good. To keep gradients from occasionally blowing up during training (exploding gradients), they are rescaled whenever their overall size crosses a threshold (gradient clipping). The whole system trained for about 10 days on 8 GPUs (4 running the LSTM layers, 4 computing the vocabulary probabilities).
The benchmark is WMT'14 English→French translation, trained on a 12-million-sentence-pair subset. Representative numbers:
It established the paradigm that ruled the following decade: "everything is sequence to sequence." Translation, summarization, dialogue, speech recognition, image captioning (a CNN as the encoder, an LSTM as the decoder), code generation — all fit the same frame. In 2016 Google Translate launched GNMT (the industrial version of this architecture plus attention), replacing its decade-old SMT pipeline overnight — the first time neural networks took over the core of a major internet product wholesale. Deeper still: today's large language models — "prompt in, answer out" — are the direct descendants of this conditional word-by-word generation framework, with the encoder and decoder merged into a single Transformer. The three authors all became central figures of the wave: Sutskever later served as OpenAI's chief scientist, and Vinyals leads deep-learning research at DeepMind.
① One sentence: two deep LSTMs form an encoder–decoder that exchanges only a fixed-length vector v, learning "variable-length sequence → variable-length sequence" end to end.
② Pain point: deep networks only handled fixed-size inputs and outputs, while core problems like translation are variable-length both ways; the SMT pipeline had too many modules to optimize jointly.
③ Mechanism: the decoder is a language model "set in key" by v — p(y|x) = ∏ p(yₜ|v, y₁…yₜ₋₁) — generating word by word and stopping at <EOS>, so the model decides its own output length.
④ The big trick: feed the source reversed, turning start-of-sentence alignment into short-range dependencies; BLEU 25.9 → 30.6.
⑤ Results: BLEU 34.8 on WMT'14 English–French, beating the 33.3 SMT baseline — the first neural win; rescoring reached 36.5.
⑥ Evidence: sentence-vector visualization clusters by meaning and ignores voice — v really encodes "meaning."
⑦ Impact: established the seq2seq paradigm; spawned GNMT, attention, and the Transformer; today's LLM question-answering shape is its direct descendant.
⑧ Limits: the fixed vector loses information on long sentences (attention was born to fix it), reversal is an empirical hack, UNK vocabulary problems, and the hard-to-parallelize RNN was ultimately replaced by the Transformer.