arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.14092cs.NEcs.LGq-bio.NC
收藏

BioGrad:脉冲神经网络的基于生物学合理顺应性的学习

BioGrad: Biologically Plausible Gradient-Based Learning for Spiking Neural Networks

Department of Computer Science, Rutgers University(罗格斯大学计算机科学系)

Guangzhi Tang, Neelesh Kumar, Ioannis Polykretis, Konstantinos P. Michmizos

摘要:

脉冲神经网络(SNN)正在为人工智能问题提供节能、大规模并行和低延迟的解决方案,这得益于新兴的神经形态芯片。为了利用这些计算优势,SNN需要通过学习算法进行训练,这些算法遵循大脑启发的神经形态学原则,即基于事件的,本地的和在线的计算。然而,最先进的SNN训练算法基于不遵循上述原则的反向传播。由于其有限的生物相容性,反向传播应用于SNN需要非局部反馈路径来传输连续值误差,并依赖于未来时间步长的梯度。对反向传播引入生物学上合理的修改有助于克服其几个局限性,但限制了反向传播的近似程度,这阻碍了其性能。我们提出了一个生物学上合理的基于梯度的学习算法SNN,在功能上相当于backprop,同时坚持所有三个神经形态的原则。我们引入了具有局部资格迹线的多隔室尖峰神经元来计算学习所需的梯度,并引入了周期性的“睡眠”阶段来进一步改进对反向传播的近似,在此期间,局部Hebbian规则将反馈和前馈权重对齐。我们的方法在MNIST(98.13%)和基于事件的N-MNIST(97.59%)数据集上实现了与多层全连接SNN的反向传播相同的性能水平。我们将我们的学习算法部署在Intel的Loihi上,对MNIST的1个隐藏层网络进行训练,获得了93.32%的测试准确率,而每个训练样本的能耗比GPU上的BioGrad低400倍。我们的工作表明,最优学习在类脑计算中是可行的,进一步追求其生物可接受性可以更好地捕捉这种新兴计算范式的好处。

英文摘要:

Spiking neural networks (SNN) are delivering energy-efficient, massively parallel, and low-latency solutions to AI problems, facilitated by the emerging neuromorphic chips. To harness these computational benefits, SNN need to be trained by learning algorithms that adhere to brain-inspired neuromorphic principles, namely event-based, local, and online computations. Yet, the state-of-the-art SNN training algorithms are based on backprop that does not follow the above principles. Due to its limited biological plausibility, the application of backprop to SNN requires non-local feedback pathways for transmitting continuous-valued errors, and relies on gradients from future timesteps. The introduction of biologically plausible modifications to backprop has helped overcome several of its limitations, but limits the degree to which backprop is approximated, which hinders its performance. We propose a biologically plausible gradient-based learning algorithm for SNN that is functionally equivalent to backprop, while adhering to all three neuromorphic principles. We introduced multi-compartment spiking neurons with local eligibility traces to compute the gradients required for learning, and a periodic "sleep" phase to further improve the approximation to backprop during which a local Hebbian rule aligns the feedback and feedforward weights. Our method achieved the same level of performance as backprop with multi-layer fully connected SNN on MNIST (98.13%) and the event-based N-MNIST (97.59%) datasets. We deployed our learning algorithm on Intel's Loihi to train a 1-hidden-layer network for MNIST, and obtained 93.32% test accuracy while consuming 400 times less energy per training sample than BioGrad on GPU. Our work shows that optimal learning is feasible in neuromorphic computing, and further pursuing its biological plausibility can better capture the benefits of this emerging computing paradigm.

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

↑