Predictive Coding Approximates Backprop along Arbitrary Computation Graphs

06/07/2020
by   Beren Millidge, et al.
0

Backpropagation of error (backprop) is a powerful algorithm for training machine learning architectures through end-to-end differentiation. However, backprop is often criticised for lacking biological plausibility. Recently, it has been shown that backprop in multilayer-perceptrons (MLPs) can be approximated using predictive coding, a biologically-plausible process theory of cortical computation which relies only on local and Hebbian updates. The power of backprop, however, lies not in its instantiation in MLPs, but rather in the concept of automatic differentiation which allows for the optimisation of any differentiable program expressed as a computation graph. Here, we demonstrate that predictive coding converges asymptotically (and in practice rapidly) to exact backprop gradients on arbitrary computation graphs using only local learning rules. We apply this result to develop a straightforward strategy to translate core machine learning architectures into their predictive coding equivalents. We construct predictive coding CNNs, RNNs, and the more complex LSTMs, which include a non-layer-like branching internal graph structure and multiplicative interactions. Our models perform equivalently to backprop on challenging machine learning benchmarks, while utilising only local and (mostly) Hebbian plasticity. Our method raises the potential that standard machine learning algorithms could in principle be directly implemented in neural circuitry, and may also contribute to the development of completely distributed neuromorphic architectures.

READ FULL TEXT
research
10/02/2020

Relaxing the Constraints on Predictive Coding Models

Predictive coding is an influential theory of cortical function which po...
research
06/30/2021

Applications of the Free Energy Principle to Machine Learning and Neuroscience

In this PhD thesis, we explore and apply methods inspired by the free en...
research
04/30/2021

Tightening the Biological Constraints on Gradient-Based Predictive Coding

Predictive coding (PC) is a general theory of cortical function. The loc...
research
11/12/2021

Predictive coding, precision and natural gradients

There is an increasing convergence between biologically plausible comput...
research
10/13/2020

Investigating the Scalability and Biological Plausibility of the Activation Relaxation Algorithm

The recently proposed Activation Relaxation (AR) algorithm provides a si...
research
04/05/2023

Predictive Coding as a Neuromorphic Alternative to Backpropagation: A Critical Evaluation

Backpropagation has rapidly become the workhorse credit assignment algor...
research
12/02/2021

Differentiable Generalised Predictive Coding

This paper deals with differentiable dynamical models congruent with neu...

Please sign up or login with your details

Forgot password? Click here to reset