Skip to main content
QUICK REVIEW

[Paper Review] Effective and Efficient Computation with Multiple-timescale Spiking Recurrent Neural Networks

Bojian Yin, Federico Corradi|arXiv (Cornell University)|May 24, 2020
Advanced Memory and Neural ComputingEngineering40 references10 citations
TL;DR

This paper proposes a novel adaptive spiking recurrent neural network (SRNN) that leverages surrogate gradients and backpropagation-through-time in PyTorch to train multiple-timescale spiking neurons, achieving state-of-the-art performance on sequential and streaming tasks—matching or exceeding classical RNNs while enabling over 100x energy efficiency gains due to sparse activity.

ABSTRACT

The emergence of brain-inspired neuromorphic computing as a paradigm for edge AI is motivating the search for high-performance and efficient spiking neural networks to run on this hardware. However, compared to classical neural networks in deep learning, current spiking neural networks lack competitive performance in compelling areas. Here, for sequential and streaming tasks, we demonstrate how a novel type of adaptive spiking recurrent neural network (SRNN) is able to achieve state-of-the-art performance compared to other spiking neural networks and almost reach or exceed the performance of classical recurrent neural networks (RNNs) while exhibiting sparse activity. From this, we calculate a $>$100x energy improvement for our SRNNs over classical RNNs on the harder tasks. To achieve this, we model standard and adaptive multiple-timescale spiking neurons as self-recurrent neural units, and leverage surrogate gradients and auto-differentiation in the PyTorch Deep Learning framework to efficiently implement backpropagation-through-time, including learning of the important spiking neuron parameters to adapt our spiking neurons to the tasks.

Motivation & Objective

  • To develop energy-efficient spiking recurrent neural networks (SRNNs) suitable for neuromorphic edge AI hardware.
  • To overcome the challenge of non-differentiable spiking neuron activation functions in training SNNs.
  • To enable end-to-end backpropagation through time (BPTT) in SRNNs by training not only network weights but also spiking neuron parameters such as time constants.
  • To demonstrate that adaptive, multi-timescale spiking neurons can achieve performance competitive with classical RNNs on sequential and streaming tasks.
  • To quantify and demonstrate significant energy efficiency improvements over classical RNNs through theoretical energy cost analysis.

Proposed method

  • Models standard and adaptive spiking neurons as self-recurrent units with multiple dynamical timescales.
  • Employs surrogate gradients to enable differentiable training of non-differentiable spiking neuron activation functions.
  • Utilizes automatic differentiation in the PyTorch deep learning framework to perform backpropagation-through-time (BPTT) on SRNNs.
  • Trains not only network weights but also key spiking neuron parameters (e.g., time constants) via BPTT to adapt to task-specific temporal dynamics.
  • Implements sparse, event-driven computation by leveraging low average firing rates (Fr << 1) in the network.
  • Uses theoretical energy cost modeling based on MAC and AC operations, with energy proportional to spiking activity (Fr), to quantify efficiency gains.

Experimental results

Research questions

  • RQ1Can adaptive spiking recurrent neural networks trained with surrogate gradients and BPTT achieve performance competitive with classical RNNs on sequential and streaming tasks?
  • RQ2Does training the time constants of spiking neurons enable better adaptation to task-specific temporal dynamics compared to fixed-time-scale neurons?
  • RQ3To what extent can spiking SRNNs achieve energy efficiency improvements over classical RNNs, particularly in high-performance scenarios?
  • RQ4How does the inclusion of multiple timescales in spiking neurons affect network performance and energy efficiency?
  • RQ5Can the integration of complex SNNs into modern deep learning frameworks like PyTorch enable scalable and efficient training of large-scale spiking networks?

Key findings

  • The adaptive SRNN achieved 84.4% accuracy on the QTDB ECG classification task, outperforming the LIF SRNN (73.7%) and approaching the performance of classical LSTMs.
  • On the SHD audio dataset, the adaptive SRNN reached 81.71% accuracy, with a theoretical energy efficiency 243x better than the RELU SRNN and over 100x more efficient than classical LSTMs.
  • On S-MNIST, the adaptive SRNN achieved 97.82% accuracy, matching or exceeding state-of-the-art SNNs and approaching classical RNN performance.
  • The energy ratio analysis showed that the adaptive SRNN was 1930x more energy efficient than the bidirectional LSTM on the PS-MNIST task.
  • Theoretical energy modeling confirmed that SRNNs achieve >100x energy efficiency gains over classical RNNs on complex tasks due to sparse spiking activity (Fr << 1).
  • Converting the SRNN to a non-spiking RELU RNN consistently increased performance, suggesting that hierarchical recurrent architectures are particularly effective in this framework.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.