paper-with-me

홈 › Papers

A Contrastive Symmetric Forward-Forward Algorithm (SFFA) for Continual Learning Tasks

2024-09-11 · Erik B. Terres-Escudero, Javier Del Ser, Pablo Garcia Bringas

The so-called Forward-Forward Algorithm (FFA) has recently gained momentum as an alternative to the conventional back-propagation algorithm for neural network learning, yielding competitive performance across various modeling tasks. By replacing the backward pass of gradient back-propagation with two contrastive forward passes, the FFA avoids several shortcomings undergone by its predecessor (e.g., vanishing/exploding gradient) by enabling layer-wise training heuristics. In classification tasks, this contrastive method has been proven to effectively create a latent sparse representation of the input data, ultimately favoring discriminability. However, FFA exhibits an inherent asymmetric gradient behavior due to an imbalanced loss function between positive and negative data, adversely impacting on the model's generalization capabilities and leading to an accuracy degradation. To address this issue, this work proposes the Symmetric Forward-Forward Algorithm (SFFA), a novel modification of the original FFA which partitions each layer into positive and negative neurons. This allows the local fitness function to be defined as the ratio between the activation of positive neurons and the overall layer activity, resulting in a symmetric loss landscape during the training phase. To evaluate the enhanced convergence of our method, we conduct several experiments using multiple image classification benchmarks, comparing the accuracy of models trained with SFFA to those trained with its FFA counterpart. As a byproduct of this reformulation, we explore the advantages of using a layer-wise training algorithm for Continual Learning (CL) tasks. The specialization of neurons and the sparsity of their activations induced by layer-wise training algorithms enable efficient CL strategies that incorporate new knowledge (classes) into the neural network, while preventing catastrophic forgetting of previously...

📄 PDF Abstract BibTeX arXiv:2409.07387

Code (0)

등록된 구현이 없습니다.

Tasks

Continual Learningimage-classificationImage Classification

Similar Papers 제목 키워드 기반

SymBa: Symmetric Backpropagation-Free Contrastive Learning with Forward-Forward Algorithm for Optimizing Convergence

2023-03-15 · Heung-Chang Lee, Jeonggeun Song

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 metho…

Contrastive Learning

Benefits of Monotonicity in Safe Exploration with Gaussian Processes

2022-11-03 · Arpan Losalka, Jonathan Scarlett

We consider the problem of sequentially maximising an unknown function over a set of actions while ensuring that every sampled point has a function value below a given safety threshold. We model the function using kernel…

Gaussian ProcessesSafe Exploration

On the Improvement of Generalization and Stability of Forward-Only Learning via Neural Polarization

2024-08-17 · Erik B. Terres-Escudero, Javier Del Ser, Pablo Garcia-Bringas

Forward-only learning algorithms have recently gained attention as alternatives to gradient backpropagation, replacing the backward step of this latter solver with an additional contrastive forward pass. Among these appr…

image-classificationImage Classification

Contrastive Forward-Forward: A Training Algorithm of Vision Transformer

2025-02-01 · Hossein Aghagolzadeh, Mehdi Ezoji

Although backpropagation is widely accepted as a training algorithm for artificial neural networks, researchers are always looking for inspiration from the brain to find ways with potentially better performance. Forward-…

Contrastive Learningimage-classificationImage Classification

Self-Contrastive Forward-Forward Algorithm

2024-09-17 · Xing Chen, Dongshu Liu, jeremie Laydevant, Julie Grollier

Agents that operate autonomously benefit from lifelong learning capabilities. However, compatible training algorithms must comply with the decentralized nature of these systems, which imposes constraints on both the para…

Contrastive LearningLifelong learning