Benchmarking Predictive Coding Networks - Made Simple

Pinchetti L
Qi C
Lokshyn O
Emde C
Tang M
M'Charrak A
Frieder S
Menzat B
Lukasiewicz T
Salvatori T

Predictive coding is an influential theory of information processing in the brain. However, until recently it was not feasible to simulate larger networks of neurons based on this theory. This paper describes an efficient computer implementation of predictive coding, which enables simulating larger networks.

Scientific Abstract

In this work, we tackle the problems of efficiency and scalability for predictive coding networks (PCNs) in machine learning. To do so, we propose a library that focuses on performance and simplicity, and use it to implement a large set of standard benchmarks for the community to use for their experiments. As most works in the field propose their own tasks and architectures, do not compare one against each other, and focus on small-scale tasks, a simple and fast open-source library, and a comprehensive set of benchmarks, would address all of these concerns. Then, we perform extensive tests on such benchmarks using both existing algorithms for PCNs, as well as adaptations of other methods popular in the bio-plausible deep learning community. All of this has allowed us to (i) test architectures much larger than commonly used in the literature, on more complex datasets; (ii) reach new state-of-the-art results in all of the tasks and dataset provided; (iii) clearly highlight what the current limitations of PCNs are, allowing us to state important future research directions. With the hope of galvanizing community efforts towards one of the main open problems in the field, scalability, we will release the code, tests, and benchmarks.

Accuracy on CIFAR-10
Classification accuracy of predictive coding networks with different architectures on CIFAR-10 dataset.
Citation
2025. International Conference on Learning Representations
Related Content
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
Salvatori T
Song Y
Hong Y
Sha L
Frieder S
Xu Z
Lukasiewicz T
2021. Adv. Neural Inf. Process Syst., 34:3874-3886.
Paper
Author
Song Y
Lukasiewicz T
Xu Z
2020. Adv Neural Inf Process Syst, 33:22566-22579.
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.