Jargonautica
Other Kinds of Neural Network

Recurrent Neural Network

Also called: RNN

The older approach to handling sequences such as sentences or time series. It reads one item at a time, carrying forward a running summary of everything it has seen. It works, but it struggles to hold on to information from far back, in much the same way you lose the thread of a very long spoken sentence.

Technical view

RNNs maintain a hidden state updated at each step. Long short-term memory (‘LSTM’) and gated recurrent unit (‘GRU’) variants added gating mechanisms to mitigate vanishing gradients over long sequences. The fundamental limitation was that computation is inherently sequential, preventing efficient parallel training. This is precisely what transformers removed, and why they displaced RNNs almost entirely for language work.


Part of AI Terminology Index, section: Other Kinds of Neural Network.

How it connects

Recurrent Neural Network links to 9 other terms. The faint lines are links between those terms. See it in the full graph.

TransformerTransformerState Space ModelState Space ModelContext WindowContext WindowAttentionAttentionLong Short-Term MemoryLong Short-Term Mem…Natural Language ProcessingNatural Language Pr…Vanishing and Exploding GradientsVanishing and Explo…Hidden Markov ModelHidden Markov ModelNeural NetworkNeural NetworkRecurrent Neural Network