arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2112.11231cs.NEcs.LG
收藏

动态脉冲神经网络的精确在线训练

Accurate online training of dynamical spiking neural networks through Forward Propagation Through Time

CWI(荷兰数学与计算机科学研究院);IMEC(比利时微电子研究中心)

Bojian Yin, Federico Corradi, Sander M. Bohte

摘要:

大脑中尖峰神经元之间通信的事件驱动和稀疏性质为灵活和节能的AI带来了巨大的希望。学习算法的最新进展已经证明,与标准递归神经网络相比,尖峰神经元的递归网络可以被有效地训练以实现有竞争力的性能。尽管如此,由于这些学习算法使用时间误差反向传播(BPTT),它们遭受高存储器要求,训练缓慢,并且与在线学习不兼容。这将这些学习算法的应用限制在相对较小的网络和有限的时间序列长度。已经提出了具有较低计算和存储器复杂度的BPTT的在线近似(e-prop,OSTL),但在实践中也受到存储器限制,并且作为近似,不优于标准BPTT训练。在这里,我们展示了如何最近开发的替代BPTT,通过时间的前向传播(FPTT)可以应用于脉冲神经网络。与BPTT不同,FPTT试图最小化损失的持续动态正则化风险。因此,FPTT可以以在线方式计算,并且相对于序列长度具有固定的复杂度。当与一种新的动态尖峰神经元模型(Liquid-Time-Constant神经元)相结合时,我们证明了用FPTT训练的SNN优于在线BPTT近似,并且在时间分类任务上接近或超过离线BPTT准确性。因此,这种方法使得在长序列上以存储器友好的在线方式训练SNN并将SNN扩展到新颖且复杂的神经架构是可行的。

英文摘要:

The event-driven and sparse nature of communication between spiking neurons in the brain holds great promise for flexible and energy-efficient AI. Recent advances in learning algorithms have demonstrated that recurrent networks of spiking neurons can be effectively trained to achieve competitive performance compared to standard recurrent neural networks. Still, as these learning algorithms use error-backpropagation through time (BPTT), they suffer from high memory requirements, are slow to train, and are incompatible with online learning. This limits the application of these learning algorithms to relatively small networks and to limited temporal sequence lengths. Online approximations to BPTT with lower computational and memory complexity have been proposed (e-prop, OSTL), but in practice also suffer from memory limitations and, as approximations, do not outperform standard BPTT training. Here, we show how a recently developed alternative to BPTT, Forward Propagation Through Time (FPTT) can be applied in spiking neural networks. Different from BPTT, FPTT attempts to minimize an ongoing dynamically regularized risk on the loss. As a result, FPTT can be computed in an online fashion and has fixed complexity with respect to the sequence length. When combined with a novel dynamic spiking neuron model, the Liquid-Time-Constant neuron, we show that SNNs trained with FPTT outperform online BPTT approximations, and approach or exceed offline BPTT accuracy on temporal classification tasks. This approach thus makes it feasible to train SNNs in a memory-friendly online fashion on long sequences and scale up SNNs to novel and complex neural architectures.

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

↑