Reverse Differentiation via Predictive Coding
Tommaso Salvatori, Yuhang Song, Zhenghua Xu, Thomas Lukasiewicz, Rafal Bogacz
Abstract
Deep learning has redefined AI thanks to the rise of artificial neural networks, which are inspired by neuronal networks in the brain. Through the years, these interactions between AI and neuroscience have brought immense benefits to both fields, allowing neural networks to be used in a plethora of applications. Neural networks use an efficient implementation of reverse differentiation, called backpropagation (BP). This algorithm, however, is often criticized for its biological implausibility (e.g., lack of local update rules for the parameters). Therefore, biologically plausible learning methods that rely on predictive coding (PC), a framework for describing information processing in the brain, are increasingly studied. Recent works prove that these methods can approximate BP up to a certain margin on multilayer perceptrons (MLPs), and asymptotically on any other complex model, and that zerodivergence inference learning (Z-IL), a variant of PC, is able to exactly implement BP on MLPs. However, the recent literature shows also that there is no biologically plausible method yet that can exactly replicate the weight update of BP on complex models. To fill this gap, in this paper, we generalize (PC and) Z-IL by directly defining it on computational graphs, and show that it can perform exact reverse differentiation. What results is the first PC (and so biologically plausible) algorithm that is equivalent to BP in the way of updating parameters on any neural network, providing a bridge between the interdisciplinary research of neuroscience and deep learning. Furthermore, the above results in particular also immediately provide a novel local and parallel implementation of BP.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- A Stable, Fast, and Fully Automatic Learning Algorithm for Predictive Coding Networks cites Learning on Arbitrary Graph Topologies via Predictive Coding
- A Stable, Fast, and Fully Automatic Learning Algorithm for Predictive Coding Networks cites A Theoretical Framework for Inference and Learning in Predictive Coding Networks
- A Stable, Fast, and Fully Automatic Learning Algorithm for Predictive Coding Networks cites Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding Networks
- Learning on Arbitrary Graph Topologies via Predictive Coding cites Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding Networks
- Predictive Coding beyond Gaussian Distributions cites Learning on Arbitrary Graph Topologies via Predictive Coding
- Predictive Coding beyond Gaussian Distributions cites Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding Networks
- A Theoretical Framework for Inference and Learning in Predictive Coding Networks cites Learning on Arbitrary Graph Topologies via Predictive Coding
- A Theoretical Framework for Inference and Learning in Predictive Coding Networks cites Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding Networks
Cited by top-tier papers8
- Learning on Arbitrary Graph Topologies via Predictive CodingTommaso Salvatori, Luca Pinchetti, Beren Millidge, Yuhang Song et al.NeurIPS 2022 · 56 citations
- Convolutional Channel-Wise Competitive Learning for the Forward-Forward AlgorithmAndreas Papachristodoulou, Christos Kyrkou, Stelios Timotheou, Theocharis TheocharidesAAAI 2024 · 27 citations
- A Stable, Fast, and Fully Automatic Learning Algorithm for Predictive Coding NetworksTommaso Salvatori, Yuhang Song, Yordan Yordanov, Beren Millidge et al.ICLR 2024 · 22 citations
- Predictive Coding beyond Gaussian DistributionsLuca Pinchetti, Tommaso Salvatori, Yordan Yordanov, Beren Millidge et al.NeurIPS 2022 · 22 citations
- A Theoretical Framework for Inference and Learning in Predictive Coding NetworksBeren Millidge, Yuhang Song, Tommaso Salvatori, Thomas Lukasiewicz et al.ICLR 2023 · 8 citations
Builds on1
Related papers
- Understanding and Improving Optimization in Predictive Coding NetworksNicholas Alonso, Jeffrey L. Krichmar, Emre NeftciAAAI 2024 · 12 citations
- A Theoretical Framework for Inference LearningNick Alonso, Beren Millidge, Jeffrey L. Krichmar, Emre O. NeftciNeurIPS 2022 · 24 citations
- On the Infinite Width and Depth Limits of Predictive Coding NetworksFrancesco Innocenti, El Mehdi Achour, Rafal BogaczICML 2026
- ePC: Fast and Deep Predictive Coding in Digital SimulationCédric Goemaere, Gaspard Oliviers, Rafal Bogacz, Thomas DemeesterICML 2026 · 3 citations
- Bidirectional Predictive CodingGaspard Oliviers, Mufeng Tang, Rafal BogaczICLR 2026 · 7 citations
