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.
Also known as: Backprop
Backpropagation computes the gradient of the loss with respect to every weight in a network. It works backwards from the output: given how wrong the final answer was, the chain rule gives how wrong each preceding layer's contribution was, all the way to the input.
Its importance is one of efficiency. A naive approach would perturb each weight separately and re-run the network — hopeless for millions of parameters. Backpropagation gets all the gradients in roughly the cost of one extra forward pass.
The neural network architecture behind almost all modern language models, built around attention instead of recurrence.
A mechanism that lets a model weigh how much each part of the input should influence each output, learned rather than fixed.
The optimisation method that trains most models: repeatedly step every parameter a little way downhill on the error surface.
A network that processes sequences one element at a time, carrying a hidden state forward — the standard approach before transformers.
Definitions are reviewed by our editorial team. Spotted a problem? Tell us.