Skip to content

IsmailKonak/FF-Algorithm-Pytorch-Implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Forward-Forward Algorithm proposed by Geoffrey Hinton - Unofficial Pytorch Implementation

What is Forward Forward Algorithm?

The Forward-Forward algorithm is a learning procedure for neural networks that replaces the forward and backward passes of backpropagation by two forward passes, one with positive data and the other with negative data. Each layer has its own objective function which is simply to have high goodness for positive data and low goodness for negative data. The sum of the squared activities in a layer can be used as the goodness but there are many other possibilities.

For more information, see: The Forward-Forward Algorithm: Some Preliminary Investigations


Implementation

I have implemented the Forward-Forward algorithm for PyTorch, while attempting to stay faithful to the details outlined in the research paper. If you encounter any discrepancy or issue, please do not hesitate to contact me.


To Do



Contact

If you have any questions or advices, or you would like to discuss this work further, please do not hesitate to contact me via email or LinkedIn.

About

The Forward-Forward Algorithm proposed by Geoffrey Hinton - Unofficial Pytorch Implementation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published