Extending the Forward Forward Algorithm
https://arxiv.org/abs/2307.04205

The Forward Forward algorithm (Geoffrey Hinton, 2022-11) is an alternative to backpropagation for training neural networks (NN)

Backpropagation - the most widely successful and used optimization algorithm for training NN - has 3 important limitations ...

Hinton's paper: https://www.cs.toronto.edu/~hinton/FFA13.pdf
Discussion: https://bdtechtalks.com/2022/12/19/forward-forward-algorithm-geoffrey-hinton
...

#GeoffHinton #ForwardPropagation #NeruralNetworks #parametrization #BackproPagation #LossFunction

Extending the Forward Forward Algorithm

The Forward Forward algorithm, proposed by Geoffrey Hinton in November 2022, is a novel method for training neural networks as an alternative to backpropagation. In this project, we replicate Hinton's experiments on the MNIST dataset, and subsequently extend the scope of the method with two significant contributions. First, we establish a baseline performance for the Forward Forward network on the IMDb movie reviews dataset. As far as we know, our results on this sentiment analysis task marks the first instance of the algorithm's extension beyond computer vision. Second, we introduce a novel pyramidal optimization strategy for the loss threshold - a hyperparameter specific to the Forward Forward method. Our pyramidal approach shows that a good thresholding strategy causes a difference of upto 8% in test error. 1 Lastly, we perform visualizations of the trained parameters and derived several significant insights, such as a notably larger (10-20x) mean and variance in the weights acquired by the Forward Forward network.

arXiv.org

...
Addendum

Forward-Forward Algorithm
https://medium.com/@Mosbeh_Barhoumi/forward-forward-algorithm-ac24d0d9ffd

The forward-forward algorithm uses a custom loss function that compares the mean square value of the activations for positive and negative samples.
The network optimizes this loss function by performing gradient calculations and optimization steps on the trainable weights of the dense layer.
...

#ActivationFunction #ForwardPropagation #NeuralNetworks

...
Previous discussion (near time of original publication)

Geoffrey Hinton publishes new deep learning algorithm
https://news.ycombinator.com/item?id=34350662

G. Hinton proposes FF – an alternative to Backprop
https://old.reddit.com/r/MachineLearning/comments/zjud5l/d_g_hinton_proposes_ff_an_alternative_to_backprop

The Forward-Forward Algorithm: Some Preliminary Investigations [Geoffrey Hinton]
https://old.reddit.com/r/MachineLearning/comments/zdkpgb/r_the_forwardforward_algorithm_some_preliminary/

Deep Learning Pioneer Geoffrey Hinton Publishes New Deep Learning Algorithm
https://www.infoq.com/news/2023/01/hinton-forward-algorithm

#ForwardForwardProgagation #GeoffHinton #NeuralNetworks

Geoffrey Hinton publishes new deep learning algorithm | Hacker News