Learning on Arbitrary Graph Topologies via Predictive Coding
Tommaso Salvatori, Luca Pinchetti, Beren Millidge, Yuhang Song, Tianyi Bao, Rafal Bogacz, Thomas Lukasiewicz
Abstract
Training with backpropagation (BP) in standard deep learning consists of two main steps: a forward pass that maps a data point to its prediction, and a backward pass that propagates the error of this prediction back through the network. This process is highly effective when the goal is to minimize a specific objective function. However, it does not allow training on networks with cyclic or backward connections. This is an obstacle to reaching brain-like capabilities, as the highly complex heterarchical structure of the neural connections in the neocortex are potentially fundamental for its effectiveness. In this paper, we show how predictive coding (PC), a theory of information processing in the cortex, can be used to perform inference and learning on arbitrary graph topologies. We experimentally show how this formulation, called PC graphs, can be used to flexibly perform different tasks with the same network by simply stimulating specific neurons. This enables the model to be queried on stimuli with different structures, such as partial images, images with labels, or images without labels. We conclude by investigating how the topology of the graph influences the final performance, and comparing against simple baselines trained with BP.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 4e7f4653-6d3e-4475-bd8d-5fb9d1c33107Cited by top-tier papers16
- Sequential Memory with Temporal Predictive CodingMufeng Tang, Helen Barron, Rafal BogaczNeurIPS 2023 · 30 citations
- Constrained Predictive Coding as a Biologically Plausible Model of the Cortical HierarchySiavash Golkar, Tiberiu Tesileanu, Yanis Bahroun, Anirvan M. Sengupta et al.NeurIPS 2022 · 28 citations
- A Theoretical Framework for Inference LearningNick Alonso, Beren Millidge, Jeffrey L. Krichmar, Emre O. NeftciNeurIPS 2022 · 24 citations
- A Stable, Fast, and Fully Automatic Learning Algorithm for Predictive Coding NetworksTommaso Salvatori, Yuhang Song, Yordan Yordanov, Beren Millidge et al.ICLR 2024 · 22 citations
- Predictive Coding beyond Gaussian DistributionsLuca Pinchetti, Tommaso Salvatori, Yordan Yordanov, Beren Millidge et al.NeurIPS 2022 · 22 citations
Builds on3
- Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding NetworksYuhang Song, Thomas Lukasiewicz, Zhenghua Xu, Rafal BogaczNeurIPS 2020 · 117 citations
- Associative Memories via Predictive CodingTommaso Salvatori, Yuhang Song, Yujian Hong, Lei Sha et al.NeurIPS 2021 · 84 citations
- Reverse Differentiation via Predictive CodingTommaso Salvatori, Yuhang Song, Zhenghua Xu, Thomas Lukasiewicz et al.AAAI 2022 · 37 citations
Related papers
- A Theoretical Framework for Inference and Learning in Predictive Coding NetworksBeren Millidge, Yuhang Song, Tommaso Salvatori, Thomas Lukasiewicz et al.ICLR 2023 · 8 citations
- Bidirectional Predictive CodingGaspard Oliviers, Mufeng Tang, Rafal BogaczICLR 2026 · 7 citations
- On the Infinite Width and Depth Limits of Predictive Coding NetworksFrancesco Innocenti, El Mehdi Achour, Rafal BogaczICML 2026
- ePC: Fast and Deep Predictive Coding in Digital SimulationCédric Goemaere, Gaspard Oliviers, Rafal Bogacz, Thomas DemeesterICML 2026 · 3 citations
- Understanding and Improving Optimization in Predictive Coding NetworksNicholas Alonso, Jeffrey L. Krichmar, Emre NeftciAAAI 2024 · 12 citations
