Abstract
Spiking Neural Networks (SNNs) use spatio-temporal spike patterns to represent and transmit information, which is not only biologically realistic but also suitable for ultra-low-power event-driven neuromorphic implementation. Motivated by the success of deep learning, the study of Deep Spiking Neural Networks (DeepSNNs) provides promising directions for artificial intelligence applications. However, training of DeepSNNs is not straightforward because the well-studied error back-propagation (BP) algorithm is not directly applicable. In this paper, we first establish an understanding as to why error back-propagation does not work well in DeepSNNs. To address this problem, we propose a simple yet efficient Rectified Linear Postsynaptic Potential function (ReL-PSP) for spiking neurons and propose a Spike-Timing-Dependent Back-Propagation (STDBP) learning algorithm for DeepSNNs. In STDBP algorithm, the timing of individual spikes is used to convey information (temporal coding), and learning (back-propagation) is performed based on spike timing in an event-driven manner. Our experimental results show that the proposed learning algorithm achieves state-of-the-art classification accuracy in single spike time based learning algorithms of DeepSNNs. Furthermore, by utilizing the trained model parameters obtained from the proposed STDBP learning algorithm, we demonstrate the ultra-low-power inference operations on a recently proposed neuromorphic inference accelerator. Experimental results show that the neuromorphic hardware consumes 0.751 mW of the total power consumption and achieves a low latency of 47.71 ms to classify an image from the MNIST dataset. Overall, this work investigates the contribution of spike timing dynamics to information encoding, synaptic plasticity and decision making, providing a new perspective to design of future DeepSNNs and neuromorphic hardware systems.
Introduction: The Challenge of Deep SNNs
Spiking Neural Networks (SNNs) are often referred to as the "third generation" of neural networks. Unlike traditional Artificial Neural Networks (ANNs) that use continuous activation values, SNNs communicate via discrete, timed pulses called spikes. This event-driven nature allows for extreme energy efficiency, mimicking the biological brain. However, training deep SNNs (DeepSNNs) using standard backpropagation (BP) is difficult due to three primary hurdles identified by the authors:
- Non-differentiable Spike Functions: The discrete nature of firing a spike makes it impossible to calculate standard gradients.
- Exploding Gradients: In many models, gradients become infinite as membrane potential approaches the firing threshold, leading to training instability.
- Dead Neurons: Traditional "leaky" neurons lose potential over time. If a neuron never reaches the threshold to spike, no gradient can flow through it, rendering it "dead" during training.
Methodology: ReL-PSP and STDBP
To overcome these issues, the authors introduce the Rectified Linear Postsynaptic Potential (ReL-PSP) function. Traditional SNNs often use an "alpha-function" which is curved and leaky. In contrast, the ReL-PSP causes the membrane potential to increase linearly upon receiving an input spike.
Linear Stability and the Dead Neuron Problem
The linear nature of ReL-PSP ensures that the derivative used for backpropagation is a stable constant. This directly addresses the non-differentiability and exploding gradient problems. Furthermore, because ReL-PSP does not decay over time within the simulation window, neurons with positive weights are much more likely to eventually fire, effectively solving the "dead neuron" problem.
STDBP Algorithm
The Spike-Timing-Dependent Back-Propagation (STDBP) algorithm utilizes temporal coding, where information is encoded in the timing of a single spike. Learning is event-driven, with calculations occurring only when a spike is fired. This work represents the first successful implementation of a Convolutional SNN (C-SNN) using single-spike-timing-based supervised learning.
Experimental Results
The proposed model was evaluated on several computer vision benchmarks, demonstrating superior performance:
- MNIST: Achieved a state-of-the-art 99.4% accuracy, outperforming previous spike-driven algorithms.
- Fashion-MNIST: Reached 90.1% accuracy.
- Caltech 101 (Face/Motorbike): Achieved 99.5% accuracy on rescaled natural images.
The network also demonstrates significant efficiency through sparsity. In a 784-400-10 architecture, the output layer can classify an image after only 48.6% of the hidden neurons have spiked, showcasing the potential for "early exit" classification.
Hardware Implementation and Efficiency
The trained models were mapped onto YOSO, a neuromorphic inference accelerator utilizing a Network-on-Chip (NoC) architecture. The hardware results underscore the practical benefits of the STDBP approach:
- Ultra-low Power: Total power consumption of just 0.751 mW.
- Low Latency: Inference latency of 47.71 ms per MNIST image.
- Energy Efficiency: A 108.7x improvement in energy efficiency (measured in uJ/frame) compared to other platforms like SpiNNaker.
Conclusion
This research provides a robust framework for training DeepSNNs by introducing the ReL-PSP function and the STDBP algorithm. By addressing the fundamental issues of non-differentiability and dead neurons, the authors have enabled stable and efficient training of deep spiking architectures. While training is currently performed offline, future work aims to implement these rules for on-chip learning, enabling real-time adaptation. Scaling temporal-coding SNNs to larger datasets like ImageNet remains a key challenge for future exploration.
Summary updated