ePC: Fast and Deep Predictive Coding in Digital Simulation

Goemaere C
Demeester T

The brain can learn with fewer repetitions of information that artificial neural networks. This property is captured by a model of the brain called predictive coding, but simulating predictive coding networks is currently slower than artificial neural networks. This paper describes a fast method for simulating predictive coding networks.

Scientific Abstract

Predictive Coding (PC) offers a brain-inspired alternative to backpropagation for neural network training, described as a physical system minimizing its internal energy. While ideally suited for analog implementation, such hardware does not exist yet, and thus, in practice, PC is predominantly digitally simulated, requiring excessive amounts of compute while struggling to scale to deeper architectures.
This paper reformulates PC to overcome this hardware-algorithm mismatch. First, we uncover how the canonical state-based formulation of PC (sPC) is, by design, deeply inefficient in digital simulation, inevitably resulting in exponential signal decay that stalls the entire numerical process. Then, to overcome this fundamental limitation, we introduce error-based PC (ePC), a novel reparameterization of PC which does not suffer from signal decay. Though no longer directly implementable in analog, ePC numerically computes exact PC weights gradients and runs orders of magnitude faster than sPC.
Experiments across multiple architectures and datasets demonstrate that ePC matches backpropagation’s performance even for deeper models where sPC struggles. Besides practical improvements, our work provides theoretical insight into PC dynamics and establishes a foundation for scaling PC-based learning to deeper architectures indigital simulation and beyond.

A diagram with boxes and interconnections
ePC: Fast and Deep Predictive Coding in Digital Simulation
Citation
2026. 43rd International Conference on Machine Learning
Similar Content
Paper
Author
Pinchetti L
Qi C
Lokshyn O
Emde C
Tang M
M'Charrak A
Frieder S
Menzat B
Lukasiewicz T
Salvatori T
2025. International Conference on Learning Representations
Paper
Author
Achour EM
2026, Proceedings of the 43rd International Conference on Machine Learning
Paper
Author
Salvatori T
Song Y
Yordanov Y
Millidge B
Sha L
Emde C
Xu Z
Lukasiewicz T
2024. The Twelveth International Conference on Learning Representations
Paper
Author
2026. The Fourteenth International Conference on Learning Representations
Paper
Author
Salvatori T
Song Y
Xu Z
Lukasiewicz T
In Proceedings of the 36th AAAI Conference on Artificial Intelligence‚ AAAI 2022 ‚Vancouver, BC, Canada, February 22--March 1‚ 2022 (Vol. 10177, pp. 507-524). AAAI Press.