The Integrated Forward-Forward Algorithm: Integrating Forward-Forward and Shallow Backpropagation With Local Losses

Desmond Y.M. Tang
2023-05-22
Abstract:The backpropagation algorithm, despite its widespread use in neural network learning, may not accurately emulate the human cortex's learning process. Alternative strategies, such as the Forward-Forward Algorithm (FFA), offer a closer match to the human cortex's learning characteristics. However, the original FFA paper and related works on the Forward-Forward Algorithm only mentioned very limited types of neural network mechanisms and may limit its application and effectiveness. In response to these challenges, we propose an integrated method that combines the strengths of both FFA and shallow backpropagation, yielding a biologically plausible neural network training algorithm which can also be applied to various network structures. We applied this integrated approach to the classification of the Modified National Institute of Standards and Technology (MNIST) database, where it outperformed FFA and demonstrated superior resilience to noise compared to backpropagation. We show that training neural networks with the Integrated Forward-Forward Algorithm has the potential of generating neural networks with advantageous features like robustness.
Neural and Evolutionary Computing,Artificial Intelligence
What problem does this paper attempt to address?
The paper aims to address the following issues: 1. **Biological Plausibility**: Although the backpropagation algorithm is widely used in neural network training, it lacks biological plausibility. The way backpropagation transmits gradient information throughout the network does not align with the learning mechanisms of the cerebral cortex, violating the principle of locality. 2. **Limitations of the Forward-Forward Algorithm**: The original Forward-Forward Algorithm (FFA) provides an alternative but has limited applicability and performs poorly when dealing with deep networks. To address these issues, the authors propose an integrated method—the Integrated Forward-Forward Algorithm (IntFF), which combines the advantages of the Forward-Forward Algorithm and shallow backpropagation. Specifically, IntFF uses multiple local losses to decompose the training objective and adjusts the weights in the hidden layers through shallow backpropagation, making it suitable for various network structures and demonstrating better robustness and noise resistance in experiments. Additionally, this method shows significant advantages over traditional backpropagation in classification tasks on the MNIST dataset.