[Paper Review] Tightening the Biological Constraints on Gradient-Based Predictive Coding
This paper tightens the biological plausibility of gradient-based predictive coding (PC) by enforcing positive firing rates via ReLU activation, replacing weight transposes with learnable feedback matrices, and introducing novel error encoding schemes (division and subtraction-based) that avoid negative neural activities. The modified PC model achieves MNIST classification performance comparable to both the original PC model and backpropagation, demonstrating its viability for biologically constrained, neuromorphic learning.
Predictive coding (PC) is a general theory of cortical function. The local, gradient-based learning rules found in one kind of PC model have recently been shown to closely approximate backpropagation. This finding suggests that this gradient-based PC model may be useful for understanding how the brain solves the credit assignment problem. The model may also be useful for developing local learning algorithms that are compatible with neuromorphic hardware. In this paper, we modify this PC model so that it better fits biological constraints, including the constraints that neurons can only have positive firing rates and the constraint that synapses only flow in one direction. We also compute the gradient-based weight and activity updates given the modified activity values. We show that, under certain conditions, these modified PC networks perform as well or nearly as well on MNIST data as the unmodified PC model and networks trained with backpropagation.
Motivation & Objective
- To develop a more biologically plausible version of gradient-based predictive coding by addressing key neurophysiological constraints.
- To replace the biologically implausible weight transpose in standard PC with a learnable feedback weight matrix.
- To ensure neural activity values remain positive using ReLU activation while preserving gradient flow.
- To devise and evaluate novel error encoding schemes that represent prediction errors using only positive firing rates.
- To demonstrate that the modified model maintains high performance on supervised learning tasks like MNIST.
Proposed method
- Replaces the weight transpose in error propagation with a separate, learnable feedback weight matrix, trained via a rule from [12] or initialized randomly.
- Applies ReLU activation to enforce non-negative neural activity values, preventing biologically implausible negative firing rates.
- Develops gradient computation methods that preserve information despite the non-differentiability of ReLU, enabling backpropagation through the ReLU layer.
- Introduces two novel error encoding schemes: division-based and subtraction-based threshold encoding, both ensuring error neurons have only positive firing rates.
- Computes gradients for these new encoding schemes and integrates them into the learning rule for weight and activity updates.
- Tests the modified PC model on the MNIST dataset under various configurations to evaluate performance and generalization.
Experimental results
Research questions
- RQ1Can gradient-based predictive coding be made more biologically plausible by enforcing non-negative neural activity values using ReLU activation?
- RQ2Does replacing the weight transpose in error propagation with a learnable feedback matrix preserve learning performance while improving biological plausibility?
- RQ3Can prediction errors be encoded using only positive firing rates through novel encoding schemes like division or subtraction thresholding?
- RQ4How do different error encoding schemes (division vs. subtraction) affect learning performance and gradient flow in the modified PC model?
- RQ5Can the resulting biologically constrained PC model achieve performance comparable to standard backpropagation and the original PC model on supervised learning tasks?
Key findings
- The modified PC model with ReLU-activated neurons and learnable feedback weights achieves MNIST test accuracy comparable to both the original PC model and standard backpropagation.
- The subtraction-based threshold error encoding scheme successfully represents negative errors using only positive firing rates, enabling biologically plausible error signaling.
- The division-based error encoding scheme, previously shown to fit neurophysiological data better than subtractive encoding, was successfully integrated into the model with proper gradient computation.
- Gradient computation for the ReLU-activated layers was preserved through a modified backpropagation method, maintaining effective learning despite the non-differentiability of ReLU.
- The model with trained feedback weights outperformed the random feedback version, indicating that feedback weight learning enhances performance.
- Overall, the modified PC model performs as well or nearly as well as the original PC and backpropagation on MNIST, validating its potential for neuromorphic and biologically inspired learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.