Reshaping the Forward-Forward Algorithm with a Similarity-Based Objective

James Gong, Raymond Luo, Emma Wang, Leon Ge, Bruce Li +2 more
8/29/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Backpropagation is the pivotal algorithm underpinning the success of artificial neural networks, yet it has critical limitations such as biologically implausible backward locking and global error propagation. To circumvent these constraints, the Forward-Forward algorithm was proposed as a more biologically plausible method that replaces the backward pass with an additional forward pass. Despite this advantage, the Forward-Forward algorithm significantly trails backpropagation in accuracy, and its optimal form exhibits low inference efficiency due to multiple forward passes required. In this work, the Forward-Forward algorithm is reshaped through its integration with similarity learning frameworks, eliminating the need for multiple forward passes during inference. This proposed algorithm is named Forward-Forward Algorithm Unified with Similarity-based Tuplet loss (FAUST). Empirical evaluations on MNIST, Fashion-MNIST, and CIFAR-10 datasets indicate that FAUST substantially improves accuracy, narrowing the gap with backpropagation. On CIFAR-10, FAUST achieves 56.22\% accuracy with a simple multi-layer perceptron architecture, approaching the backpropagation benchmark of 57.63\% accuracy.

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{gong2025reshaping,
  title  = {Reshaping the Forward-Forward Algorithm with a Similarity-Based Objective},
  author = {James Gong and Raymond Luo and Emma Wang and Leon Ge and Bruce Li and Felix Marattukalam and Waleed Abdulla},
  year   = {2025},
  eprint = {2509.08697},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.08697v1}
}

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

Discussion