Overview
A Gated Recurrent Unit combines reset and update gates to control how much prior hidden state is retained at each time step.
Models sequences with gated hidden-state updates using fewer gates than LSTM.
Compact metadata for implementation and discovery.
A Gated Recurrent Unit combines reset and update gates to control how much prior hidden state is retained at each time step.
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 = (1 - z_t) * h_{t-1} + z_t * h_candidateBlends previous hidden state with the candidate hidden state.
Show data, model state, and the training signal that drives updates.
GRU should be used with the assumptions and tradeoffs of neural Network in mind.
What each reference supports for this entry.
Deep learning reference covering GRU model architecture, objective, gradient flow, or training behavior.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
GRU is a simpler gated alternative to LSTM.
GRU is a gated recurrent neural network variant.