Feedforward networks struggled to retain context across a sentence, while RNNs processed words one at a time and could lose learning signals over long sequences. In the 1990s, Sepp Hochreiter and Jürgen Schmidhuber proposed LSTMs, whose gates control what information to keep, update, or forget. GPU acceleration and larger datasets made LSTMs practical for NLP in the early 2010s.
Transformers Explained: The Discovery That Changed AI Forever
An unnamed presenter at Y Combinator explains how LSTMs and attention-based sequence models led to the Transformer architecture.
Early sequence-to-sequence translation models compressed an input sentence into one fixed-size vector, which made long or complex sentences difficult to represent. In 2014, Bahdanau, Cho, and Bengio showed how a decoder could attend to an encoder’s hidden states and learn alignments between input and output words. Neural translation then competed with leading statistical systems, and Google Translate adopted a neural sequence-to-sequence architecture around this period.
Attention improved alignment, but RNNs still processed tokens sequentially, limiting parallel computation and slowing training as sequences grew. In 2017, Google researchers introduced the Transformer, which uses self-attention to update separate token embeddings and process a sequence in parallel. The presenter says it was faster than RNNs and more accurate on machine translation benchmarks.
Researchers explored encoder-only models such as BERT and decoder-only autoregressive models such as OpenAI’s GPT series. GPT models trained on larger datasets became the basis for today’s large language models, including those used in ChatGPT and Claude. Earlier NLP models were generally tailored to individual tasks, before large-scale autoregressive training made models more general-purpose.
Takeaways
- When a model compresses a long input into one summary vector, check whether keeping access to intermediate representations could help.
- Attention can learn which parts of an input matter for each output step, as demonstrated in neural translation.
- Parallel computation can remove a major training bottleneck when sequence models grow.
- Architecture advances often build on earlier ideas that become practical as hardware, optimization, and datasets improve.
Mentioned in this talk
Search inside this talk
What was claimed 12
- builtcreator / maker of the GPT model family
“efforts to use only the decoder for autoregressive modeling gave rise to OpenAI's GPT series”
YouTube Verified2 sources· Talk, Web· archived
- featureLSTMs: Uses gates to learn what information to keep, update, or forget
“introducing gates, which could learn what information to keep, update, or forget”
YouTube Unverified1 source· Talk
- featuresequence-to-sequence models with attention: Lets the decoder attend to encoder hidden states to align input and output parts
“let the decoder look back ... at the encoder's hidden states”
YouTube Unverified1 source· Talk
- uses
“Google Translate adopted a neural seq2seq architecture around this time”
YouTube Unverified1 source· Talk
- featureTransformer++: Uses self-attention to update token representations
“updated them through self-attention”
YouTube Unverified1 source· Talk
- featureTransformer++: Processes an entire sequence in parallel
“Transformers could process an entire sequence in parallel”
YouTube Unverified1 source· Talk
- feature
Attention Is All You Need: Proposed the Transformer architecture
“published a paper called “Attention Is All You Need,” which proposed ... the Transformer”
YouTube Unverified1 source· Talk
- built
Google built Transformer++“a team of researchers at Google published a paper ... which proposed ... the Transformer”
YouTube Unverified1 source· Talk















