Before the Transformer there was the RNN bottleneck. This episode explains why attention had to be invented: slow sequential math, fading gradients, and the single vector that every translation had to squeeze through.
Key takeaways:
Chapters:
00:00 Why start before the Transformer
04:22 How RNNs read a sequence
07:12 Why sequential math wastes GPUs
09:39 Backpropagation through time
11:54 Vanishing and exploding gradients
13:09 LSTMs and gating
17:33 Machine translation and seq2seq
20:06 The fixed-size bottleneck
22:06 Bahdanau attention
25:26 Softmax alignment weights
30:32 Word embeddings and Word2Vec
37:35 Recap
40:12 Closing thought
Sources:
Related episode: S1E2: The Transformer Engine Behind Modern AI
Enjoyed it? Follow The GenAI Evolution Atlas (weekly generative AI deep dives and news roundups, hosted by Peter Liu) and rate it on Apple Podcasts or Spotify.
Also from Peter: Data Science in the Wild, how real companies ship ML and AI in production, one system per episode.
Made with AI-generated voices; curated by Peter Liu from the sources above.