Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.05 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.05 KB

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