Skip to main content
QUICK REVIEW

[Paper Review] A Tandem Learning Rule for Effective Training and Rapid Inference of Deep Spiking Neural Networks

Jibin Wu, Yansong Chua|arXiv (Cornell University)|Jul 2, 2019
Advanced Memory and Neural ComputingEngineering75 references16 citations
TL;DR

This paper proposes a tandem learning rule that couples a Spiking Neural Network (SNN) with a differentiable Artificial Neural Network (ANN) to enable effective back-propagation training of SNNs. By sharing weights and using the ANN to approximate SNN spike counts for gradient computation, the method achieves competitive classification accuracy with at least a 10x reduction in inference time and synaptic operations compared to state-of-the-art SNNs.

ABSTRACT

Spiking neural networks (SNNs) represent the most prominent biologically inspired computing model for neuromorphic computing (NC) architectures. However, due to the non-differentiable nature of spiking neuronal functions, the standard error back-propagation algorithm is not directly applicable to SNNs. In this work, we propose a tandem learning framework, that consists of an SNN and an Artificial Neural Network (ANN) coupled through weight sharing. The ANN is an auxiliary structure that facilitates the error back-propagation for the training of the SNN at the spike-train level. To this end, we consider the spike count as the discrete neural representation in the SNN, and design ANN neuronal activation function that can effectively approximate the spike count of the coupled SNN. The proposed tandem learning rule demonstrates competitive pattern recognition and regression capabilities on both the conventional frame-based and event-based vision datasets, with at least an order of magnitude reduced inference time and total synaptic operations over other state-of-the-art SNN implementations. Therefore, the proposed tandem learning rule offers a novel solution to training efficient, low latency, and high accuracy deep SNNs with low computing resources.

Motivation & Objective

  • To address the challenge of training deep SNNs due to the non-differentiable nature of spiking neurons.
  • To enable effective back-propagation training of SNNs by leveraging a differentiable ANN as a surrogate for gradient computation.
  • To achieve low-latency, high-accuracy inference in SNNs suitable for energy-constrained neuromorphic hardware.
  • To reduce synaptic operations and inference time by exploiting sparse spike activity and efficient weight sharing.

Proposed method

  • A tandem network architecture is designed where an SNN and an ANN share the same weights, enabling gradient flow through the differentiable ANN.
  • Spike count is used as the discrete neural representation in the SNN, and the ANN's activation function is specifically designed to approximate this spike count.
  • Error back-propagation is performed on the ANN, which allows efficient and memory-efficient training of the SNN without direct gradient computation on non-differentiable spiking functions.
  • The method uses batch normalization to stabilize training and ensure effective information flow in deep SNNs.
  • The time window size is optimized to represent information efficiently, enabling rapid inference with minimal time steps.
  • The framework is evaluated on both frame-based (e.g., CIFAR-10) and event-based (e.g., DVS128 Gesture) datasets to demonstrate generalization.

Experimental results

Research questions

  • RQ1Can a differentiable ANN surrogate effectively approximate the spike count of a coupled SNN to enable back-propagation training?
  • RQ2Does the tandem learning rule achieve competitive classification accuracy on standard vision benchmarks while enabling rapid inference?
  • RQ3To what extent can the tandem method reduce synaptic operations and inference time compared to existing SNN training methods?
  • RQ4How well is the relationship between SNN spike counts and ANN activations preserved during training?
  • RQ5Can the tandem rule be extended to support temporal sequence learning, or is it limited to rate-based classification?

Key findings

  • The SNN trained with the tandem rule achieves competitive classification accuracy on CIFAR-10 and DVS128 Gesture datasets, comparable to state-of-the-art SNNs.
  • Inference time is reduced by at least an order of magnitude compared to other SNN implementations, with significantly fewer time steps required to reach optimal accuracy.
  • Total synaptic operations are reduced by at least an order of magnitude over baseline ANNs and other SNN methods, due to sparse activity and short encoding windows.
  • The cosine distance between ANN activations and SNN spike counts remains small throughout training, indicating strong alignment in high-dimensional representation.
  • A strong positive Pearson correlation is observed between weight-activation dot products in the ANN and SNN, confirming that the linear relationship is well preserved.
  • The method demonstrates superior energy efficiency, with SNNs being more efficient than ANNs when the SynOps ratio is below 1, and achieving at least 10x better efficiency than existing SNNs on VGGNet-9.

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.