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

使用直接训练的较大脉冲神经网络进行更深入的研究

Going Deeper With Directly-Trained Larger Spiking Neural Networks

Tsinghua University(清华大学);University of California, Santa Barbara(加利福尼亚大学圣巴巴拉分校)

Hanle Zheng, Yujie Wu, Lei Deng, Yifan Hu, Guoqi Li

摘要:

脉冲神经网络(SNN)是一种非常适合于神经形态硬件中能量有效实现的时空信息生物似然编码和事件驱动信号处理的神经网络。然而,SNN独特的工作模式使其比传统网络更难训练。目前,探索高性能深度SNN的训练主要有两条路线。第一种是将预先训练的ANN模型转换为SNN版本,这通常需要很长的编码窗口来收敛,并且在训练过程中无法利用时空特征来解决时间任务。另一种是直接在时空域中训练神经网络。但由于激发函数的二进制尖峰活动以及梯度消失或爆炸的问题,当前的方法仅限于浅层架构,因此难以利用大规模数据集(例如ImageNet)。为此,我们提出了一个阈值依赖的批量归一化(tdBN)方法的基础上新兴的时空反向传播,称为“STBP-tdBN”,使直接训练的一个非常深的SNN和神经形态硬件上的推理的有效实施。通过所提出的方法和详细的快捷连接,我们将直接训练的SNN从浅结构(< 10层)扩展到非常深的结构(50层)。此外,我们从理论上分析了我们的方法的有效性基于“块动态等距”理论。最后,我们报告了出色的准确率结果,包括CIFAR-10上的93.15%,DVS-CIFAR 10上的67.8%和ImageNet上的67.05%,时间步长非常少。据我们所知,这是第一次在ImageNet上探索直接训练的高性能深度SNN。

英文摘要:

Spiking neural networks (SNNs) are promising in a bio-plausible coding for spatio-temporal information and event-driven signal processing, which is very suited for energy-efficient implementation in neuromorphic hardware. However, the unique working mode of SNNs makes them more difficult to train than traditional networks. Currently, there are two main routes to explore the training of deep SNNs with high performance. The first is to convert a pre-trained ANN model to its SNN version, which usually requires a long coding window for convergence and cannot exploit the spatio-temporal features during training for solving temporal tasks. The other is to directly train SNNs in the spatio-temporal domain. But due to the binary spike activity of the firing function and the problem of gradient vanishing or explosion, current methods are restricted to shallow architectures and thereby difficult in harnessing large-scale datasets (e.g. ImageNet). To this end, we propose a threshold-dependent batch normalization (tdBN) method based on the emerging spatio-temporal backpropagation, termed "STBP-tdBN", enabling direct training of a very deep SNN and the efficient implementation of its inference on neuromorphic hardware. With the proposed method and elaborated shortcut connection, we significantly extend directly-trained SNNs from a shallow structure ( < 10 layer) to a very deep structure (50 layers). Furthermore, we theoretically analyze the effectiveness of our method based on "Block Dynamical Isometry" theory. Finally, we report superior accuracy results including 93.15 % on CIFAR-10, 67.8 % on DVS-CIFAR10, and 67.05% on ImageNet with very few timesteps. To our best knowledge, it's the first time to explore the directly-trained deep SNNs with high performance on ImageNet.

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

↑