Training a Predictive Coding Network on ImageNet using Equilibrium Propagation

Tugdual Kerjan, Rasmus Høier, Benjamin ScellierNeurIPS 2026

TL;DR

Backpropagation rules modern deep learning, while biologically plausible and physics-based alternatives have historically been stuck in the kiddie pool of tiny datasets. This paper shatters that ceiling by successfully training a 10-layer Predictive Coding Network (PCN) on full-resolution ImageNet using Equilibrium Propagation (EP), nearly matching standard backpropagation. By pulling off this first-ever ImageNet-scale feat for both frameworks, the authors show that the scaling bottleneck for physics-based AI isn't the learning rule itself—it's the underlying network dynamics.

What Problem Does This Paper Address?

As machine learning's appetite for electricity balloons, researchers are looking to neuromorphic hardware—analog systems like resistor networks or coupled oscillators—that use actual physics to compute. You can't run standard backpropagation on a sheet of resistors, so researchers use Equilibrium Propagation (EP). In EP, a physical system naturally settles into a low-energy "free" state given an input; then, you gently "nudge" the output toward the right answer, let it settle into a new "nudged" equilibrium, and update the weights based on the difference between the two states.

Meanwhile, computational neuroscientists study Predictive Coding Networks (PCNs)—energy-based models where each layer tries to predict the activity of the layer below it, passing only prediction errors upward.

Both EP and PCNs are fascinating, but neither had ever scaled past small datasets like Tiny ImageNet or heavily downsampled 32x32 images. A nagging question remained: when EP fails to scale in physical simulations, is EP's gradient approximation fundamentally flawed, or are the physical networks we test it on just hard to train and slow to simulate?

Methods

To isolate the learning algorithm from messy physical hardware dynamics, the authors apply EP to convolutional PCNs (VGG5 and VGG10). PCNs are the ultimate testbed here: during inference, their "free" equilibrium state is mathematically identical to a single forward pass of a standard feedforward network, making simulation fast and giving a direct apples-to-apples baseline with backpropagation.

Here is how they upgrade the standard toolkit:

  • Nudging over Clamping: Traditional PCNs clamp output neurons hard to the target values, which implicitly locks you into a squared-error-like dynamic. Instead, the authors use EP's nudging approach, adding a weak interaction term ($\beta$) to the total energy function. Crucially, this lets them optimize arbitrary cost functions—specifically, categorical cross-entropy (CE).
  • Centered & Random Schemes: Rather than just nudging positively toward the target (forward scheme), they bring EP's centered scheme to PCNs—comparing a positively nudged state ($+\beta$) and a negatively nudged state ($-\beta$) to cancel out approximation errors. They also test a single-phase random-sign scheme, flipping a coin to use $+\beta$ or $-\beta$ on each batch.
  • Fast Equilibration via Asynchronous PGD: Standard PCNs find equilibrium using synchronous gradient descent with tiny step sizes and momentum. The authors introduce an asynchronous Projected Gradient Descent (PGD) update with a bold step size of $\alpha = 1$. In ReLU layers, terms neatly cancel out, turning sluggish energy minimization into crisp fixed-point iterations.

Datasets

The authors evaluate their VGG5 architecture on MNIST (padded to 32x32), CIFAR-10, CIFAR-100, and downsampled ImageNet 32x32.

For the main event, they train a 10-layer network (VGG10) on full-size ImageNet (1.28M images, 224x224 resolution, 1,000 classes). While ImageNet is a classic ML benchmark, this serves as a brand-new benchmark milestone for both the EP and PCN literature, representing a massive leap over prior records set on Tiny ImageNet (13x fewer images, 12x lower resolution) and ImageNet 32x32 (50x smaller images).

Key Insights and Ideas

  • Nudging unlocks Cross-Entropy, which unlocks scale: On CIFAR-100, traditional output clamping looks fine. On harder 1,000-class tasks like ImageNet 32x32, clamping and MSE-nudging hit a wall, while Cross-Entropy nudging drops top-5 error by nearly 20 percentage points.
Figure 1: Comparison of perturbation approaches (CE-Nudge, MSE-Nudge and Clamp) and finite difference schemes (forward, backward, centered and random) on the VGG5 network trained on (a) CIFAR-100 and (b) ImageNet 32x32.
  • Random-sign EP punches way above its weight: Conventional wisdom says you need two nudged phases (centered EP) to get clean gradients at scale. Surprisingly, single-phase random-sign EP trails centered EP by just 0.56% on full ImageNet while cutting simulation time roughly in half—and requiring the network to track only one equilibrium state (since the free-state energy derivative in PCNs vanishes!).
  • Rule of thumb for iterations: You don't need hundreds of relaxation steps. Setting the number of nudge iterations $K$ equal to the number of layers $L$ is enough for error signals to propagate end-to-end, working reliably even with microscopic nudges ($\beta \approx 0.0002$).
Figure 2: VGG5 network trained on CIFAR100 for 20 epochs. Sensitivity to the nudging strength (β) and num- ber of nudge iterations (K).
  • EP behaves remarkably like pure SGD: Across batch sizes and weight initializations, EP's learning curves lie almost right on top of backpropagation's. This implies EP isn't the culprit holding back physical learning machines; the expressive or dynamical quirks of physical networks (like Hopfield or resistor grids) likely are.

Key Results

On full-size ImageNet using VGG10 (trained for 50 epochs):

  • Backpropagation (Baseline): 32.20% Top-1 error | 12.17% Top-5 error
  • Centered EP: 33.88% Top-1 error | 13.27% Top-5 error (beating classic AlexNet's 15.3% and coming within ~1.1% of backprop)
  • Random-sign EP: 34.65% Top-1 error | 13.83% Top-5 error (at ~2x simulation speed)
  • Skip Connections (VGG10Skip): Centered EP hits 13.31% Top-5 error (vs. 12.10% for BP), showing the method handles non-sequential topologies.

Limitations and Future Work

  • Architecture depth: Experiments are limited to 10-layer VGG-style networks (plus light skip connections). Scaling to modern, deep ResNets with batch normalization will likely require much longer nudge-phase equilibration times, and it isn't yet clear how well the $\alpha=1$ PGD scheme will transfer.
  • Hardware realism: The authors are upfront that this is a GPU simulation achievement; whether their asynchronous PGD dynamics can actually be built into energy-efficient neuromorphic hardware remains an open question.
  • First-order focus: By tuning PCNs to mimic backpropagation in the weak-perturbation limit, this approach leaves on the table some of the richer, second-order (Gauss-Newton-like) optimization benefits that strongly-clamped PCNs have shown in other studies.

Summary updated

Abstract

Equilibrium Propagation (EP) is a physics-based training framework that has primarily been employed in energy-based models, including continuous Hopfield networks, nonlinear resistive networks and coupled phase oscillators. However, EP's practical applications have so far remained limited to relatively small-scale problems. Predictive coding networks (PCNs), another class of energy-based models rooted in computational neuroscience, are typically trained with a specialized algorithm and have likewise not yet been demonstrated at large scale. In this work, we develop an EP-based training method for PCNs which combines the centered variant of EP with a novel equilibration scheme for PCNs. Using this approach, we train a 10-layer convolutional PCN (VGG10) on full-size ImageNet, achieving 13.27% test error rate on the top-5 classification task, close to the 12.2% backpropagation baseline. We also explore a single-phased variant using random-sign nudging which trails closely at 13.83% top-5 test error rate, while being twice as fast to simulate. To our knowledge, this is the first demonstration of both PCNs and EP-based training at ImageNet scale. These results significantly extend the scalability of both approaches and suggest that the primary challenges in scaling EP in other physical systems may come more from the computational properties of these systems than from inherent limitations of the EP framework.
BibTeX
@inproceedings{kerjan2026training,
  author = {Tugdual Kerjan and Rasmus Høier and Benjamin Scellier},
  title = {{Training a Predictive Coding Network on ImageNet using Equilibrium Propagation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=8nLDF6mZEp},
}
Figure