On the relationship between predictive coding and backpropagation

Robert Rosenbaum
6/20/2021
45 citations
q-bio.NCcs.LGcs.NE

Official code: RobertRosenbaum/Torch2PC (30 stars, Jupyter Notebook, last commit 2024-02-13). 1 more implementation below.

Abstract

Artificial neural networks are often interpreted as abstract models of biological neuronal networks, but they are typically trained using the biologically unrealistic backpropagation algorithm and its variants. Predictive coding has been proposed as a potentially more biologically realistic alternative to backpropagation for training neural networks.

Show full abstract

This manuscript reviews and extends recent work on the mathematical relationship between predictive coding and backpropagation for training feedforward artificial neural networks on supervised learning tasks. Implications of these results for the interpretation of predictive coding and deep neural networks as models of biological learning are discussed along with a repository of functions, Torch2PC, for performing predictive coding with PyTorch neural network models.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
RobertRosenbaum/Torch2PCOfficial30Jupyter Notebook–2024-02-13
RobertRosenbaum/PredictiveCodingVsBackPropOfficial6Jupyter Notebook–2024-02-13

Software for using predictive coding algorithms to train PyTorch models.

308Jupyter Notebook, PythonJun 2, 20212 years ago

Code to accompany the paper "On the relationship between predictive coding, backpropagation, and biological neuronal networks"

63Jupyter NotebookJun 17, 20212 years ago

Similar Papers

Cite this paper

@article{rosenbaum2021relationship,
  title  = {On the relationship between predictive coding and backpropagation},
  author = {Robert Rosenbaum},
  year   = {2021},
  eprint = {2106.13082},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.13082}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.13082.svg)](https://codeofpaper.com/paper/2106.13082)

Discussion