arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2204.13271cs.NEcs.AI
收藏

具有突发脉冲的脉冲神经网络的高效精确转换

Efficient and Accurate Conversion of Spiking Neural Network with Burst Spikes

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Center for Excellence in Brain Science and Intelligence Technology, Chinese Academy of Sciences(中国科学院脑科学与智能技术卓越创新中心)

Yang Li, Yi Zeng

摘要:

脉冲神经网络(SNN)作为一种基于大脑的高效节能神经网络,引起了研究者的兴趣。而脉冲神经网络的训练仍然是一个悬而未决的问题。一种有效的方法是将训练好的神经网络的权值映射到SNN上,以获得较高的推理能力。然而,转换后的脉冲神经网络往往遭受性能下降和相当大的时间延迟。为了加快推理过程并获得更高的准确率,我们从三个角度理论上分析了转换过程中的错误:IF和ReLU之间的差异,时间维度和池化操作。我们提出了一个神经元模型来释放突发尖峰,这是一种廉价但高效的方法来解决残留信息。此外,侧抑制池(LIPooling)被提出来解决转换过程中的MaxPooling造成的不准确的问题。在CIFAR和ImageNet上的实验结果表明,该算法是有效和准确的。例如,我们的方法可以确保SNN的几乎无损转换,并且在典型方法的0.693 $\times$能量消耗下仅使用约1/10(小于100)的模拟时间。我们的代码可在https://github.com/Brain-Inspired-Cognitive-Engine/Conversion_Burst上获得。

英文摘要:

Spiking neural network (SNN), as a brain-inspired energy-efficient neural network, has attracted the interest of researchers. While the training of spiking neural networks is still an open problem. One effective way is to map the weight of trained ANN to SNN to achieve high reasoning ability. However, the converted spiking neural network often suffers from performance degradation and a considerable time delay. To speed up the inference process and obtain higher accuracy, we theoretically analyze the errors in the conversion process from three perspectives: the differences between IF and ReLU, time dimension, and pooling operation. We propose a neuron model for releasing burst spikes, a cheap but highly efficient method to solve residual information. In addition, Lateral Inhibition Pooling (LIPooling) is proposed to solve the inaccuracy problem caused by MaxPooling in the conversion process. Experimental results on CIFAR and ImageNet demonstrate that our algorithm is efficient and accurate. For example, our method can ensure nearly lossless conversion of SNN and only use about 1/10 (less than 100) simulation time under 0.693$\times$ energy consumption of the typical method. Our code is available at https://github.com/Brain-Inspired-Cognitive-Engine/Conversion_Burst.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑