Bio-Inspired Artificial Neural Networks based on Predictive Coding
Davide Casnici, Charlotte Frenkel, Justin Dauwels

TL;DR
This paper introduces predictive coding as a biologically plausible alternative to backpropagation for training neural networks, emphasizing local learning rules and connections to Bayesian inference.
Contribution
It provides a comprehensive tutorial on predictive coding, detailing its mathematical formulation, derivation, and practical implementation with Python examples.
Findings
Predictive coding offers a biologically plausible learning mechanism.
Connections between predictive coding, backpropagation, and Kalman filtering are elucidated.
The tutorial includes practical Python code for implementing predictive coding.
Abstract
Backpropagation (BP) of errors is the backbone training algorithm for artificial neural networks (ANNs). It updates network weights through gradient descent to minimize a loss function representing the mismatch between predictions and desired outputs. BP uses the chain rule to propagate the loss gradient backward through the network hierarchy, allowing efficient weight updates. However, this process requires weight updates at every layer to rely on a global error signal generated at the network's output. In contrast, the Hebbian model of synaptic plasticity states that weight updates are local, depending only on the activity of pre- and post-synaptic neurons. This suggests biological brains likely do not implement BP directly. Recently, Predictive Coding (PC) has gained interest as a biologically plausible alternative that updates weights using only local information. Originating from…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNeural Networks and Applications · Advanced Memory and Neural Computing · Neural dynamics and brain function
