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

利用脉冲表示微分训练高性能低延迟脉冲神经网络

Training High-Performance Low-Latency Spiking Neural Networks by Differentiation on Spike Representation

The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Shenzhen Research Institute of Big Data(深圳大数据研究院);Peking University(北京大学);Peng Cheng Laboratory(鹏城实验室)

Qingyan Meng, Mingqing Xiao, Shen Yan, Yisen Wang, Zhouchen Lin, Zhi-Quan Luo

摘要:

脉冲神经网络(SNN)是一种在神经形态硬件上实现的有前途的节能AI模型。然而,由于SNN的不可微性,有效地训练SNN是一个挑战。大多数现有的方法或者遭受高等待时间(即,长的模拟时间步长),或者不能实现与人工神经网络(ANN)一样高的性能。在本文中,我们提出的差异尖峰表示(DSR)的方法,它可以实现高性能,是有竞争力的人工神经网络,但具有低延迟。首先,我们使用(加权)放电率编码将尖峰序列编码为尖峰表示。基于锋电位表示,我们系统地导出了常见神经模型的锋电位动力学可以表示为某种次可微映射。基于这种观点,我们提出的DSR方法通过映射的梯度来训练SNN,避免了SNN训练中常见的不可微性问题。然后,我们分析了误差时表示的具体映射与SNN的前向计算。为了减少这种误差,我们提出了训练的尖峰阈值在每一层,并引入一个新的超参数的神经模型。通过这些组件,DSR方法可以在静态和神经形态数据集上实现最先进的SNN性能,包括CIFAR-10,CIFAR-100,ImageNet和DVS-CIFAR 10。

英文摘要:

Spiking Neural Network (SNN) is a promising energy-efficient AI model when implemented on neuromorphic hardware. However, it is a challenge to efficiently train SNNs due to their non-differentiability. Most existing methods either suffer from high latency (i.e., long simulation time steps), or cannot achieve as high performance as Artificial Neural Networks (ANNs). In this paper, we propose the Differentiation on Spike Representation (DSR) method, which could achieve high performance that is competitive to ANNs yet with low latency. First, we encode the spike trains into spike representation using (weighted) firing rate coding. Based on the spike representation, we systematically derive that the spiking dynamics with common neural models can be represented as some sub-differentiable mapping. With this viewpoint, our proposed DSR method trains SNNs through gradients of the mapping and avoids the common non-differentiability problem in SNN training. Then we analyze the error when representing the specific mapping with the forward computation of the SNN. To reduce such error, we propose to train the spike threshold in each layer, and to introduce a new hyperparameter for the neural models. With these components, the DSR method can achieve state-of-the-art SNN performance with low latency on both static and neuromorphic datasets, including CIFAR-10, CIFAR-100, ImageNet, and DVS-CIFAR10.

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

↑