Efficient Spiking Neural Networks with Sparse Selective Activation for Continual Learning

Jiangrong Shen, Wenyao Ni, Qi Xu, Huajin TangAAAI 2024

Introduction

Artificial intelligence systems frequently encounter the challenge of "catastrophic forgetting" during continual learning, where the acquisition of new tasks leads to the erasure of previously learned information. While biological brains mitigate this through context gating—selectively activating specific neural subpopulations—standard artificial neural networks often struggle to replicate this efficiency. Spiking Neural Networks (SNNs), despite their biological plausibility and energy efficiency, are not immune to this issue. This paper introduces the Selective Activation SNN (SA-SNN), a novel architecture designed to achieve robust continual learning by mimicking biological sparsity and dynamic thresholding.

Methodology: The SA-SNN Architecture

The SA-SNN addresses catastrophic forgetting by ensuring that different tasks are routed to distinct, sparse subpopulations of neurons. This is achieved through two primary mechanisms:

Trace-Based K-Winner-Take-All (K-WTA)

In traditional SNNs, selecting active neurons based on instantaneous firing rates can be noisy due to the discrete nature of spikes. The SA-SNN utilizes a temporal trace—a variable that integrates spike activity over time with a decay factor. By applying a K-WTA mechanism to these traces, the network identifies "winner" neurons based on their recent history of activity rather than a single time step. This ensures stable, temporally consistent neuron selection.

Variable Thresholding

To prevent a subset of highly active neurons from dominating all tasks—which would lead to interference and forgetting—the model implements dynamic firing thresholds. As a neuron fires more frequently, its threshold increases, making it progressively harder to trigger. This "fatigue" mechanism forces the network to recruit underutilized or "silent" neurons for new tasks, effectively distributing the representational load across the entire population.

Overview of the SA-SNN architecture, illustrating the integration of trace-based K-WTA and variable thresholding for task-specific neuron recruitment.

Experimental Evaluation

The model was evaluated on standard benchmarks adapted for Class-Incremental Learning (Class-IL), including splitMNIST, splitCIFAR10, and splitCIFAR100. In these settings, the model must distinguish between all previously seen classes without explicit task labels during inference. For complex image data like CIFAR, a pre-trained feature extractor was used to provide embeddings to the SNN classification layers.

Key Results and Discussion

The SA-SNN demonstrates significant performance gains over existing SNN regularization techniques. On the splitCIFAR10 benchmark, SA-SNN achieved an accuracy of 77.73%, vastly outperforming EWC-SNN (30.04%) and MAS-SNN (30.44%).

Test accuracy comparison across various models as the number of learned classes increases. SA-SNN maintains significantly higher performance than standard SNN regularization methods.

Furthermore, the model showed strong synergy with traditional regularization methods. When combined with Elastic Weight Consolidation (EWC), the hybrid SA-SNN+EWC model reached 80.39% accuracy on CIFAR10. This suggests that structural sparsity (selective activation) and parameter-based constraints (regularization) are complementary strategies for mitigating forgetting.

Conclusion

The SA-SNN provides a biologically inspired solution to catastrophic forgetting in SNNs. By leveraging temporal traces for stable neuron selection and variable thresholds to ensure population-wide utilization, the model achieves state-of-the-art performance in class-incremental learning without requiring task labels or memory replay. Future work will focus on end-to-end training of the feature extraction layers and deployment on neuromorphic hardware to fully realize the energy-efficiency benefits of the architecture.

Summary updated

BibTeX
@inproceedings{shen2024efficient,
  author = {Jiangrong Shen and Wenyao Ni and Qi Xu and Huajin Tang},
  title = {{Efficient Spiking Neural Networks with Sparse Selective Activation for Continual Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i1.27817},
}
Figure