Abstract
Predictive coding (PC) is a prominent theory of cortical computation that approximates backpropagation through local error minimization. However, standard PC models often assume biologically implausible constraints, such as perfectly symmetric forward and backward weights and precise derivative computation. This paper investigates the robustness of PC when these constraints are relaxed. By introducing local Hebbian learning rules for backward connections and error mappings, the authors demonstrate that PC remains a highly effective learning algorithm. Experimental results on MNIST and FashionMNIST show that these "relaxed" architectures achieve near-parity with constrained models, though they exhibit sensitivity to activation functions like ReLU. These findings suggest that the brain may utilize "good enough" local optimization rather than mathematically perfect gradients.
Introduction
In modern artificial intelligence, backpropagation is the standard for training deep neural networks. However, neuroscientists have long identified several biological implausibilities in backpropagation, most notably the "weight transport problem." This problem arises because backpropagation requires a neuron to have precise knowledge of the weights of downstream connections to calculate its own weight updates. Furthermore, it assumes that error signals can be propagated backward through the same synaptic pathways used for forward signals.
Predictive Coding (PC) has emerged as a biologically plausible alternative. In PC, the network minimizes local prediction errors at every layer, allowing for learning without global weight transport. Despite its promise, standard PC models have historically relied on three rigid, un-biological constraints:
- Weight Symmetry: The requirement that backward weights are the exact transpose of forward weights.
- Nonlinear Derivatives: The assumption that neurons can compute the exact mathematical derivative of their own activation functions.
- 1-1 Connectivity: The requirement for a rigid, one-to-one mapping between value neurons and error neurons.
This research explores whether PC can maintain its performance when these constraints are discarded in favor of more flexible, locally learned mechanisms.
Proposed Relaxations
The researchers proposed three specific modifications to the standard predictive coding framework, all derived from the minimization of Variational Free Energy (VFE):
Learnt Backwards Weights
Instead of forcing backward weights to be the transpose of forward weights ($W^T$), the authors introduced a separate set of backward weights ($\tilde{W}$). These weights are initialized randomly and updated using a simple, local Hebbian rule. Over time, these weights "align" themselves to the forward pass, effectively learning how to propagate error signals.
Removing Nonlinear Derivatives
The authors experimented with ignoring the derivative term ($f'$) in the update equations. This effectively treats the gradient as linear, testing if the network can still find the correct learning direction without precise calculus.
Diffuse Error Connectivity
Rather than a rigid 1-1 mapping, the researchers used a fully connected matrix to map value units to error units. This matrix is also learned via a Hebbian rule, allowing the network to discover its own error-reporting structure dynamically.
Experimental Results
The relaxed models were evaluated on the MNIST and FashionMNIST datasets. The results demonstrated that the brain-like "heuristics" were remarkably effective.
Performance Parity
Networks using learnt backward weights achieved test accuracies nearly identical to those using "perfect" symmetric weights. On MNIST, accuracies reached approximately 98%, while FashionMNIST reached approximately 88%. This suggests that the weight transport problem is not a fundamental barrier to learning in PC architectures.
Robustness to Mathematical Inaccuracy
Surprisingly, removing the nonlinear derivative term resulted in negligible performance loss. This indicates that precise derivative computation is not a bottleneck for cortical-style learning, supporting the idea that the brain is a "good enough" optimizer rather than a perfect one.
Activation Function Sensitivity
A key finding was the impact of activation functions on stability. While the "Fully Relaxed" model performed well with Tanh activations, it became unstable and failed to converge when using ReLU. ReLU units, which lack a saturation point, were prone to exploding gradients in the most relaxed architectures, suggesting that the brain may require specific inhibitory mechanisms to maintain stability.
Conclusion
This work significantly lowers the requirements for what constitutes a biologically plausible learning circuit. By demonstrating that weight symmetry and precise derivatives are unnecessary, it opens the door for new designs in neuromorphic hardware that do not require the rigid precision of traditional silicon chips. Future work will focus on scaling these relaxed rules to more complex datasets like ImageNet and implementing them within spiking neuron models to further bridge the gap between AI and neuroscience.
Summary updated