Training Convolutional Neural Networks with the Forward-Forward algorithm

Riccardo Scodellaro, Ajinkya Kulkarni, Frauke Alves, Matthias Schröter
12/22/2023
cs.CVcs.AI

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Recent successes in image analysis with deep neural networks are achieved almost exclusively with Convolutional Neural Networks (CNNs), typically trained using the backpropagation (BP) algorithm. In a 2022 preprint, Geoffrey Hinton proposed the Forward-Forward (FF) algorithm as a biologically inspired alternative, where positive and negative examples are jointly presented to the network and training is guided by a locally defined goodness function.

Show full abstract

Here, we extend the FF paradigm to CNNs. We introduce two spatially extended labeling strategies, based on Fourier patterns and morphological transformations, that enable convolutional layers to access label information across all spatial positions. On CIFAR10, we show that deeper FF-trained CNNs can be optimized successfully and that morphology-based labels prevent shortcut solutions on dataset with more complex and fine features. On CIFAR100, carefully designed label sets scale effectively to 100 classes. Class Activation Maps reveal that FF-trained CNNs learn meaningful and complementary features across layers. Together, these results demonstrate that FF training is feasible beyond fully connected networks, provide new insights into its learning dynamics and stability, and highlight its potential for neuromorphic computing and biologically inspired learning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{scodellaro2023training,
  title  = {Training Convolutional Neural Networks with the Forward-Forward algorithm},
  author = {Riccardo Scodellaro and Ajinkya Kulkarni and Frauke Alves and Matthias Schröter},
  year   = {2023},
  eprint = {2312.14924},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.14924v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.14924.svg)](https://codeofpaper.com/paper/2312.14924)

Discussion