Abstract
This paper bridges the gap between cognitive neuroscience and deep learning by demonstrating that Predictive Coding (PC) networks with learnable "precision" (uncertainty) effectively implement Natural Gradient Descent (NGD). By treating precision as a local, adaptive learning rate, these biologically plausible models can outperform standard gradient descent on noisy tasks and naturally produce disentangled representations.
Introduction
In machine learning, backpropagation is the standard for training neural networks. However, it is a global process that lacks biological plausibility. Furthermore, standard gradient descent often struggles with noisy data because it treats every sample with equal certainty. Natural Gradient Descent (NGD) offers a powerful second-order alternative that adapts to data geometry but is computationally expensive due to the need to calculate the Fisher Information Matrix. This research explores how a hierarchical Predictive Coding framework can achieve NGD efficiency using local, distributed updates.
The Role of Precision
The key innovation of this work is the introduction of learnable precision. In Predictive Coding theory, precision is defined as the inverse of variance. By making precision a learnable parameter, the network can weight prediction errors by their estimated certainty.
As illustrated above, precision describes the reliability of a signal. In the proposed model, if a layer is "uncertain" about its input due to noise, the precision is low, and the weight of that error is reduced. The authors mathematically demonstrate that this precision weighting is equivalent to the Fisher Information metric used in Natural Gradient Descent, effectively allowing the network to learn its own adaptive learning rate locally.
Methods: Hierarchical Predictive Coding
The authors propose a hierarchical PC network composed of stacked, locally connected modules. Unlike traditional feedforward networks, these modules pass prediction errors up and predictions down simultaneously.
Each module minimizes its own "Free Energy"—a proxy for prediction error—using local updates. This distributed approach approximates global second-order optimization because each layer only needs to know the variance of its immediate neighbors to calculate its adaptive learning rate. This architecture mimics the hierarchical processing observed in the human visual cortex.
Key Results and Insights
The researchers evaluated the model on MNIST and synthetic datasets, yielding several significant findings:
- Variance Recovery: In toy experiments, the model successfully inferred the true variance of injected noise, correctly identifying noise levels from samples.
- Classification Performance: On MNIST, the PC-based model achieved an accuracy of 93% (using Adadelta), proving that local updates can compete with global backpropagation.
- Noise Robustness: Precision-weighted networks significantly outperformed classical gradient descent on tasks with high label or input noise by effectively "ignoring" unreliable signals.
- Emergent Disentanglement: When used as an unsupervised auto-encoder, the network naturally separated high-level concepts (like digit identity) from low-level details, producing organized latent spaces.
Conclusion
By linking learnable precision in Predictive Coding to Natural Gradient Descent, this work provides a biologically plausible mechanism for efficient, uncertainty-aware learning. While challenges remain in scaling to larger datasets like ImageNet, the local nature of these updates makes them ideal candidates for future neuromorphic hardware implementations that prioritize energy efficiency and distributed processing.
Summary updated