recurrent neural network (RNN)
An recurrent neural network (RNN) is a neural-network architecture for sequential data. This network applies the same recurrent transformation at each time step and passes a hidden state forward, allowing information to persist over time.
Classical forms include vanilla RNNs and gated variants like LSTM and GRU, which overcome vanishing/exploding gradients via gating mechanisms during back-propagation through time.
Architectures may be unidirectional or bidirectional, and encoder–decoder setups (often augmented with attention) powered many sequence-to-sequence tasks such as machine translation.
While transformer models now dominate many benchmarks, RNNs continue to be useful in streaming, low-latency or resource-constrained environments.
By Leodanis Pozo Ramos • Updated Oct. 21, 2025