Skip to content

Python implementation of An Approximation of the Error Backpropagation Algorithm in a Predictive Coding Network with Local Hebbian Synaptic Plasticity

Notifications You must be signed in to change notification settings

viraj-cz/predictive-coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

predictive-coding

Python implementation of An Approximation of the Error Backpropagation Algorithm in a Predictive Coding Network with Local Hebbian Synaptic Plasticity


Task list:

  • XOR example
  • Arbitrary Scalable
  • Add ReLU + TanH + Sigmoid activation options
    • Sigmoid stagnates for XOR
  • PyTorch
  • LaTex

Later:

  • JAX

Pred Code Networks are amazing because they don't rely on a Global Loss function, but rather use a bidirectional networks to use local errors that leads to learning.

General Reading on Pred Code Networks: https://arxiv.org/pdf/2107.12979.pdf

Here's in an implementation of a flavour of pred code networks inspired from: https://www.mrcbndu.ox.ac.uk/sites/default/files/pdf_files/Whittington%20Bogacz%202017_Neural%20Comput.pdf


Since I found the paper to be somewhat different and dense, I have attached my notes for now, LaTex soon:

notes/page_22.png notes/page_23.png notes/page_24.png notes/page_25.png

About

Python implementation of An Approximation of the Error Backpropagation Algorithm in a Predictive Coding Network with Local Hebbian Synaptic Plasticity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published