Overview
A recurrent neural network updates a hidden state as it reads each item, letting earlier context influence later predictions.
Processes sequences by carrying hidden state from one step to the next.
Compact metadata for implementation and discovery.
A recurrent neural network updates a hidden state as it reads each item, letting earlier context influence later predictions.
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)
h_t = f(W_x x_t + W_h h_{t-1} + b)Updates hidden state from the current input and previous state.
Show data, model state, and the training signal that drives updates.
Recurrent Neural Network should be used with the assumptions and tradeoffs of neural Network in mind.
What each reference supports for this entry.
Deep learning reference covering Recurrent Neural Network model architecture, objective, gradient flow, or training behavior.
Open sourceReference for recurrent neural networks, sequence learning, and the long-term dependency problem.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Machine Learning · Specialized
Transformer attention models sequence dependencies without recurrent state updates.
Compare with thisMachine Learning · Foundation
RNNs are commonly trained with backpropagation through time.
Compare with thisOptimization · Core
Recurrent networks often use clipping to control exploding gradients.
Compare with thisRNNs are commonly trained with backpropagation through time.
GRU is a gated recurrent architecture that specializes RNNs.
LSTM is a gated recurrent architecture that specializes RNNs.