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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 89412457-4d07-401d-8363-827249ecba08Cited 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
