Lune

ICLR2024Top-tier venue

A Stable, Fast, and Fully Automatic Learning Algorithm for Predictive Coding Networks

Tommaso Salvatori, Yuhang Song, Yordan Yordanov, Beren Millidge, Lei Sha, Cornelius Emde, Zhenghua Xu, Rafal Bogacz, Thomas Lukasiewicz

Abstract

Predictive coding networks are neuroscience-inspired models with roots in both Bayesian statistics and neuroscience. Training such models, however, is quite inefficient and unstable. In this work, we show how by simply changing the temporal scheduling of the update rule for the synaptic weights leads to an algorithm that is much more efficient and stable than the original one, and has theoretical guarantees in terms of convergence. The proposed algorithm, that we call incremental predictive coding (iPC) is also more biologically plausible than the original one, as it it fully automatic. In an extensive set of experiments, we show that iPC constantly performs better than the original formulation on a large number of benchmarks for image classification, as well as for the training of both conditional and masked language models, in terms of test accuracy, efficiency, and convergence with respect to a large set of hyperparameters.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • μPC: Scaling Predictive Coding to 100+ Layer Networks cites Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding Networks
  • Brain-like Variational Inference cites Divide-and-Conquer Predictive Coding: a structured Bayesian inference algorithm
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. μPC: Scaling Predictive Coding to 100+ Layer NetworksFrancesco Innocenti, El Mehdi Achour, Christopher L. BuckleyNeurIPS 2025 · 19 citations
  2. Divide-and-Conquer Predictive Coding: a structured Bayesian inference algorithmEli Sennesh, Hao Wu, Tommaso SalvatoriNeurIPS 2024 · 7 citations
  3. Brain-like Variational InferenceHadi Vafaii, Dekel Galor, Jacob L. YatesNeurIPS 2025 · 7 citations
  4. Can local learning match self-supervised backpropagation?Wu S. Zihan, Ariane Delrocq, Wulfram Gerstner, Guillaume BellecICML 2026 · 1 citation
  5. On the Infinite Width and Depth Limits of Predictive Coding NetworksFrancesco Innocenti, El Mehdi Achour, Rafal BogaczICML 2026

Builds on13

  1. Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations
  2. Big Self-Supervised Models are Strong Semi-Supervised LearnersTing Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi et al.NeurIPS 2020 · 2,611 citations
  3. Your classifier is secretly an energy based model and you should treat it like oneWill Grathwohl, Kuan-Chieh Wang, Jörn-Henrik Jacobsen, David Duvenaud et al.ICLR 2020 · 643 citations
  4. Simulating a Primary Visual Cortex at the Front of CNNs Improves Robustness to Image PerturbationsJoel Dapello, Tiago Marques, Martin Schrimpf, Franziska Geiger et al.NeurIPS 2020 · 250 citations
  5. Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding NetworksYuhang Song, Thomas Lukasiewicz, Zhenghua Xu, Rafal BogaczNeurIPS 2020 · 117 citations

Related papers

  1. Predictive Coding beyond Gaussian DistributionsLuca Pinchetti, Tommaso Salvatori, Yordan Yordanov, Beren Millidge et al.NeurIPS 2022 · 22 citations
  2. Understanding and Improving Optimization in Predictive Coding NetworksNicholas Alonso, Jeffrey L. Krichmar, Emre NeftciAAAI 2024 · 12 citations
  3. A Theoretical Framework for Inference and Learning in Predictive Coding NetworksBeren Millidge, Yuhang Song, Tommaso Salvatori, Thomas Lukasiewicz et al.ICLR 2023 · 8 citations
  4. Learning on Arbitrary Graph Topologies via Predictive CodingTommaso Salvatori, Luca Pinchetti, Beren Millidge, Yuhang Song et al.NeurIPS 2022 · 56 citations
  5. ePC: Fast and Deep Predictive Coding in Digital SimulationCédric Goemaere, Gaspard Oliviers, Rafal Bogacz, Thomas DemeesterICML 2026 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines