[Paper Review] Training High-Performance Low-Latency Spiking Neural Networks by Differentiation on Spike Representation
This paper proposes Differentiation on Spike Representation (DSR), a novel method to train high-performance, low-latency Spiking Neural Networks (SNNs) by treating spike firing rates as differentiable representations. By modeling SNN dynamics as sub-differentiable mappings and training spike thresholds and a new hyperparameter, DSR achieves state-of-the-art accuracy on CIFAR-10, CIFAR-100, ImageNet, and DVS-CIFAR10 with minimal time steps, overcoming the trade-off between performance and latency.
Spiking Neural Network (SNN) is a promising energy-efficient AI model when implemented on neuromorphic hardware. However, it is a challenge to efficiently train SNNs due to their non-differentiability. Most existing methods either suffer from high latency (i.e., long simulation time steps), or cannot achieve as high performance as Artificial Neural Networks (ANNs). In this paper, we propose the Differentiation on Spike Representation (DSR) method, which could achieve high performance that is competitive to ANNs yet with low latency. First, we encode the spike trains into spike representation using (weighted) firing rate coding. Based on the spike representation, we systematically derive that the spiking dynamics with common neural models can be represented as some sub-differentiable mapping. With this viewpoint, our proposed DSR method trains SNNs through gradients of the mapping and avoids the common non-differentiability problem in SNN training. Then we analyze the error when representing the specific mapping with the forward computation of the SNN. To reduce such error, we propose to train the spike threshold in each layer, and to introduce a new hyperparameter for the neural models. With these components, the DSR method can achieve state-of-the-art SNN performance with low latency on both static and neuromorphic datasets, including CIFAR-10, CIFAR-100, ImageNet, and DVS-CIFAR10.
Motivation & Objective
- To address the challenge of training high-performance SNNs with low latency, as existing methods either sacrifice accuracy or require excessive time steps.
- To overcome the non-differentiability of spike trains in SNN backpropagation, which hinders gradient-based training.
- To enable effective backpropagation through SNNs without backpropagating through the temporal domain, reducing training cost.
- To reduce representation error from approximating SNN dynamics with finite time steps, improving accuracy at low latency.
- To demonstrate the effectiveness of the method on deep networks and neuromorphic datasets, achieving SOTA performance.
Proposed method
- The method encodes spike trains into weighted firing rate representations, treating them as the primary information carrier for backpropagation.
- It models the forward computation of common SNNs (e.g., IF, LIF) as sub-differentiable mappings, enabling gradient-based training despite non-differentiable spike functions.
- The approach avoids backpropagation through time by operating on spike representations rather than individual spikes at each time step.
- It introduces a trainable spike threshold per layer to reduce approximation error from finite time steps.
- A new hyperparameter is introduced for IF and LIF models to further minimize representation error and improve training stability.
- The method is applied end-to-end with standard backpropagation on the spike representation, enabling efficient training of deep SNNs.
Experimental results
Research questions
- RQ1Can SNNs be trained with high performance and low latency by avoiding direct backpropagation through time?
- RQ2Can spike firing rates be used as a differentiable representation to enable effective gradient-based training of SNNs?
- RQ3How can the approximation error introduced by finite time steps be minimized in low-latency SNN training?
- RQ4Does training the spike threshold and introducing a new hyperparameter significantly improve SNN performance at low latency?
- RQ5Can the DSR method scale to deep network architectures and neuromorphic datasets like DVS-CIFAR10?
Key findings
- DSR achieves state-of-the-art SNN performance on CIFAR-10 with 20 time steps, reaching 95.24% accuracy using PreAct-ResNet-18.
- On CIFAR-100, DSR achieves 86.58% accuracy with 20 time steps, outperforming existing methods at low latency.
- On ImageNet, DSR achieves 75.1% top-1 accuracy with only 10 time steps, demonstrating strong performance on large-scale datasets.
- On DVS-CIFAR10, DSR achieves 92.1% accuracy with 20 time steps, showing strong generalization to neuromorphic data.
- The ablation study confirms that training thresholds and introducing the new hyperparameter significantly reduce representation error, improving accuracy by up to 4.79% compared to baseline settings.
- The method scales effectively to deep networks, with performance improving on ResNet architectures up to 110 layers, indicating strong potential for deeper models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.