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

通过代理训练的脉冲神经网络

Spiking neural networks trained via proxy

Shahid Beheshti University(沙希德·贝赫什提大学);Amirkabir University of Technology(阿米尔卡比尔理工大学);CNRS(法国国家科学研究中心);Université Toulouse 3(图卢兹第三大学)

Saeed Reza Kheradpisheh, Maryam Mirsadeghi, Timothée Masquelier

摘要:

提出了一种新的学习算法,利用传统的人工神经网络(ANN)作为代理,训练脉冲神经网络(SNN)。我们分别将两个SNN和ANN网络耦合起来,它们分别由具有相同网络架构和共享突触权重的集成并激发(IF)和ReLU神经元组成。两个网络的前向传递是完全独立的。通过假设具有速率编码的IF神经元作为ReLU的近似,我们在代理ANN中反向传播SNN的误差以更新共享权重,只需将ANN的最终输出替换为SNN的输出。我们将所提出的代理学习应用于深度卷积SNN,并在Fashion-MNIST和Cifar 10的两个基准数据集上进行了评估,分类准确率分别为94.56%和93.11%。所提出的网络可以优于其他使用串联学习、替代梯度学习或从深度ANN转换而来的深度SNN。转换后的SNN需要很长的模拟时间才能达到合理的精度,而我们的代理学习可以用更短的模拟时间实现高效的SNN。所提出的方法的源代码可在https://github.com/SRKH/ProxyLearning上公开获取。

英文摘要:

We propose a new learning algorithm to train spiking neural networks (SNN) using conventional artificial neural networks (ANN) as proxy. We couple two SNN and ANN networks, respectively, made of integrate-and-fire (IF) and ReLU neurons with the same network architectures and shared synaptic weights. The forward passes of the two networks are totally independent. By assuming IF neuron with rate-coding as an approximation of ReLU, we backpropagate the error of the SNN in the proxy ANN to update the shared weights, simply by replacing the ANN final output with that of the SNN. We applied the proposed proxy learning to deep convolutional SNNs and evaluated it on two benchmarked datasets of Fashion-MNIST and Cifar10 with 94.56% and 93.11% classification accuracy, respectively. The proposed networks could outperform other deep SNNs trained with tandem learning, surrogate gradient learning, or converted from deep ANNs. Converted SNNs require long simulation times to reach reasonable accuracies while our proxy learning leads to efficient SNNs with much smaller simulation times. The source codes of the proposed method are publicly available at https://github.com/SRKH/ProxyLearning.

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

↑