Start here
RNNs & LSTMs, in plain language
Backpropagation Through Time (BPTT), vanishing gradients, forget gates, and long-range sequence memory. Recurrent models teach stateful sequence processing, temporal credit assignment, and the memory tradeoffs still used in streaming systems.
For a small example, a sequence 2, -1, 3 arrives one item at a time. Update a scalar hidden state after each item and compare outputs when the sequence order changes. This is the mechanism to keep in view as the lesson becomes more technical. Before moving on, identify the input, transformation, output, and one observation that would falsify your conclusion.
Key points
- Sequence inputs, hidden state, recurrence, unrolling, and teacher forcing.
- Many-to-one, many-to-many, autoregressive, and bidirectional tasks.
- Backpropagation through time and vanishing/exploding gradients.