3 ms·
Actually, backpropagation is more of a fancy word for the chain rule.
by aaaaaaaaaaab 4y ago
Actually, backpropagation is more of a fancy word for the chain rule.
- punnerud 4y agoALMOST like using the chain rule Backpropagation ≠ Chain Rule: https://theorydish.blog/2021/12/16/backpropagation-≠-chain-rule/comment-page-1/ https://theorydish.blog/2021/12/16/backpropagation-≠-chain-r...
- aaaaaaaaaaab 4y agoThat's just nitpicking, but ok: backpropagation is the application of the chain rule for total derivatives. Look into forward- vs reverse-mode automatic differentiation, and you'll understand what I'm referring to.
- cyber_kinetist 4y agoYes, backpropagation isn't the chain rule itself, but just an efficient way to calculate the chain rule. (In this respect there are some connections to dynamic programming, where you find the most efficient order of recursive computations to arrive at the solution).
- blt 4y agoI think of it as: computing the chain rule in the order such that we never need to compute Jacobians explicitly; only Jacobian-vector products. I also didn't totally grasp its significance until implementing neural networks from matrix/array operations in NumPy. I hope all deep learning courses include this exercise.
- deleted 4y ago[deleted]
- marcosdumay 4y agoYes, they are not the same. The chain rule is what solves the one non-trivial problem with backpropagation. Besides that, it's just the quite obvious idea of changing the weights in proportion to how impactful they are on the error.