Overview
Long Short-Term Memory networks add input, forget, and output gates that control how information enters, remains in, and leaves the cell state.
Uses gates and a memory cell to model longer sequence dependencies.
Compact metadata for implementation and discovery.
Long Short-Term Memory networks add input, forget, and output gates that control how information enters, remains in, and leaves the cell state.
Quick facts
Runtime and memory behavior at a glance.
Best
O(T h^2)
Average
O(T h^2)
Worst
O(T h^2)
Space
O(T h)
c_t = f_t * c_{t-1} + i_t * g_tCombines retained memory and candidate memory in an LSTM cell.
Show data, model state, and the training signal that drives updates.
Long Short-Term Memory should be used with the assumptions and tradeoffs of neural Network in mind.
What each reference supports for this entry.
Original LSTM paper supporting gated memory cells for recurrent neural networks.
Open sourceDeep learning reference covering Long Short-Term Memory model architecture, objective, gradient flow, or training behavior.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
LSTM and GRU are both gated alternatives for sequence modeling.
LSTM is a gated recurrent neural network variant.