SNAP: Stopping Catastrophic Forgetting in Hebbian Learning with Sigmoidal Neuronal Adaptive Plasticity

Tianyi Xu,Patrick Zheng,Shiyan Liu,Sicheng Lyu,Isabeau Prémont-Schwarz
2024-10-20
Abstract:Artificial Neural Networks (ANNs) suffer from catastrophic forgetting, where the learning of new tasks causes the catastrophic forgetting of old tasks. Existing Machine Learning (ML) algorithms, including those using Stochastic Gradient Descent (SGD) and Hebbian Learning typically update their weights linearly with experience i.e., independently of their current strength. This contrasts with biological neurons, which at intermediate strengths are very plastic, but consolidate with Long-Term Potentiation (LTP) once they reach a certain strength. We hypothesize this mechanism might help mitigate catastrophic forgetting. We introduce Sigmoidal Neuronal Adaptive Plasticity (SNAP) an artificial approximation to Long-Term Potentiation for ANNs by having the weights follow a sigmoidal growth behaviour allowing the weights to consolidate and stabilize when they reach sufficiently large or small values. We then compare SNAP to linear weight growth and exponential weight growth and see that SNAP completely prevents the forgetting of previous tasks for Hebbian Learning but not for SGD-base learning.
Neural and Evolutionary Computing,Artificial Intelligence,Machine Learning
What problem does this paper attempt to address?
The paper attempts to address the problem of **Catastrophic Forgetting in continuous task learning**. Specifically, artificial neural networks (ANNs) tend to forget previously learned tasks when learning new ones, which is a major challenge in continuous learning scenarios. Existing machine learning algorithms, including those using stochastic gradient descent (SGD) and Hebbian Learning methods, typically update weights in a linear manner, and this linear update method is prone to catastrophic forgetting. The paper proposes a new weight growth mechanism—**Sigmoidal Neuronal Adaptive Plasticity (SNAP)**, which simulates the Long-Term Potentiation (LTP) process of biological neurons, causing the weights to stabilize after reaching a certain strength, thereby reducing or preventing catastrophic forgetting. Specifically, SNAP makes the weight growth behavior exhibit an S-shaped curve, where the weight grows rapidly in the initial stage, but as the weight reaches larger or smaller values, the growth rate gradually slows down and eventually stabilizes. The main contributions of the paper are: 1. **Proposing the SNAP mechanism**: By simulating the LTP process of biological neurons, a new weight growth mechanism is designed, causing the weights to stabilize after reaching a certain strength. 2. **Experimental validation**: Through experiments on the MNIST and FashionMNIST datasets, the effectiveness of SNAP in Hebbian Learning is validated, showing that it can completely prevent catastrophic forgetting. Although the effect is limited in SGD-based learning, it still slightly reduces forgetting. In summary, the paper aims to solve the problem of catastrophic forgetting in continuous task learning by introducing the SNAP mechanism, achieving significant results especially in Hebbian Learning.