Context Gating in Spiking Neural Networks: Achieving Lifelong Learning through Integration of Local and Global Plasticity
Jiangrong Shen, Wenyao Ni, Qi Xu, Gang Pan, Huajin Tang
TL;DR
The paper tackles lifelong learning in spiking neural networks by introducing context gating (CG-SNN) that integrates local plasticity (STDP or Oja’s rule) with global backpropagation to emulate cognitive control. It presents two implementations, a single-spike and a multi-spike variant, and demonstrates through experiments with human-like cognitive tasks that CG-SNN can retain past knowledge while adapting to new tasks, with the multi-spike version showing superior memory retention and alignment with human data. The approach yields higher task-selectivity in neurons and reproduces key human behavioral patterns, such as the advantage of blocked over interleaved training and congruency effects, suggesting biological plausibility and potential for scalable neuromorphic deployment. The results indicate that combining local context gating with global learning offers a viable path to robust, energy-efficient lifelong learning in SNNs, with broad implications for neuro-inspired hardware and cognition modeling.
Abstract
Humans learn multiple tasks in succession with minimal mutual interference, through the context gating mechanism in the prefrontal cortex (PFC). The brain-inspired models of spiking neural networks (SNN) have drawn massive attention for their energy efficiency and biological plausibility. To overcome catastrophic forgetting when learning multiple tasks in sequence, current SNN models for lifelong learning focus on memory reserving or regularization-based modification, while lacking SNN to replicate human experimental behavior. Inspired by biological context-dependent gating mechanisms found in PFC, we propose SNN with context gating trained by the local plasticity rule (CG-SNN) for lifelong learning. The iterative training between global and local plasticity for task units is designed to strengthen the connections between task neurons and hidden neurons and preserve the multi-task relevant information. The experiments show that the proposed model is effective in maintaining the past learning experience and has better task-selectivity than other methods during lifelong learning. Our results provide new insights that the CG-SNN model can extend context gating with good scalability on different SNN architectures with different spike-firing mechanisms. Thus, our models have good potential for parallel implementation on neuromorphic hardware and model human's behavior.
