Layer Collaboration in the Forward-Forward Algorithm

Guy Lorberbom, Itai Gat, Yossi Adi, Alex Schwing, Tamir Hazan
5/21/2023
cs.LGcs.NE

No confident code implementation found for this paper.

Abstract

Backpropagation, which uses the chain rule, is the de-facto standard algorithm for optimizing neural networks nowadays. Recently, Hinton (2022) proposed the forward-forward algorithm, a promising alternative that optimizes neural nets layer-by-layer, without propagating gradients throughout the network. Although such an approach has several advantages over back-propagation and shows promising results, the fact that each layer is being trained independently limits the optimization process. Specifically, it prevents the network's layers from collaborating to learn complex and rich features. In this work, we study layer collaboration in the forward-forward algorithm. We show that the current version of the forward-forward algorithm is suboptimal when considering information flow in the network, resulting in a lack of collaboration between layers of the network. We propose an improved version that supports layer collaboration to better utilize the network structure, while not requiring any additional assumptions or computations. We empirically demonstrate the efficacy of the proposed version when considering both information flow and objective metrics. Additionally, we provide a theoretical motivation for the proposed method, inspired by functional entropy theory.

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. Any repos shown below are weak matches — 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{lorberbom2023layer,
  title  = {Layer Collaboration in the Forward-Forward Algorithm},
  author = {Guy Lorberbom and Itai Gat and Yossi Adi and Alex Schwing and Tamir Hazan},
  year   = {2023},
  eprint = {2305.12393},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.12393v1}
}

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/2305.12393.svg)](https://codeofpaper.com/paper/2305.12393)

Discussion