Abstract
Spiking Neural Networks (SNNs) offer a promising path toward energy-efficient neuromorphic computing by mimicking the temporal dynamics of the human brain. However, like their artificial counterparts, SNNs suffer from catastrophic forgetting—the tendency to overwrite previous knowledge when learning new tasks. While mathematical solutions like orthogonal projection exist, they often rely on non-biological operations such as Singular Value Decomposition (SVD). This paper introduces Hebbian Learning based Orthogonal Projection (HLOP), a biologically plausible framework that achieves near-zero forgetting by utilizing lateral neural connections and local Hebbian learning rules to project synaptic updates into an orthogonal subspace.
Introduction
In the quest for artificial intelligence that matches the efficiency and adaptability of the human brain, Spiking Neural Networks (SNNs) have emerged as a leading paradigm. Despite their biological inspiration, SNNs struggle with sequential learning. When trained on a sequence of tasks, the weight adjustments required for a new task often interfere with the representations learned for previous ones, leading to a rapid decline in performance on earlier data.
Existing approaches to this problem generally fall into two categories: biologically inspired methods (e.g., episodic replay or synaptic metaplasticity) which often lack mathematical guarantees, and mathematically grounded methods (e.g., gradient projection) which require global, non-local computations incompatible with biological constraints. HLOP bridges this gap by implementing the mathematical rigor of orthogonal projection through decentralized, local neuronal operations.
The HLOP Framework
Subspace Extraction via Hebbian Learning
Rather than employing centralized matrix decomposition to identify the principal directions of neural activity, HLOP introduces recurrent lateral connections and a dedicated set of "subspace neurons" to each layer. These connections evolve according to Hebbian and anti-Hebbian learning rules. As the network processes data, these lateral circuits naturally learn to represent the principal subspace of neural activity, effectively creating a structural memory of the "territory" occupied by previous tasks.
Orthogonal Projection Mechanism
During the learning of a new task, the lateral circuits modify the activity traces used for synaptic updates. By subtracting components that align with the previously learned subspace, the system ensures that weight updates are projected into an orthogonal space. This prevents the new gradients from interfering with the weights critical to prior tasks.
Biological and Hardware Compatibility
Crucially, HLOP is designed with biological plausibility in mind:
- Online Learning: Unlike previous projection methods that require data buffers to calculate subspaces, HLOP learns the subspace online from streaming data.
- Spiking Implementation: The projection neurons can be implemented as spiking units using high-frequency bursts (rate coding), making the method suitable for deployment on neuromorphic hardware.
- Flexibility: HLOP is compatible with various SNN training paradigms, including Direct Spike Representation (DSR), Backpropagation Through Time (BPTT) with surrogate gradients, and Online Training through Eligibility Traces (OTTT).
Experimental Evaluation
The researchers evaluated HLOP across several challenging continual learning benchmarks:
- Permuted MNIST (PMNIST): A domain-incremental task involving shuffled pixel patterns.
- 10-split CIFAR-100: A task-incremental benchmark where 100 classes are learned in sequential batches.
- 5-Datasets: A complex sequence consisting of CIFAR-10, MNIST, SVHN, FashionMNIST, and notMNIST.
- miniImageNet: A 20-split task-incremental benchmark.
Key Results
HLOP demonstrated state-of-the-art performance across all tested scenarios:
- Minimal Forgetting: On PMNIST, HLOP achieved an average accuracy of 95.15% with a Backward Transfer (BWT) of only -1.30%, compared to the -28.88% BWT seen in vanilla training.
- Superior Scalability: On the "5-Datasets" sequence, HLOP reached 88.65% accuracy, significantly outperforming established methods like Gradient Projection Memory (GPM), which achieved 79.70%.
- Robustness: The method remained effective even when using biologically plausible error signals like Feedback Alignment (FA) or Sign Symmetric (SS) weights instead of standard backpropagation.
Discussion and Future Work
HLOP represents a significant step toward bridging the gap between mathematical optimization and biological realism in SNNs. By decentralizing the calculation of orthogonal subspaces into local Hebbian rules, the authors provide a mechanism for lifelong learning that is both effective and hardware-friendly.
However, some challenges remain. The current implementation introduces computational overhead due to the additional lateral connections and requires manual tuning of the number of subspace neurons per layer. Furthermore, while HLOP excels at task-incremental learning, class-incremental learning—where the model must distinguish between all classes without a task ID—remains a target for future research, potentially requiring the integration of HLOP with sparse data replay mechanisms.
Summary updated