Encoder-Decoder Framework › Historical Context and the Systems Before Seq2seq
Language AI HandbookAll chapters Encoder-Decoder Framework › Historical Context and the Systems Before Seq2seqOne section · Sections in this chapter2 / 16 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
To appreciate what the encoder-decoder framework achieved, you need to understand what came before it. For most of the 2000s and early 2010s, statistical machine translation (SMT) was the dominant paradigm. A typical SMT system was a carefully engineered pipeline consisting of three separate components: a language model that captured the fluency of the target language, a translation model that captured word-level and phrase-level correspondences between source and target, and a reordering model that handled the fact that word order changes across languages. These components were trained separately from different data sources and assembled into a decoder using log-linear models with hand-tuned weights.
The phrase-based SMT approach, as developed in systems like Moses, required enormous engineering effort. Building a high-quality system meant collecting millions of parallel sentence pairs, running word alignment algorithms like GIZA++ to establish token correspondences, extracting a phrase table, training an n-gram language model, and tuning the log-linear weights using minimum error rate training. Maintaining and extending these pipelines took teams of researchers years.
Early neural approaches tried to fit into this pipeline rather than replace it. Researchers trained neural networks to rescore n-best lists from SMT systems, or to supplement the phrase table with neural translation features. These hybrid systems showed modest improvements but required the full SMT infrastructure to remain in place.
The seq2seq papers of 2014 changed the calculus entirely. Sutskever, Vinyals, and Le showed that a single neural network, trained end-to-end, could approach the performance of carefully engineered SMT systems on the WMT English-French benchmark without any of the hand-crafted components. Cho et al. independently proposed a similar architecture and used it not to replace SMT but to enhance it by learning a continuous representation for phrases. This shows that neural encoder-decoders were a new kind of building block. Within two years, pure neural machine translation had surpassed SMT on every major benchmark, and Google replaced its production translation system in 2016 with an attention-based seq2seq model that served billions of users.
The historical leap combined a performance improvement with a conceptual change. The seq2seq framework showed that the right inductive bias for sequence-to-sequence tasks was not to hand-code alignment and reordering, but to learn a shared representation of meaning that could be decoded into any target form. This insight generalized far beyond translation, and it ultimately led to the transformer and the large language model paradigm.