arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.01440cs.NEcs.CVcs.LG
收藏

低延迟脉冲神经网络的优化电位分布

Optimized Potential Initialization for Low-latency Spiking Neural Networks

Peking University(北京大学)

Tong Bu, Jianhao Ding, Zhaofei Yu, Tiejun Huang

摘要:

脉冲神经网络(SNN)由于具有低功耗、生物相容性和对抗鲁棒性等特点而受到广泛关注。训练深度SNN的最有效方法是通过ANN到SNN的转换,这在深度网络结构和大规模数据集上产生了最佳性能。然而,在准确性和延迟之间存在权衡。为了达到原始ANN的高精度,需要很长的模拟时间来匹配尖峰神经元的放电率与模拟神经元的激活值,这阻碍了SNN的实际应用。在本文中,我们的目标是以极低的延迟(少于32个时间步)实现高性能的转换SNN。我们首先从理论上分析ANN到SNN的转换,并表明缩放阈值确实起到了与权重归一化类似的作用。我们没有以模型容量为代价引入促进ANN到SNN转换的约束条件,而是通过优化初始膜电位来减少每层中的转换损失。此外,我们证明了膜电位的最佳初始化可以实现预期的无误差ANN到SNN转换。我们在CIFAR-10,CIFAR-100和ImageNet数据集上评估了我们的算法,并使用更少的时间步长实现了最先进的准确性。例如,我们在CIFAR-10上以16个时间步长达到了93.38%的top-1准确度。此外,我们的方法可以应用到其他ANN-SNN转换方法,并显着提高性能时,时间步长很小。

英文摘要:

Spiking Neural Networks (SNNs) have been attached great importance due to the distinctive properties of low power consumption, biological plausibility, and adversarial robustness. The most effective way to train deep SNNs is through ANN-to-SNN conversion, which have yielded the best performance in deep network structure and large-scale datasets. However, there is a trade-off between accuracy and latency. In order to achieve high precision as original ANNs, a long simulation time is needed to match the firing rate of a spiking neuron with the activation value of an analog neuron, which impedes the practical application of SNN. In this paper, we aim to achieve high-performance converted SNNs with extremely low latency (fewer than 32 time-steps). We start by theoretically analyzing ANN-to-SNN conversion and show that scaling the thresholds does play a similar role as weight normalization. Instead of introducing constraints that facilitate ANN-to-SNN conversion at the cost of model capacity, we applied a more direct way by optimizing the initial membrane potential to reduce the conversion loss in each layer. Besides, we demonstrate that optimal initialization of membrane potentials can implement expected error-free ANN-to-SNN conversion. We evaluate our algorithm on the CIFAR-10, CIFAR-100 and ImageNet datasets and achieve state-of-the-art accuracy, using fewer time-steps. For example, we reach top-1 accuracy of 93.38\% on CIFAR-10 with 16 time-steps. Moreover, our method can be applied to other ANN-SNN conversion methodologies and remarkably promote performance when the time-steps is small.

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

↑