Backpropagation
The primary algorithm for training neural networks by efficiently computing the gradient of the loss function with respect to each weight via reverse-mode automatic differentiation.
Method
Forward pass computes activations and loss. Backward pass applies the chain rule layer by layer from output to input, accumulating gradients. Combined with an optimizer (SGD, Adam) to update weights. Modern frameworks implement it via autograd.
Applications
Training virtually all modern deep neural networks for vision, language, speech, reinforcement learning, scientific machine learning.
Advantages
Computationally efficient (same complexity order as forward pass); enables deep learning; highly optimized in hardware and software.
Limitations
Requires differentiable operations; vanishing/exploding gradients in deep or recurrent nets; local minima / saddle points; memory cost of storing activations for the backward pass.
Alternatives
Evolutionary strategies, reinforcement learning for non-differentiable systems, forward-mode AD for few parameters, synthetic gradients, equilibrium propagation.
Sources
Educational reference only, not professional advice.
All algorithms