Deep Generative Models
2025
NYCU
Tzer-jen Wei
Understanding LSTM
Recurrent Neural Networks have loops.
An unrolled recurrent neural network.
“LSTMs,” a very special kind of recurrent neural network.
Training an RNN
The Problem of Long-Term Dependencies
Sadly, in practice, RNNs don’t seem to be able to learn them. The problem was explored in depth by Hochreiter (1991) [German] and Bengio, et al. (1994),
The repeating module in a standard RNN contains a single layer.
The repeating module in an LSTM contains four interacting layers.
The Core Idea Behind LSTMs
Cell states
Gate
Step-by-Step LSTM Walk Through
Variants on Long Short Term Memory
Peephole Gers & Schmidhuber (2000),
Coupled forget and input gates.
Gated Recurrent Unit, or GRU