RNN
Also known as: Recurrent Neural Network
A recurrent neural network (RNN) is the classic sequence model: it processes tokens step-by-step and passes a hidden state through time. Vanilla RNNs struggle with long dependencies and are hard to parallelize across the sequence length.
Lineage
LSTMs/GRUs improved gating and gradient flow. Early neural MT paired an RNN encoder with an RNN decoder, later adding attention. Transformers largely replaced RNNs for large-scale NLP by computing dependencies in parallel via self-attention.
Today
Recurrence still appears in some efficient or streaming architectures, but production LLMs are overwhelmingly transformer-based. Know RNNs for history and for problems where strict left-to-right state is natural.