Detailed Derivation of The Backpropagation Algorithm
Not on the map. Why?
Abstract (arXiv)
Backpropagation is the standard method for computing the gradients that train neural networks, but it is usually presented in a compact vector form that skips the intermediate steps. This tutorial derives backpropagation step by step for a fully connected feedforward network with sigmoid activations and a squared-error loss. Using a running example with three layers, we first differentiate the error with respect to a single weight by following its path through the network with the chain rule. We then show how summing over all paths leads to the error terms δ and to the four general backpropagation equations in matrix form. Every term is annotated with its dimensions, so each equation can be checked for consistency. The derivation is then extended to m training examples, where the weight gradients become a single matrix product and the bias term corresponds to broadcasting. It is also extended to mini-batch gradient descent, including why the gradient of a mini-batch estimates the full gradient. Batch and mini-batch training are both given as algorithms. Finally, each equation is linked to the corresponding line of a NumPy implementation trained on the AHDBase dataset of handwritten Arabic digits, and the complete code is included.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 11 of its 29 references that are in the map. Submitted 1 Nov 2026.
Builds on
11 of 29 references.
References · 11
- 2019nuScenes: A multimodal dataset for autonomous drivingcited by 4,693
- 2022K-Radar: 4D Radar Object Detection for Autonomous Driving in Various Weather Conditionscited by 121
- 2020RADIATE: A Radar Dataset for Automotive Perception in Bad Weathercited by 107
- 2020Lidar for Autonomous Driving: The principles, challenges, and trends for automotive lidar and perception systemscited by 105
- 2020CARRADA Dataset: Camera and Automotive Radar with Range-Angle-Doppler Annotationscited by 64
- 2021RadarScenes: A Real-World Radar Point Cloud Data Set for Automotive Applicationscited by 64
- 2021RADDet: Range-Azimuth-Doppler based Radar Object Detection for Dynamic Road Userscited by 56
- 2023SMURF: Spatial Multi-Representation Fusion for 3D Object Detection with 4D Imaging Radarcited by 52
- 2021Intelligent Transportation Systems Using External Infrastructure: A Literature Surveycited by 18
- 2024A Deep Automotive Radar Detector using the RaDelft Datasetcited by 17
- 2024MUFASA: Multi-View Fusion and Adaptation Network with Spatial Awareness for Radar Object Detectioncited by 15
Built on by
Not cited yet.