Lune

ICLR2023Top-tier venue

A Theoretical Framework for Inference and Learning in Predictive Coding Networks

Beren Millidge, Yuhang Song, Tommaso Salvatori, Thomas Lukasiewicz, Rafal Bogacz

Abstract

Predictive coding (PC) is an influential theory in computational neuroscience, which argues that the cortex forms unsupervised world models by implementing a hierarchical process of prediction error minimization. PC networks (PCNs) are trained in two phases. First, neural activities are updated to optimize the network's response to external stimuli. Second, synaptic weights are updated to consolidate this change in activity -- an algorithm called prospective configuration. While previous work has shown how in various limits, PCNs can be found to approximate backpropagation (BP), recent work has demonstrated that PCNs operating in this standard regime, which does not approximate BP, nevertheless obtain competitive training and generalization performance to BP-trained networks while outperforming them on tasks such as online, few-shot, and continual learning, where brains are known to excel. Despite this promising empirical performance, little is understood theoretically about the properties and dynamics of PCNs in this regime. In this paper, we provide a comprehensive theoretical analysis of the properties of PCNs trained with prospective configuration. We first derive analytical results concerning the inference equilibrium for PCNs and a previously unknown close connection relationship to target propagation (TP). Secondly, we provide a theoretical analysis of learning in PCNs as a variant of generalized expectation-maximization and use that to prove the convergence of PCNs to critical points of the BP loss function, thus showing that deep PCNs can, in theory, achieve the same generalization performance as BP, while maintaining their unique advantages.

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.

10 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

  • Only Strict Saddles in the Energy Landscape of Predictive Coding Networks? cites Learning on Arbitrary Graph Topologies via Predictive Coding
  • Only Strict Saddles in the Energy Landscape of Predictive Coding Networks? cites A Theoretical Framework for Target Propagation
  • Only Strict Saddles in the Energy Landscape of Predictive Coding Networks? cites Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding Networks
  • Only Strict Saddles in the Energy Landscape of Predictive Coding Networks? cites Understanding and Improving Optimization in Predictive Coding Networks
  • A Stable, Fast, and Fully Automatic Learning Algorithm for Predictive Coding Networks cites Learning on Arbitrary Graph Topologies via Predictive Coding
  • A Stable, Fast, and Fully Automatic Learning Algorithm for Predictive Coding Networks cites Reverse Differentiation via Predictive Coding
  • A Stable, Fast, and Fully Automatic Learning Algorithm for Predictive Coding Networks cites Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding Networks
  • μPC: Scaling Predictive Coding to 100+ Layer Networks cites Only Strict Saddles in the Energy Landscape of Predictive Coding Networks?
  • μPC: Scaling Predictive Coding to 100+ Layer Networks cites A Stable, Fast, and Fully Automatic Learning Algorithm for Predictive Coding Networks
  • μPC: Scaling Predictive Coding to 100+ Layer Networks cites Learning on Arbitrary Graph Topologies via Predictive Coding
  • μPC: Scaling Predictive Coding to 100+ Layer Networks cites Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding Networks
  • Learning on Arbitrary Graph Topologies via Predictive Coding cites Reverse Differentiation via Predictive Coding
  • Learning on Arbitrary Graph Topologies via Predictive Coding cites Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding Networks
  • Credit Assignment in Neural Networks through Deep Feedback Control cites A Theoretical Framework for Target Propagation
  • Reverse Differentiation via Predictive Coding cites Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding Networks
  • Understanding and Improving Optimization in Predictive Coding Networks cites Learning on Arbitrary Graph Topologies via Predictive Coding
  • Understanding and Improving Optimization in Predictive Coding Networks cites Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. 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
  2. μPC: Scaling Predictive Coding to 100+ Layer NetworksFrancesco Innocenti, El Mehdi Achour, Christopher L. BuckleyNeurIPS 2025 · 19 citations
  3. Attention as Implicit Structural InferenceRyan Singh, Christopher L. BuckleyNeurIPS 2023 · 12 citations
  4. Understanding and Improving Optimization in Predictive Coding NetworksNicholas Alonso, Jeffrey L. Krichmar, Emre NeftciAAAI 2024 · 12 citations
  5. Only Strict Saddles in the Energy Landscape of Predictive Coding Networks?Francesco Innocenti, El Mehdi Achour, Ryan Singh, Christopher L. BuckleyNeurIPS 2024 · 10 citations

Builds on6

  1. Can the Brain Do Backpropagation? - Exact Implementation of Backpropagation in Predictive Coding NetworksYuhang Song, Thomas Lukasiewicz, Zhenghua Xu, Rafal BogaczNeurIPS 2020 · 117 citations
  2. A Theoretical Framework for Target PropagationAlexander Meulemans, Francesco S. Carzaniga, Johan A. K. Suykens, João Sacramento et al.NeurIPS 2020 · 110 citations
  3. Credit Assignment in Neural Networks through Deep Feedback ControlAlexander Meulemans, Matilde Tristany Farinha, Javier García Ordóñez, Pau Vilimelis Aceituno et al.NeurIPS 2021 · 61 citations
  4. Learning on Arbitrary Graph Topologies via Predictive CodingTommaso Salvatori, Luca Pinchetti, Beren Millidge, Yuhang Song et al.NeurIPS 2022 · 56 citations
  5. Reverse Differentiation via Predictive CodingTommaso Salvatori, Yuhang Song, Zhenghua Xu, Thomas Lukasiewicz et al.AAAI 2022 · 37 citations

Related papers

  1. On the Infinite Width and Depth Limits of Predictive Coding NetworksFrancesco Innocenti, El Mehdi Achour, Rafal BogaczICML 2026
  2. Predictive Coding beyond Gaussian DistributionsLuca Pinchetti, Tommaso Salvatori, Yordan Yordanov, Beren Millidge et al.NeurIPS 2022 · 22 citations
  3. Local Loss Optimization in the Infinite Width: Stable Parameterization of Predictive Coding Networks and Target PropagationSatoki Ishikawa, Rio Yokota, Ryo KarakidaICLR 2025
  4. (Non-)Convergence Results for Predictive Coding NetworksSimon Frieder, Thomas LukasiewiczICML 2022 · 11 citations
  5. Bidirectional Predictive CodingGaspard Oliviers, Mufeng Tang, Rafal BogaczICLR 2026 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines