错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

RMPE:Reducing Residual Membrane Potential Error for Enabling High-Accuracy and Ultra-low-latency Spiking Neural Networks

  • Yunhua Chen,
  • Zhimin Xiong,
  • Ren Feng,
  • Pinghua Chen,
  • Jinsheng Xiao

摘要

Spiking neural networks (SNNs) have attracted great attention due to their distinctive properties of low power consumption and high computing efficiency on neuromorphic hardware. An effective way to obtain deep SNNs with competitive accuracy on large-scale datasets is ANN-SNN conversion. However, it requires a long time window to get an optimal mapping between the firing rates of SNNs and the activation of ANNs due to conversion error. Compared with the source ANN, the converted SNN usually suffers a huge loss of accuracy at ultra-low latency. In this paper, we first analyze the residual membrane potential error caused by the asynchronous transmission property of spikes at ultra-low latency, and we deduce an explicit expression for the residual membrane potential error (RMPE) and the SNN parameters. Then we propose a layer-by-layer calibration algorithm for these SNN parameters to eliminate RMPE. Finally, a two-stage ANN-SNN conversion scheme is proposed to eliminate the quantization error, the truncation error, and the RMPE separately. We evaluate our method on CIRFARs and ImageNet, and the experimental results show that the proposed ANN-SNN conversion method has a significant reduction in accuracy loss at ultra-low-latency. When T is \(\le 64\) , our method requires about half the latency of other methods of similar accuracy on ImageNet. The code is available at https://github.com/JominWink/SNN_Conversion_Phase.