Backpropagation
Backpropagation is the core algorithm for training artificial neural networks. Based on the chain rule of calculus, it propagates prediction errors from the output layer back through the network to the input layer, computing gradients of the loss with respect to each layer's parameters (weights and biases). These gradients are then used in conjunction with optimization methods such as gradient descent to update parameters, minimizing the loss function and enabling the model to learn.
Core Facts
Reverse-mode automatic differentiation in neural network training is the mathematical essence of backpropagation, because the number of parameters far exceeds the output dimensionality of the loss value.
The mathematical foundation of the backpropagation algorithm is the chain rule in calculus, which decomposes the gradient of a composite function into the product of local gradients at each layer, propagating the error signal layer by layer from the output layer to the input layer.
The backpropagation algorithm was popularized by Rumelhart, Hinton, and Williams in their 1986 paper, with the chain rule as its mathematical core.
Timeline (last 90 days)
Predictive coding (PC) trains neural networks via local energy minimization dynamics without a global error signal and is regarded as a biologically plausible alternative to backpropagation (BP).
Natural PC makes predictive coding competitive with backpropagation in sample efficiency and computational cost on reconstruction tasks for the first time.
The researchers applied forward-mode differentiation to the backpropagation circuit, adding only constant overhead relative to a forward sketch of the same Taylor degree, thereby reducing the variance of the sketch.
When implementing backpropagation from scratch, failing to zero out gradient accumulation, incorrectly computing activation function derivatives, or reversing the sign of weight updates can all cause the network to fail to learn.
The backpropagation algorithm requires every operation on the computation graph to be differentiable.
Training LLMs on mobile devices faces two major difficulties: the memory overhead of backpropagation far exceeds what the device can bear, and users typically do not provide labeled data.
When backpropagation trains a neural network, the memory overhead mainly comes from storing the activations of each layer, the gradients and the optimizer states; for an LLM with billions of parameters, this memory is typically several times the size of the model's own weights.
Using step functions or hard-threshold activation functions to simulate logic gates faces the problems of vanishing gradients or non-differentiability, making training via backpropagation difficult.
Traditional learning algorithm analysis usually assumes that accurate gradient information is available at every moment and at every synapse.
The hidden layer error term formula is δ_hidden = (W_out^T · δ_out) * σ'(z_hidden).
40 more timeline events
All Facts (20)
Reverse-mode automatic differentiation in neural network training is the mathematical essence of backpropagation, because the number of parameters far exceeds the output dimensionality of the loss value.
90%VerifiedThe mathematical foundation of the backpropagation algorithm is the chain rule in calculus, which decomposes the gradient of a composite function into the product of local gradients at each layer, propagating the error signal layer by layer from the output layer to the input layer.
80%VerifiedThe backpropagation algorithm was popularized by Rumelhart, Hinton, and Williams in their 1986 paper, with the chain rule as its mathematical core.
80%VerifiedBackpropagation is the mathematical application of the chain rule.
80%VerifiedThe essence of the backpropagation algorithm is to efficiently compute the partial derivative of the scalar loss with respect to each parameter on the computational graph via the chain rule.
80%VerifiedThe essence of backpropagation is chain-rule differentiation, where the gradient of the loss function with respect to the parameters of each layer is propagated layer by layer from the output layer to the input layer, on the premise that the loss function must exist and be differentiable.
80%VerifiedDeep neural networks contain billions or even trillions of parameters, and their black-box nature makes it difficult even for developers to accurately predict model behavior for specific inputs.
75%VerifiedThe core idea of backpropagation is to use the chain rule to decompose output error layer by layer, allowing the error signal to flow backward from the output layer to every weight parameter.
75%VerifiedBackpropagation is essentially a dynamic programming algorithm for efficiently computing gradients, which reduces the computational complexity of gradient calculation by propagating error signals layer by layer from the output layer to the input layer and reusing intermediate computation results.
75%VerifiedReinforcement learning requires massive numbers of interaction samples, so environment running speed and parallelization capability are critical for shortening training cycles
65%VerifiedBackpropagation is the core algorithm for deep learning training; it uses the chain rule to propagate the error from the output layer back through the network layer by layer, computing the gradient of each parameter with respect to the loss function.
65%UnverifiedFor models with tens of billions of parameters, the memory footprint of intermediate activations is often comparable to or even greater than that of the model weights themselves
60%UnverifiedBackpropagation requires caching intermediate activation values from the forward pass to compute gradients, which places a heavy memory burden on very large models.
60%UnverifiedBackpropagation is nearly impossible in biological brains because it requires the use of symmetric weights in the forward and backward paths (the weight transport problem), and no known mechanism in real brains supports this.
60%UnverifiedBackpropagation is essentially a systematic application of the chain rule, which efficiently computes the partial derivative of each parameter with respect to the loss function by propagating error signals layer by layer from the output layer to the input layer.
60%UnverifiedPredictive coding (PC) trains neural networks via local energy minimization dynamics without a global error signal and is regarded as a biologically plausible alternative to backpropagation (BP).
50%UnverifiedNatural PC makes predictive coding competitive with backpropagation in sample efficiency and computational cost on reconstruction tasks for the first time.
50%UnverifiedThe researchers applied forward-mode differentiation to the backpropagation circuit, adding only constant overhead relative to a forward sketch of the same Taylor degree, thereby reducing the variance of the sketch.
50%UnverifiedWhen implementing backpropagation from scratch, failing to zero out gradient accumulation, incorrectly computing activation function derivatives, or reversing the sign of weight updates can all cause the network to fail to learn.
50%UnverifiedThe backpropagation algorithm requires every operation on the computation graph to be differentiable.
50%