Long short-term memory and Learning-to-learn in networks of spiking neurons

Guillaume Bellec, Darjan Salaj, Anand Subramoney, Robert Legenstein, Wolfgang Maass

Abstract

This research, presented at NeurIPS 2018, introduces LSNNs (Long short-term memory Spiking Neural Networks), a novel architecture that bridges the gap between biologically realistic spiking neural networks (SNNs) and high-performance recurrent neural networks like LSTMs. By incorporating a biologically inspired "neuronal adaptation" mechanism and optimizing via backpropagation and meta-learning, LSNNs achieve near-LSTM performance on complex temporal tasks and demonstrate the ability to learn new behaviors without real-time synaptic weight changes.

Introduction

Recurrent networks of spiking neurons (RSNNs) are theoretically ideal for energy-efficient temporal processing on neuromorphic hardware. However, they have historically lagged behind Artificial Neural Networks (ANNs) due to an optimization gap—brains are pre-configured by evolution—and a temporal dynamics gap—simple spiking neurons lack the long-lasting internal dynamics required for robust working memory. This paper addresses these challenges by introducing adaptive neurons and a "learning-to-learn" (L2L) framework.

Methods: The LSNN Architecture

The core innovation is the LSNN Model, which integrates standard Leaky Integrate-and-Fire (LIF) neurons with adaptive LIF neurons. In these adaptive neurons, the firing threshold increases after each spike and decays slowly over seconds, serving as a memory trace.

Network connectivity diagram showing the interaction between input (X), regular spiking (R), and adaptive (A) neurons.

To train these networks, the authors employed several techniques:

  • BPTT with Pseudo-Derivatives: Overcoming the non-differentiability of spikes using smooth approximations for gradient flow.
  • DEEP R (Rewiring): A biologically inspired algorithm that optimizes network sparsity and architecture alongside weights.
  • Learning-to-Learn (L2L): A meta-learning scheme where an outer loop (BPTT) optimizes weights so the network's internal dynamics can solve new tasks rapidly.

Key Insights

  • Adaptation as Gating: The threshold adaptation in LSNNs mimics the gating mechanisms of LSTMs, allowing information storage in non-firing states—a highly energy-efficient approach.
  • Weight-Free Learning: Through L2L, LSNNs can "learn" new tasks by shifting firing patterns and threshold levels rather than requiring immediate synaptic changes.
  • Efficiency through Sparsity: Sparse, rewired LSNNs often outperformed fully connected counterparts, demonstrating the advantages of optimized biological-like architectures.

Key Results

The model was evaluated on challenging benchmarks including Sequential MNIST, TIMIT speech recognition, and 2D navigation tasks.

Performance comparison showing LSNNs achieving near-LSTM accuracy on Sequential MNIST, significantly outperforming standard LIF-based SNNs.
  • Closing the Gap: On Sequential MNIST, LSNNs reached 96.4% accuracy, rivaling the 98.0% of LSTMs.
  • Speech Recognition: LSNNs achieved a 33.2% classification error on TIMIT, outperforming some simplified LSTM variants.
  • Rapid Adaptation: In meta-learning tasks, LSNNs learned complex functions within 5 to 20 trials and discovered abstract rules in navigation tasks without weight updates.

Conclusion

LSNNs represent a significant step toward functional, energy-efficient neuromorphic AI. While BPTT is used as a proxy for evolutionary optimization rather than a model of real-time biological learning, the results demonstrate that spiking neurons can match the computational power of modern ANNs. Future work will focus on scaling these models to larger datasets and validating their efficiency on specialized neuromorphic hardware.

Summary updated

BibTeX
@inproceedings{bellec2018long,
  author = {Guillaume Bellec and Darjan Salaj and Anand Subramoney and Robert Legenstein and Wolfgang Maass},
  title = {{Long short-term memory and Learning-to-learn in networks of spiking neurons}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=r1NQU_bOWB},
}
Figure