// Stage 3 · Deep Learning
CNNs, RNNs and the Birth of Attention
Convolutional networks, LSTMs, Seq2Seq, word vectors and Bahdanau attention.
about 10 hours7 algorithms5 paperslesson text in progress
01Goals
- Understand weight sharing and receptive fields in convolutions
- See how LSTM gates ease vanishing gradients
- Understand why attention removes the Seq2Seq bottleneck
Do these first: Training Deep Nets
02Algorithms to master
Each card has the original paper, prerequisites and resources.
03Must-read papers
- Gradient-based learning applied to document recognition ↗1998 ✓ verified in Essentials
- Long Short-Term Memory ↗1997 ✓ verified in Essentials
- Sequence to Sequence Learning with Neural Networks ↗2014 ✓ verified in Essentials
- Neural Machine Translation by Jointly Learning to Align and Translate ↗2014 ✓ verified in Essentials
- Efficient Estimation of Word Representations in Vector Space ↗2013 ✓ verified in Essentials
04Courses & videos
- cs231n.github.io ↗CoursesEN
- colah:Understanding LSTM Networks ↗ExplainersEN
- Jay Alammar:Visualizing Seq2seq Models with Attention ↗ExplainersEN
- web.stanford.edu ↗CoursesEN
05Hands-on: project, code & exercises
Free, official or author-published pages. Most run in the browser or on a free Colab GPU.
PROJECT
Do sentiment classification of film reviews with a CNN and an LSTM, then visualise where each model looks with Grad-CAM or attention weights.
- 1Georgia Tech:CNN Explainer ↗Interactive
Inspect convolution, ReLU and pooling outputs layer by layer interactively.
- 2karpathy/makemore ↗Reference code
Generate names with a character model, swapping in MLP, RNN and GRU.
- 3
06Self-test
Answer in your head, then open to check.
Why do convolution layers have fewer parameters than dense layers?
The same kernel is shared across all positions.
What is the Seq2Seq information bottleneck?
The whole sentence is squeezed into one fixed-length vector.
What property do Word2Vec vectors have?
Words with similar meaning get similar vectors, and analogies work as vector arithmetic.
On these routes: Algorithm Researchers