RNNs & LSTMs
Backpropagation Through Time (BPTT), vanishing gradients, forget gates, and long-range sequence memory.
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.