Introduction to Predictive Coding Networks for Machine Learning
Neural and Evolutionary Computing
2025-06-10 v1 Artificial Intelligence
Machine Learning
Abstract
Predictive coding networks (PCNs) constitute a biologically inspired framework for understanding hierarchical computation in the brain, and offer an alternative to traditional feedforward neural networks in ML. This note serves as a quick, onboarding introduction to PCNs for machine learning practitioners. We cover the foundational network architecture, inference and learning update rules, and algorithmic implementation. A concrete image-classification task (CIFAR-10) is provided as a benchmark-smashing application, together with an accompanying Python notebook containing the PyTorch implementation.
Cite
@article{arxiv.2506.06332,
title = {Introduction to Predictive Coding Networks for Machine Learning},
author = {Mikko Stenlund},
journal= {arXiv preprint arXiv:2506.06332},
year = {2025}
}
Comments
22 pages