Abstract
Predictive Coding (PC) is a brain-inspired alternative to backpropagation that relies on local learning rules. However, PC has historically faced a "depth barrier," where networks deeper than a few layers fail to converge due to ill-conditioned inference landscapes and unstable signal propagation. We introduce μPC, a novel parameterization framework that successfully scales PC to 128-layer networks. By ensuring a stable forward pass and enabling zero-shot hyperparameter transfer across model widths and depths, μPC demonstrates that local learning algorithms can compete with backpropagation on deep architectures.
Introduction
Modern deep learning is dominated by Backpropagation (BP), which, despite its success, is biologically implausible due to the "weight transport problem" and the requirement for global feedback. Predictive Coding (PC) offers a local alternative where each layer minimizes its own prediction error. Despite its theoretical appeal, PC has been notoriously difficult to scale. As networks grow deeper, the mathematical "inference landscape" becomes increasingly difficult to navigate, causing signals to either vanish or explode.
Methods: The μPC Framework
The authors address these scaling issues by introducing μPC, which adapts Maximal Update Parameterization (μP) to Predictive Coding Networks (PCNs).
Pathology Analysis and Reparameterization
The core of μPC lies in a rigorous analysis of PCN pathologies. Standard initializations lead to an "ill-conditioned" inference landscape where optimization becomes nearly impossible. μPC replaces these with width- and depth-dependent scalings. Specifically, hidden weights are scaled by $(N_{\ell-1}L)^{-1/2}$, where $N$ is the layer width and $L$ is the total depth.
Stable Forward Pass
A key insight of this work is that a perfectly smooth optimization landscape is not strictly necessary for training. By ensuring the forward pass remains stable at initialization—preventing signal degradation—the network remains trainable even if the underlying landscape is complex.
Key Results and Scaling
The implementation of μPC leads to several breakthroughs in the performance and usability of local learning algorithms.
Breaking the Depth Barrier
μPC is the first local learning algorithm to successfully train a 128-layer Residual Network (ResNet). On benchmarks like MNIST, Fashion-MNIST, and CIFAR10, μPC achieved competitive results, reaching ~98% accuracy on MNIST 5x faster than previous PC state-of-the-art methods.
Zero-Shot Hyperparameter Transfer
One of the most significant practical benefits of μPC is the ability to transfer optimal hyperparameters. The "phase diagrams" for learning rates remain consistent across different scales. This allows researchers to tune a small, computationally inexpensive model (e.g., 16 layers) and apply those exact settings to a massive 128-layer model without further adjustment.
Discussion and Future Work
While μPC solves the immediate problem of trainability at depth, it does not fully resolve the underlying ill-conditioning of the inference landscape. Future research may focus on parameterizations that simultaneously stabilize signals and smooth the optimization surface. Additionally, while these results were demonstrated on fully connected ResNets, extending μPC to Convolutional Neural Networks and Transformers is a critical next step for general-purpose local learning.
The success of μPC suggests that the gap between biologically plausible local learning and high-performance deep learning is narrower than previously thought, opening new avenues for energy-efficient neuromorphic computing.
Summary updated