Training Convolutional Neural Networks with the Forward-Forward algorithm

POSTER

Abstract

The recent successes in analyzing images with deep neural networks are almost exclusively achieved with Convolutional Neural Networks (CNNs). The training of these CNNs, and in fact of all deep neural network architectures, uses the backpropagation algorithm where the output of the network is compared with the desired result and the difference is then used to move the weights of the network towards the desired outcome. In a 2022 preprint, Geoffrey Hinton suggested an alternative way of training which passes the desired results together with the images at the input of the network. This so called Forward Forward (FF) algorithm has up to now only been used in fully connected networks. In this paper, we show how the FF paradigm can be extended to CNNs. Our FF-trained CNN achieves a classification accuracy of 99.0% on the MNIST hand-written digits dataset. We show how different hyperparameters affect the performance of the proposed algorithm and compare the results with the standard backpropagation approach. Furthermore, we use Class Activation Maps to investigate which type of features are learnt by the FF algorithm.

* This project has received funding from the Innovative Medicines Initiative 2 Joint Undertaking (JU) under grant agreement No 101034427. The JU receives support from the European Union's Horizon 2020 research and innovation program and EFPIA. The JU is not participating as a contracting authority in this procurement. This project has received funding from the Ministry for Science and Culture of Lower Saxony as part of the project "Agile, bio-inspired architectures" (ABA).

Presenters

  • Riccardo Scodellaro

    Max Planck Institute for Multidisciplinary Sciences

Authors

  • Riccardo Scodellaro

    Max Planck Institute for Multidisciplinary Sciences

  • Ajinkya Kulkarni

    Max Planck Institute for Multidisciplinary Sciences

  • Frauke Alves

    Max Planck Institute for Multidisciplinary Sciences

  • Matthias Schroeter

    Max Planck Institute for Dynamics and Se