AI GLOSSARY

RNNs, LSTMs, and GRUs

Modern transformers make more sense when you understand the sequence models they replaced.

Simple explanation

Simple recurrent networks struggle with long-range credit assignment. LSTM and GRU gates help preserve and update information across more steps, although transformers now dominate many language tasks.

Technical explanation

Simple recurrent networks struggle with long-range credit assignment. LSTM and GRU gates help preserve and update information across more steps, although transformers now dominate many language tasks.

Example

Trace how Sequence becomes Next representation through recurrent state.

Related lesson

RNNs, LSTMs, and GRUs: visual lesson →

Browse all glossary terms →