Skip to main content
QUICK REVIEW

[Paper Review] SymBa: Symmetric Backpropagation-Free Contrastive Learning with Forward-Forward Algorithm for Optimizing Convergence

Heung-Chang Lee, Jeonggeun Song|arXiv (Cornell University)|Mar 15, 2023
Machine Learning and ELMComputer Science7 citations
TL;DR

SymBa proposes a biologically plausible, backpropagation-free contrastive learning algorithm that improves convergence and performance by symmetrically balancing positive and negative loss gradients and introducing Intrinsic Class Patterns (ICP) to preserve class information. It outperforms both standard Forward-Forward and backpropagation on MNIST, CIFAR-10, and CIFAR-100, achieving state-of-the-art results without BP.

ABSTRACT

The paper proposes a new algorithm called SymBa that aims to achieve more biologically plausible learning than Back-Propagation (BP). The algorithm is based on the Forward-Forward (FF) algorithm, which is a BP-free method for training neural networks. SymBa improves the FF algorithm's convergence behavior by addressing the problem of asymmetric gradients caused by conflicting converging directions for positive and negative samples. The algorithm balances positive and negative losses to enhance performance and convergence speed. Furthermore, it modifies the FF algorithm by adding Intrinsic Class Pattern (ICP) containing class information to prevent the loss of class information during training. The proposed algorithm has the potential to improve our understanding of how the brain learns and processes information and to develop more effective and efficient artificial intelligence systems. The paper presents experimental results that demonstrate the effectiveness of SymBa algorithm compared to the FF algorithm and BP.

Motivation & Objective

  • To develop a biologically plausible alternative to backpropagation that mimics cortical learning mechanisms.
  • To address the asymmetric gradient convergence problem in the Forward-Forward (FF) algorithm, which hinders stable training.
  • To prevent loss of class information during training, a key limitation of FF’s one-hot encoding overlay method.
  • To enhance convergence speed and model performance by unifying positive and negative loss optimization.
  • To demonstrate that BP-free training can achieve superior performance on standard vision benchmarks.

Proposed method

  • SymBa introduces a symmetric loss function that balances positive and negative gradient directions to ensure stable convergence.
  • It replaces the one-hot encoding overlay in FF with Intrinsic Class Patterns (ICP), which are sparse, class-specific noise patterns embedded in the input channels.
  • ICP is generated by randomly sampling pixels from black images and assigning them a value of 1 at a controlled rate (optimal at 0.1).
  • The algorithm trains each layer by maximizing activation for positive samples and minimizing it for negative samples, using a unified contrastive loss.
  • The method avoids backpropagation by computing gradients internally within each layer via two forward passes, preserving biological plausibility.
  • The ICP rate is ablated to find optimal sparsity (0.1) that maximizes class discrimination without causing gradient explosion.

Experimental results

Research questions

  • RQ1Can a BP-free learning algorithm achieve better convergence and performance than standard Back-Propagation?
  • RQ2How can symmetric gradient updates be achieved in contrastive learning without backpropagation?
  • RQ3Does preserving class information through Intrinsic Class Patterns (ICP) improve model performance compared to one-hot encoding overlays?
  • RQ4What is the optimal sparsity level for ICP that maximizes classification accuracy while maintaining training stability?
  • RQ5Can a BP-free algorithm outperform BP on standard vision benchmarks like CIFAR-10 and CIFAR-100?

Key findings

  • SymBa outperforms the standard Forward-Forward (FF) algorithm on all benchmarks, achieving a test error of 40.91% on CIFAR-10 with ICP, compared to 49.63% for FF with one-hot overlay.
  • The SymBa algorithm achieves a test error of 41.23% on CIFAR-10 with one-hot overlay, significantly lower than FF’s 49.63%.
  • The ablation study confirms that ICP consistently outperforms one-hot encoding, with a 0.32% improvement on CIFAR-10 when using ICP over overlay in the SymBa framework.
  • The optimal ICP rate was found to be 0.1, as lower rates (e.g., 0.05) caused loss to converge to NaN due to insufficient class-specific signal.
  • The symmetric loss design in SymBa leads to consistent convergence slopes across different initializations, unlike FF, which shows high gradient scale variability.
  • SymBa achieves state-of-the-art performance among BP-free methods on MNIST, CIFAR-10, and CIFAR-100, demonstrating its potential as a biologically plausible alternative to backpropagation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.