Deep Spiking Neural Network with Spike Count based Learning Rule

Jibin Wu, Yansong Chua, Malu Zhang, Qu Yang, Guoqi Li, Haizhou Li

Abstract

This paper presents a pragmatic approach to training Deep Spiking Neural Networks (SNNs) by shifting the focus from precise spike timing to aggregate spike counts. The authors propose a novel spike-based learning rule that uses spike count as a differentiable surrogate for gradient backpropagation. This allows for direct training of energy-efficient spiking models that achieve state-of-the-art accuracy on MNIST (99.26%) while significantly reducing inference latency compared to traditional ANN-to-SNN conversion methods.

Introduction

Spiking Neural Networks (SNNs) are often hailed as the "third generation" of neural networks, designed to mimic the brain's energy efficiency by communicating via discrete "spikes." However, they face two primary challenges: the non-differentiability of discrete spike events, which complicates standard backpropagation, and the latency-accuracy trade-off inherent in ANN-to-SNN conversion methods. Conversion often requires thousands of simulation time steps to reach peak accuracy, negating the speed benefits of neuromorphic hardware. This work argues that for rate-coded inputs, temporal credit assignment is unnecessarily complex, and proposes a simpler, count-based approach.

Methods: Spike Count-based Learning Rule

The researchers utilize a Non-Leaky Integrate-and-Fire (IF) neuron model where temporal dynamics are simplified to accumulation, firing at a threshold, and resetting. The core innovation is the Spike Count-based Learning Rule.

Instead of tracking individual spike times, the algorithm uses the total spike count of a neuron over a simulation window as a proxy for its activation. This treats spike count generation as a quantized transfer function, similar to a ReLU but restricted to integer values.

The quantized activation function $a_j^l$ derived from the spike count over a simulation window.

By training the network as an SNN from the start, hardware constraints—such as maximum firing rates and simulation time limits—can be incorporated directly into the training process. This "hardware-aware" training ensures the model is optimized for low-latency deployment.

Experimental Results

The model was evaluated on classic UCI datasets and the MNIST benchmark.

UCI Benchmarks

On the Iris, Wisconsin Breast Cancer, Abalone, and Yeast datasets, the deep SNN achieved 100% accuracy. This performance significantly outperformed previous "rank-order" spiking learning rules, particularly on the more complex Abalone and Yeast datasets.

MNIST Performance

The proposed method achieved state-of-the-art results for SNNs on the MNIST dataset. The Spiking Multi-Layer Perceptron (MLP) reached 98.66% accuracy, while the Spiking Convolutional Neural Network (CNN) achieved 99.26%.

Comparison of MNIST test accuracy for the proposed rate-coded SNN against other state-of-the-art models.

Crucially, these results were obtained with very low latency (10-50 simulation steps), addressing the bottleneck typically seen in converted ANNs.

Discussion and Conclusion

The results demonstrate that for many computer vision tasks, the aggregate spike count is a sufficient and efficient metric for training deep SNNs. By ignoring temporal jitter, the learning rule becomes computationally efficient and requires less memory.

However, limitations remain. The quantization error introduced by rounding membrane potentials to integer spike counts may accumulate in much deeper architectures like ResNet-101. Additionally, because this rule ignores temporal dynamics, it is likely unsuitable for tasks where precise spike timing is critical, such as stereo vision or auditory processing. Future work will focus on scaling this approach to larger datasets like ImageNet and deeper network architectures.

Summary updated

BibTeX
@inproceedings{wu2019deep,
  author = {Jibin Wu and Yansong Chua and Malu Zhang and Qu Yang and Guoqi Li and Haizhou Li},
  title = {{Deep Spiking Neural Network with Spike Count based Learning Rule}},
  booktitle = {IJCNN},
  year = {2019},
  url = {https://openreview.net/forum?id=QnD7-cc2MO},
}
Figure