Temporal Spike Sequence Learning via Backpropagation for Deep Spiking Neural Networks.

Wenrui Zhang, Peng LiarXiv 2020

Abstract

Spiking neural networks (SNNs) are well suited for spatio-temporal learning and implementations on energy-efficient event-driven neuromorphic processors. However, existing SNN error backpropagation (BP) methods lack proper handling of spiking discontinuities and suffer from low performance compared with the BP methods for traditional artificial neural networks. In addition, a large number of time steps are typically required to achieve decent performance, leading to high latency and rendering spike-based computation unscalable to deep architectures. We present a novel Temporal Spike Sequence Learning Backpropagation (TSSL-BP) method for training deep SNNs, which breaks down error backpropagation across two types of inter-neuron and intra-neuron dependencies and leads to improved temporal learning precision. It captures inter-neuron dependencies through presynaptic firing times by considering the all-or-none characteristics of firing activities and captures intra-neuron dependencies by handling the internal evolution of each neuronal state in time. TSSL-BP efficiently trains deep SNNs within a much shortened temporal window of a few steps while improving the accuracy for various image classification datasets including CIFAR10.

Introduction

Spiking Neural Networks (SNNs) represent the "third generation" of neural networks, designed to mimic the brain's energy efficiency by communicating via discrete electrical pulses (spikes). While they are ideal for specialized neuromorphic hardware like Intel’s Loihi, training them effectively has been notoriously difficult.

Two main challenges have hindered SNN development: the "Dead Neuron" gradient problem, where discrete spikes are mathematically non-differentiable, and high latency, where networks require hundreds of time steps to achieve competitive accuracy. Researchers from UC Santa Barbara have addressed these issues with Temporal Spike Sequence Learning via Backpropagation (TSSL-BP), a method that achieves state-of-the-art accuracy with ultra-low latency.

The TSSL-BP Method

Instead of treating spikes as noisy continuous signals or relying on crude surrogate gradients, TSSL-BP precisely models how spike timings shift across two distinct types of dependencies:

Overview of the SNN architecture and signal flow between layers.
  • Inter-neuron Dependencies: This captures how a spike from a presynaptic neuron affects a postsynaptic neuron. Crucially, it considers how a small shift in the timing of a presynaptic spike changes the postsynaptic membrane potential.
  • Intra-neuron Dependencies: This captures the internal evolution of a single neuron over time, modeling how a firing event affects the neuron's own ability to fire again later due to the "reset" mechanism.
Illustration of non-differentiable vs. smoothed activation and the modeling of inter- and intra-neuron dependencies.

By precisely calculating these dependencies, TSSL-BP avoids the "fictitious" smoothing used in other methods. This allows the network to learn effectively even when the simulation is restricted to a very small temporal window of just 5 steps—an 80x reduction in latency compared to previous state-of-the-art methods.

Experimental Results

The researchers evaluated TSSL-BP on four major image classification benchmarks: MNIST, N-MNIST (neuromorphic), FashionMNIST, and CIFAR10. The method demonstrated significant improvements over previous SNN training approaches:

  • CIFAR10: Achieved 91.41% accuracy in just 5 time steps, bringing SNNs much closer to the performance of standard ResNets.
  • MNIST: Achieved 99.53% accuracy in 5 steps, outperforming methods that used 100+ steps.
  • N-MNIST: Set a new benchmark for neuromorphic datasets with 99.40% accuracy while using 10x fewer time steps than previous leaders.

Importantly, the networks remain sparse and energy-efficient. In the CIFAR10 model, over 84% of neurons remain silent, which is key to the low-power operation of neuromorphic hardware.

Discussion and Future Work

While TSSL-BP is a major step forward, challenges remain in scaling these architectures to massive datasets like ImageNet. Additionally, while the algorithmic performance is clear, the next logical step is demonstrating these 5-step deep SNNs running in real-time on neuromorphic chips to measure actual power savings. Nevertheless, TSSL-BP proves that with precise gradient modeling, SNNs can overcome their historical latency and accuracy barriers.

Summary updated

BibTeX
@misc{zhang2020temporal,
  author = {Wenrui Zhang and Peng Li},
  title = {{Temporal Spike Sequence Learning via Backpropagation for Deep Spiking Neural Networks.}},
  year = {2020},
  eprint = {2002.10085},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.10085},
}
Figure