Skip to main content
QUICK REVIEW

[Paper Review] Accurate and efficient time-domain classification with adaptive spiking recurrent neural networks

Bojian Yin, Federico Corradi|arXiv (Cornell University)|Mar 12, 2021
Advanced Memory and Neural ComputingEngineering13 citations
TL;DR

This paper proposes adaptive spiking recurrent neural networks (SRNNs) with a novel Multi-Gaussian surrogate gradient and trainable neuron time constants, achieving state-of-the-art performance on time-domain benchmarks like speech and gesture recognition—surpassing both SNNs and classical RNNs while enabling one to three orders of magnitude higher computational efficiency due to sparse spiking activity.

ABSTRACT

Inspired by more detailed modeling of biological neurons, Spiking neural networks (SNNs) have been investigated both as more biologically plausible and potentially more powerful models of neural computation, and also with the aim of extracting biological neurons' energy efficiency; the performance of such networks however has remained lacking compared to classical artificial neural networks (ANNs). Here, we demonstrate how a novel surrogate gradient combined with recurrent networks of tunable and adaptive spiking neurons yields state-of-the-art for SNNs on challenging benchmarks in the time-domain, like speech and gesture recognition. This also exceeds the performance of standard classical recurrent neural networks (RNNs) and approaches that of the best modern ANNs. As these SNNs exhibit sparse spiking, we show that they theoretically are one to three orders of magnitude more computationally efficient compared to RNNs with comparable performance. Together, this positions SNNs as an attractive solution for AI hardware implementations.

Motivation & Objective

  • To address the performance gap between spiking neural networks (SNNs) and classical artificial neural networks (ANNs) in temporal sequence modeling.
  • To improve SNN training stability and accuracy on challenging time-domain tasks such as speech and gesture recognition.
  • To enable energy-efficient AI hardware deployment by leveraging the sparse, event-based nature of spiking neurons.
  • To demonstrate that SNNs can match or exceed classical RNN performance while maintaining low computational and energy costs.

Proposed method

  • Introduces a novel Multi-Gaussian surrogate gradient that includes negative slopes, inspired by the ELU activation function, to better approximate the non-differentiable spiking function during backpropagation.
  • Employs back-propagation-through-time (BPTT) on recurrent spiking neurons using the proposed surrogate gradient for end-to-end training.
  • Co-trains the internal time-constant parameters of adaptive leaky-integrate-and-fire (LIF) neurons alongside network weights to improve learning dynamics and performance.
  • Uses level-crossing encoding to convert continuous input signals (e.g., ECG, audio) into spike trains, preserving temporal information for time-domain processing.
  • Applies bi-directional SRNNs with averaging of forward and backward hidden states to enhance sequence modeling on tasks like TIMIT.
  • Models theoretical energy efficiency by comparing Accumulate (AC) and Multiply-Accumulate (MAC) operation costs, showing SNNs require significantly fewer MAC operations due to sparse spiking.

Experimental results

Research questions

  • RQ1Can a novel surrogate gradient improve training stability and performance in spiking recurrent networks for time-domain tasks?
  • RQ2Does co-training the time constants of spiking neurons lead to better generalization and accuracy compared to fixed parameters?
  • RQ3Can SRNNs achieve state-of-the-art performance on challenging benchmarks such as Google Speech Commands, TIMIT, and SoLi gesture recognition?
  • RQ4To what extent do sparse spiking patterns in SRNNs reduce computational and energy costs compared to standard RNNs and ANNs with similar accuracy?
  • RQ5Can SRNNs match or exceed the performance of classical RNNs while maintaining the energy efficiency inherent to spiking systems?

Key findings

  • The proposed Multi-Gaussian surrogate gradient consistently outperforms existing surrogate gradients across all evaluated benchmarks, including ECG, speech, and gesture recognition tasks.
  • Co-training the time constants of adaptive spiking neurons leads to a consistent performance gain, especially on complex temporal tasks like TIMIT and SoLi.
  • SRNNs achieve state-of-the-art performance on the Google Speech Commands dataset, surpassing previous SNNs and approaching the performance of the best modern ANNs.
  • On the TIMIT benchmark, the bi-directional adaptive SRNN achieves high accuracy by leveraging forward and backward sequence processing with averaged outputs.
  • The average spiking neuron in the SRNNs emits a spike only once every 3 to 30 timesteps, indicating highly sparse activity.
  • Theoretical energy cost analysis shows that SRNNs are one to three orders of magnitude more computationally efficient than RNNs and ANNs with comparable accuracy, due to dominance of low-cost AC operations over expensive MAC operations.

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.