Recurrent Networks & Sequence Models

Recurrence, backpropagation through time, and the gates that fixed its memory.

Module 03.7 · Advanced
Free

9h · 11 lessons · 0 challenges

Before this: Convolutional Networks

About this module

Sequences break the assumption every previous architecture made: that inputs are independent and the same size. Recurrence is the answer, and this module builds it, unrolls it, and differentiates through it.

Then the failure that defined a decade: gradients vanish across time steps, which is what GRU and LSTM gates exist to fix. Both are taken apart gate by gate.

After this module you can

11 lessons

Lesson 1
1Sequence data, and the notation for it
Kind
Concept
Length
40 min
Lesson 2
2The recurrent neural network model
Kind
Concept
Length
50 min
Lesson 3
3Backpropagation through time
Kind
Concept
Length
50 min
Lesson 4
4Different RNN architectures for different shapes
Kind
Concept
Length
45 min
Lesson 5
5Language modelling and sampling sequences
Kind
Concept
Length
50 min
Lesson 6
6Vanishing gradients across time steps
Kind
Concept
Length
45 min
Lesson 7
7The GRU, gate by gate
Kind
Concept
Length
45 min
Lesson 8
8The LSTM, gate by gate
Kind
Concept
Length
50 min
Lesson 9
9Bidirectional and deep recurrent networks
Kind
Concept
Length
40 min
Lesson 10
10Build a character-level language model
Kind
Lab
Length
90 min
Lesson 11
11Checkpoint: sequence architecture choices
Kind
Checkpoint
Length
25 min

The challenge: Gate Keeper

An LSTM with one gate disabled. Say which one, from the failure alone.

Worth 400 XP.

Related modules

All modules
Word Embeddings
9h · 12 lessons
Attention & the Transformer
11h · 13 lessons