Abstract
To efficiently learn from feedback, cortical networks need to update synaptic weights on multiple levels of cortical hierarchy. An effective and well-known algorithm for computing such changes in synaptic weights is the error back-propagation algorithm. However, in the back-propagation algorithm, the change in synaptic weights is a complex function of weights and activities of neurons not directly connected with the synapse being modified, whereas the changes in biological synapses are determined only by the activity of pre-synaptic and post-synaptic neurons. Several models have been proposed that approximate the back-propagation algorithm with local synaptic plasticity, but these models require complex external control over the network or relatively complex plasticity rules. Here we show that a network developed in the predictive coding framework can efficiently perform supervised learning fully autonomously, employing only simple local Hebbian plasticity. Furthermore, for certain parameters, the weight change in the predictive coding model converges to that of the back-propagation algorithm. This suggests that it is possible for cortical networks with simple Hebbian synaptic plasticity to implement efficient learning algorithms in which synapses in areas on multiple levels of hierarchy are modified to minimize the error on the output.
Introduction
The "gold standard" for training artificial neural networks (ANNs) is the error back-propagation (BP) algorithm. While BP is remarkably effective for deep learning, it faces significant criticism regarding its biological plausibility. In a standard BP implementation, updating a specific synaptic weight requires "global" information—specifically, the weights and activities of neurons many layers downstream. In contrast, biological synapses in the brain are believed to follow local plasticity rules, such as Hebbian learning, where changes depend strictly on the activity of the pre-synaptic and post-synaptic neurons.
Bridging this gap is a central challenge in computational neuroscience. This paper demonstrates that predictive coding (PC) networks—a biologically inspired framework—can closely approximate BP using only local Hebbian plasticity. By showing that weight updates in these networks converge to the gradients used in deep learning, the authors provide a mathematically grounded bridge between artificial intelligence and neurobiology.
The Predictive Coding Framework
In a predictive coding network, each layer attempts to predict the activity of the layer below it. The architecture consists of two primary components:
- Value Nodes ($x$): These represent the inferred state or activity of a layer.
- Error Nodes ($\epsilon$): These encode the difference between the actual activity of a layer and the prediction received from the layer above.
Learning in this framework occurs in two distinct stages. First, during inference, the network is presented with an input and a target output. It then "relaxes" into a steady state by minimizing the total prediction error across all layers. This is an autonomous process where nodes update their activity based on local inputs and errors. Second, during the weight update phase, once the network reaches equilibrium, synaptic weights ($\theta$) are modified using a simple Hebbian rule: the change is proportional to the product of the error node and the activity of the predicting node.
Theoretical Convergence to Back-propagation
The authors provide a mathematical proof that the PC framework is not just a heuristic, but a formal approximation of BP. Specifically, as the "noise" parameter (variance) at the output layer increases, the weight updates in the PC network converge exactly to the gradients calculated by the back-propagation algorithm. This suggests that BP may be a special "limit case" of a more general probabilistic learning mechanism utilized by the brain.
Experimental Results
The model was evaluated on both toy datasets and the MNIST handwritten digit dataset to test its scalability and accuracy.
- MNIST Performance: The PC network achieved performance nearly identical to a standard ANN trained with BP. Both models reached approximately 0% training error and between 1.7% and 1.8% validation error on the digit recognition task.
- Gradient Alignment: Using toy linear and non-linear models, the authors demonstrated that the "angle" between the PC weight update and the BP gradient decreases toward zero as the output noise parameter increases, confirming their theoretical derivation.
- Robustness: Interestingly, the PC network learned effectively even without the specific parameter tuning required to perfectly match BP, suggesting it is a robust framework for biological learning.
Discussion and Biological Implications
Several key insights emerge from this work. First, the activity of "prediction error" nodes in PC plays a role mathematically analogous to the "delta" ($\delta$) error terms in BP. Second, unlike standard BP, which requires a distinct "backward pass" controlled by an external computer, PC networks perform the "backward" calculation through their natural settled dynamics.
Furthermore, because PC models the joint distribution of inputs and outputs, a trained network possesses bidirectional flexibility. For example, it can perform "inverse inference," such as predicting the most likely input image given a category label.
Limitations and Future Work
While promising, the model has limitations. The current derivation assumes continuous values, whereas the brain uses discrete spikes; encoding very small error signals with spikes may be challenging. Additionally, the model assumes symmetric weights for feedforward and feedback connections, a requirement that might be relaxed in future research. Finally, mapping these theoretical value and error nodes to specific cortical microcircuits remains an ongoing area of investigation.
Summary updated