Stimulating STDP to Exploit Locality for Lifelong Learning without Catastrophic Forgetting

Jason M. Allred, Kaushik RoyarXiv 2019

This paper presents a biologically inspired approach to one of the most persistent hurdles in artificial intelligence: lifelong learning. While humans can learn new skills throughout their lives without forgetting how to walk or talk, traditional artificial neural networks suffer from "catastrophic forgetting"—learning a new task typically wipes out the weights associated with previous ones.

Researchers at Purdue University have developed Controlled Forgetting Networks (CFNs), which use a biologically inspired "dopaminergic" signal to selectively modulate plasticity in Spiking Neural Networks (SNNs). By targeting specific neurons for adaptation while keeping others stable, CFNs can learn new tasks sequentially with minimal loss of prior knowledge.

The Stability-Plasticity Dilemma

The authors tackle the stability-plasticity dilemma. In a deployed, autonomous system, data arrives in a stream, not a shuffled deck. Standard training methods like Stochastic Gradient Descent (SGD) require data to be "i.i.d." (independent and identically distributed). When a network is presented with tasks sequentially (e.g., learn all the '0's, then all the '1's), the new gradients conflict with the old ones, leading to catastrophic forgetting.

Comparison of accuracy over sequential tasks between lifelong learning and traditional machine learning.

While Spiking Neural Networks (SNNs) use a local learning rule called Spike Timing Dependent Plasticity (STDP) that should provide some isolation, global mechanisms like homeostasis often inadvertently cause new information to overwrite old, useful representations.

Methods: Controlled Forgetting Networks (CFNs)

The authors introduce CFNs, which incorporate several novel mechanisms to manage network resources and gate plasticity:

  1. Dopaminergic Novelty Detection: The network includes a "dopaminergic neuron" at each layer. This neuron is designed to be "self-firing" but is inhibited by the activity of other neurons in its layer. If an input is familiar, the layer fires, inhibiting the dopaminergic neuron. If the input is novel, the layer remains quiet, the inhibition lifts, and the dopaminergic neuron fires.
  2. Targeted Stimulation: When the dopaminergic neuron fires, it sends an excitatory signal to specific "target" neurons. These targets are chosen based on low firing frequency (outliers) or "stale" activity. This effectively "repurposes" the least useful parts of the network for the new task.
  3. Heterogeneous Plasticity Modulation: The dopaminergic signal doesn't just make neurons fire; it temporarily boosts their learning rate. This allows for rapid, "one-shot" style learning of novel information in a localized area of the network while the rest of the network remains "rigid" and protected.
Architecture of the Controlled Forgetting Network (CFN) featuring a dopaminergic neuron for novelty detection.
  1. Stabilized STDP: The authors modified the standard one-sided STDP rule using a variation of Oja’s rule. By dynamically tying the weight offset to the current weight value, they ensured that synaptic weights migrate toward the "angle" of the input pattern rather than growing or shrinking uncontrollably.

Key Results and Insights

The primary benchmark used is the MNIST dataset of handwritten digits in a completely disjoint setup: the network is shown all samples of digit '0', then all of digit '1', and so on. This is a significantly harder challenge than standard shuffled training.

  • State-of-the-Art Accuracy: A 6400-neuron CFN achieved 95.36% accuracy on the disjoint MNIST task, the highest unsupervised accuracy ever achieved by a fixed-size, single-layer SNN on this benchmark.
  • Minimal Sequential Penalty: Compared to an "offline" version of the network trained on shuffled data, the CFN only saw a 1.17% drop in accuracy.
  • Graceful Degradation: Instead of a sharp drop-off in performance when a new digit is introduced, the CFN showed a slow, graceful decline in accuracy for older tasks, proving that the "controlled" aspect of their forgetting mechanism works as intended.

Limitations and Future Work

While impressive, the current work is limited to a single-layer SNN. Real-world applications would require scaling these principles to deeper, multi-layer architectures. Additionally, MNIST is a relatively simple dataset; future work must evaluate CFNs on more complex, time-encoded signals and more varied datasets. Finally, SNNs remain sensitive to hyperparameters like firing thresholds, and making these networks more robust to parameter changes is a key ongoing challenge.

Summary updated

BibTeX
@misc{allred2019stimulating,
  author = {Jason M. Allred and Kaushik Roy},
  title = {{Stimulating STDP to Exploit Locality for Lifelong Learning without Catastrophic Forgetting}},
  year = {2019},
  eprint = {1902.03187},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1902.03187},
}
Figure