TL;DR
This paper presents the first successful scaling of Predictive Coding Networks (PCNs) and Equilibrium Propagation (EP) to the full-size ImageNet dataset. By combining a novel nudging-based equilibration scheme with a centered finite-difference variant, the authors train a 10-layer convolutional PCN to achieve a 13.23% top-5 test error rate, closely matching the standard backpropagation baseline.
What Problem Does This Paper Address?
Modern deep learning relies almost entirely on backpropagation (BP), which requires massive amounts of energy and specialized digital hardware. Neuromorphic computing offers a highly energy-efficient alternative by using analog physical systems to perform computations. However, training these physical systems requires alternative "physical learning algorithms" like Equilibrium Propagation (EP).
Until now, EP and biologically inspired models like Predictive Coding Networks (PCNs) have been confined to small-scale, toy datasets (such as MNIST or CIFAR-10). It remained an open question whether this limitation was an inherent flaw in the EP framework itself or simply due to the poor expressivity of the small networks tested. This paper tackles this scalability bottleneck head-on.
Methods
The authors bridge the gap between neuroscience-inspired models and large-scale machine learning by developing an EP-based training method tailored for PCNs. Key components include:
- Nudging vs. Clamping: Instead of the traditional PCN approach of hard-clamping output units to their targets, they use EP’s nudging approach. This modifies the network's total energy function by adding a cost function term (like cross-entropy), allowing the target to gently guide the network state.
- Centered and Random Finite-Difference Schemes: They utilize the centered scheme (comparing a positively perturbed state with a negatively perturbed state) to reduce gradient approximation errors, alongside a random scheme (where the sign of the perturbation is chosen at random).
- Modified Projected Gradient Descent (mod-PGD): To find the nudged equilibrium states efficiently, they introduce a modified version of PGD combined with an asynchronous traversal scheme (alternating updates between even and odd layers), which prevents training from diverging.
Datasets
The authors evaluated their approach across several vision benchmarks:
- MNIST (padded to 32x32)
- CIFAR-10 & CIFAR-100
- ImageNet 32x32 (a downsampled version of ImageNet)
- Full-size ImageNet (ILSVRC2012): Containing 1.28 million high-resolution images across 1,000 distinct classes.
Key Insights and Ideas
- Nudging Beats Clamping at Scale: While output clamping works well on simpler datasets like CIFAR-100, EP's nudging mechanism (specifically using a cross-entropy cost function, or CE-Nudge) drastically outperforms clamping on complex datasets like ImageNet 32x32.
- The Random Scheme is Surprisingly Potent: Conventional wisdom suggested that the centered scheme was strictly necessary for high performance due to its lower gradient bias. However, the authors found that the random scheme remains highly competitive even on full-size ImageNet. This is a huge win for efficiency because the random scheme only requires simulating a single nudged equilibrium state instead of two.
- EP is Not the Bottleneck: By successfully scaling to ImageNet, this work proves that the EP framework itself is inherently scalable. The difficulties encountered in other physical systems likely stem from the hardware's expressivity or specific computational properties, not the learning algorithm.
Key Results
- On full-size ImageNet, a 10-layer convolutional PCN (VGG10) trained with centered EP achieved a 13.23% top-5 test error rate (33.81% top-1), coming remarkably close to the backpropagation baseline of 12.20% top-5 (32.35% top-1).
- The single-phase random EP scheme achieved a highly competitive 14.02% top-5 error rate, making it an attractive choice for faster training.
- Integrating skip connections (VGG10Skip) yielded a 13.32% top-5 error rate (vs. 12.1% for BP), showing the broader applicability of the method to ResNet-like models.
The performance gap between different perturbation approaches on smaller datasets is illustrated below:
Limitations and Future Work
- Hardware Realization: The experiments were conducted entirely in simulation on digital GPUs. It remains unproven whether the proposed energy function and
mod-PGDdynamics can be efficiently mapped onto actual analog neuromorphic hardware. - Training Time: Simulating the equilibration phase is computationally heavy. Training the VGG10 on ImageNet via centered EP took 18 days on a single Nvidia A100 GPU, compared to just 36 hours for standard backpropagation.
- Architectural Constraints: The authors note that scaling to deeper architectures like ResNets with batch normalization remains a challenge due to significantly longer nudge-phase times, leaving this as an open direction for future exploration.
Summary updated