A mechanism that lets a model weigh how much each part of the input should influence each output, learned rather than fixed.
A network that processes sequences one element at a time, carrying a hidden state forward — the standard approach before transformers.
Also known as: RNN
An RNN reads a sequence step by step, maintaining a hidden state that carries information forward. That makes it a natural fit for text and time series, and it was the dominant sequence architecture for years.
Two problems ended that. Gradients vanish or explode over long sequences, so plain RNNs struggle to connect distant events — LSTMs and GRUs were built to mitigate this. And the sequential dependency makes training fundamentally unparallelisable, which is what the transformer removed.
A mechanism that lets a model weigh how much each part of the input should influence each output, learned rather than fixed.
The neural network architecture behind almost all modern language models, built around attention instead of recurrence.
The algorithm that works out how much each weight in a network contributed to the error, by applying the chain rule backwards through the layers.
The optimisation method that trains most models: repeatedly step every parameter a little way downhill on the error surface.
Definitions are reviewed by our editorial team. Spotted a problem? Tell us.