Signed Neuron with Memory: Towards Simple, Accurate and High-Efficient ANN-SNN Conversion

Yuchen Wang, Malu Zhang, Yi Chen, Hong QuIJCAI 2022

Researchers from UESTC have introduced a breakthrough in converting Artificial Neural Networks (ANNs) to Spiking Neural Networks (SNNs). Their approach achieves near-lossless accuracy with ultra-low latency by introducing a Signed Neuron with Memory (SNM) to handle asynchronous spike errors and a Neuron-wise Normalization strategy. This method achieved state-of-the-art results on ImageNet (73.16% top-1) using significantly fewer time steps than previous conversion techniques.

The Challenge: Bridging the ANN-SNN Gap

While SNNs are biologically inspired and energy-efficient on neuromorphic hardware, they are difficult to train directly due to their non-differentiable nature. A common solution is ANN-SNN conversion, mapping a pre-trained ANN (using ReLU) onto an SNN. However, this process faces two major hurdles:

  1. Inconsistency Errors: ANNs are synchronous, while SNNs are asynchronous. If inhibitory signals (negative spikes) arrive later than excitatory ones, a neuron might over-fire early on, creating a mismatch between the ANN's ReLU output and the SNN's firing rate.
  2. High Latency: Standard layer-wise normalization often sets firing thresholds based on the maximum activation of an entire layer. This leads to many neurons having very low firing rates, requiring thousands of simulation steps to transmit enough information for accurate predictions.
Comparison of ReLU and standard IF neurons highlighting asynchronous transmission errors.

Proposed Solutions

1. Signed Neuron with Memory (SNM)

To resolve asynchronous transmission errors, the authors designed the SNM. Unlike standard Integrate-and-Fire (IF) neurons, the SNM can emit negative spikes and utilizes a memory mechanism to track the sum of its transmitted spikes.

  • The Logic: If the membrane potential is high, it fires a positive spike. If the potential is very low and the memory of previous spikes is greater than zero, it fires a negative spike to "cancel out" previous over-firing. This ensures the SNN firing rate matches the ANN's ReLU activation without sacrificing asynchronous processing benefits.
The SNM mechanism: using negative spikes and memory to maintain mathematical parity with ReLU.

2. Neuron-wise Normalization (NeuronNorm)

Instead of scaling parameters based on the maximum activation of a whole layer, the authors propose NeuronNorm. By recording the maximum activation for every individual neuron in the ANN and using those specific values as firing thresholds, information loss is significantly reduced. This allows the network to reach high accuracy in far fewer time steps—often under 128.

Key Results and Insights

The proposed method consistently outperformed existing state-of-the-art (SOTA) conversion techniques across standard benchmarks:

  • Accuracy: Achieved 95.44% on CIFAR-10 (ResNet-18) and 73.16% on ImageNet (VGG-16).
  • Latency: On CIFAR-10, the model reached near-peak accuracy in just 32 time steps, compared to the 256–2048 steps required by previous methods.
  • Energy Efficiency: On ImageNet, the SNN model consumes only 50.12% of the energy of its ANN counterpart at 32 time steps, leveraging the sparse nature of spiking activity.

Conclusion

By addressing the fundamental mismatch between synchronous ANNs and asynchronous SNNs through the SNM and granular NeuronNorm, this research provides a simple yet highly effective pathway for deploying accurate, low-latency SNNs on neuromorphic hardware. Future work will focus on hardware implementation and more effective integration of Batch Normalization layers.

Summary updated

BibTeX
@inproceedings{wang2022signed,
  author = {Yuchen Wang and Malu Zhang and Yi Chen and Hong Qu},
  title = {{Signed Neuron with Memory: Towards Simple, Accurate and High-Efficient ANN-SNN Conversion}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/347},
}
Figure