Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Optimal ANN-SNN Conversion for High-accuracy and Ultra-low-latency Spiking Neural Networks

About

Spiking Neural Networks (SNNs) have gained great attraction due to their distinctive properties of low power consumption and fast inference on neuromorphic hardware. As the most effective method to get deep SNNs, ANN-SNN conversion has achieved comparable performance as ANNs on large-scale datasets. Despite this, it requires long time-steps to match the firing rates of SNNs to the activation of ANNs. As a result, the converted SNN suffers severe performance degradation problems with short time-steps, which hamper the practical application of SNNs. In this paper, we theoretically analyze ANN-SNN conversion error and derive the estimated activation function of SNNs. Then we propose the quantization clip-floor-shift activation function to replace the ReLU activation function in source ANNs, which can better approximate the activation function of SNNs. We prove that the expected conversion error between SNNs and ANNs is zero, enabling us to achieve high-accuracy and ultra-low-latency SNNs. We evaluate our method on CIFAR-10/100 and ImageNet datasets, and show that it outperforms the state-of-the-art ANN-SNN and directly trained SNNs in both accuracy and time-steps. To the best of our knowledge, this is the first time to explore high-performance ANN-SNN conversion with ultra-low latency (4 time-steps). Code is available at https://github.com/putshua/SNN\_conversion\_QCFS

Tong Bu, Wei Fang, Jianhao Ding, PengLin Dai, Zhaofei Yu, Tiejun Huang• 2023

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-10 (test)
Accuracy94.82
3381
Image ClassificationCIFAR-10--
973
Image ClassificationCIFAR-100--
375
Image ClassificationImageNet-1k 1.0 (test)
Top-1 Accuracy72.85
341
Image ClassificationTiny-ImageNet
Accuracy (%)53.54
134
Image ClassificationImageNet-200
Accuracy53.54
34
Image ClassificationCIFAR-100
Accuracy73.96
23
Image ClassificationCIFAR-10
Accuracy88.41
23
Image ClassificationImageNet-1k (val)
Accuracy72.35
21
Tactile Object RecognitionEvTouch-Objects (test)
Accuracy86.11
12
Showing 10 of 13 rows

Other info

Follow for update