Skip to main content
QUICK REVIEW

[Paper Review] Predictive Coding: Towards a Future of Deep Learning beyond Backpropagation?

Beren Millidge, Tommaso Salvatori|arXiv (Cornell University)|Feb 18, 2022
Functional Brain Connectivity StudiesNeuroscience7 citations
TL;DR

This paper proposes predictive coding (PC) as a biologically plausible alternative to backpropagation in deep learning, leveraging local, error-driven updates to enable scalable, parallelizable training on arbitrary graph topologies. It demonstrates that PC networks can match backpropagation performance on classification tasks while offering superior flexibility as generative models, associative memories, and joint inference-control systems.

ABSTRACT

The backpropagation of error algorithm used to train deep neural networks has been fundamental to the successes of deep learning. However, it requires sequential backward updates and non-local computations, which make it challenging to parallelize at scale and is unlike how learning works in the brain. Neuroscience-inspired learning algorithms, however, such as \emph{predictive coding}, which utilize local learning, have the potential to overcome these limitations and advance beyond current deep learning technologies. While predictive coding originated in theoretical neuroscience as a model of information processing in the cortex, recent work has developed the idea into a general-purpose algorithm able to train neural networks using only local computations. In this survey, we review works that have contributed to this perspective and demonstrate the close theoretical connections between predictive coding and backpropagation, as well as works that highlight the multiple advantages of using predictive coding models over backpropagation-trained neural networks. Specifically, we show the substantially greater flexibility of predictive coding networks against equivalent deep neural networks, which can function as classifiers, generators, and associative memories simultaneously, and can be defined on arbitrary graph topologies. Finally, we review direct benchmarks of predictive coding networks on machine learning classification tasks, as well as its close connections to control theory and applications in robotics.

Motivation & Objective

  • To investigate whether predictive coding (PC) can serve as a viable alternative to backpropagation in deep learning by leveraging local, biologically plausible learning rules.
  • To establish theoretical connections between PC and backpropagation, showing that PC parameter updates are mathematically equivalent to backprop under specific conditions.
  • To demonstrate the superior flexibility of PC networks (PCNs), which can simultaneously function as classifiers, generators, and associative memories on arbitrary graph structures.
  • To evaluate PCNs on large-scale machine learning benchmarks and compare their performance to equivalent backpropagation-trained networks.
  • To explore the potential of PCNs in robotics and control by linking them to active inference and control-as-inference frameworks.

Proposed method

  • Derives predictive coding networks (PCNs) as a special case of the free-energy principle under a Gaussian generative model, enabling variational inference and learning.
  • Uses local synaptic updates based on prediction errors transmitted between layers, eliminating the need for non-local backpropagation through weight matrices.
  • Applies the algorithm to train PCNs on image classification tasks using error-driven learning, with inference and learning occurring simultaneously in a hierarchical architecture.
  • Models PCNs as probabilistic graphical models where inference minimizes variational free energy, enabling joint state estimation and control via active inference.
  • Employs a unified framework where action nodes are inferred by conditioning on desired outcomes, enabling control-as-inference in robotic systems.
  • Conducts direct benchmarks on standard machine learning datasets, comparing PCN performance to standard backpropagation networks under equivalent architectures.

Experimental results

Research questions

  • RQ1How do the weight update rules in predictive coding networks relate to those in backpropagation-trained artificial neural networks?
  • RQ2Can predictive coding networks achieve performance comparable to backpropagation-trained networks on standard machine learning benchmarks?
  • RQ3What advantages does predictive coding offer in terms of architectural flexibility, such as handling arbitrary graph topologies or multiple inference tasks?
  • RQ4How does the locality of PC updates enable greater parallelizability and suitability for neuromorphic hardware compared to backpropagation?
  • RQ5In what scenarios does predictive coding outperform backpropagation, particularly in tasks involving missing data, generative modeling, or joint inference and control?

Key findings

  • Predictive coding networks achieve classification performance comparable to backpropagation-trained networks on standard benchmarks, despite using only local, error-driven updates.
  • PCNs can function simultaneously as classifiers, generators, and associative memories within the same architecture, unlike standard ANNs that require separate training for each task.
  • The mathematical equivalence between PC and backpropagation holds under specific conditions, such as Gaussian generative models and linearized inference, establishing a strong theoretical link.
  • PCNs exhibit superior flexibility in handling missing data, as they naturally perform inference with incomplete inputs, while ANNs require heuristic imputation strategies.
  • The locality of weight updates in PCNs enables greater parallelizability and reduced communication overhead, making them better suited for large-scale training on neuromorphic hardware.
  • PCNs have been successfully applied to robotics and control tasks, including drone and quadcopter control, by framing control as inference through active inference principles.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.