arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2007.12723cs.LGcs.NEstat.ML
收藏

深度神经网络中的在线时空学习

Online Spatio-Temporal Learning in Deep Neural Networks

IBM Research – Zurich(IBM研究院苏黎世分部);Graz University of Technology(格拉茨工业大学);Institute of Theoretical Computer Science(理论计算机科学研究所)

Thomas Bohnstingl, Stanisław Woźniak, Wolfgang Maass, Angeliki Pantazi, Evangelos Eleftheriou

摘要:

生物神经网络具有通过在线学习不断适应的内在能力。这方面仍然与应用于递归神经网络(RNN)或最近应用于生物启发的脉冲神经网络(SNN)的通过时间的误差反向传播(BPTT)的学习形成鲜明对比。由于需要通过时间展开网络,BPTT涉及梯度的离线计算。在线学习最近重新获得了研究界的关注,主要集中在近似BPTT的方法或应用于SNN的生物学合理方案上。在这里,我们提出了一个替代的角度来看,是基于一个明确的分离的空间和时间梯度分量。结合生物学的见解,我们从第一原理中推导出一种用于深度SNN的新型在线学习算法,称为在线时空学习(OSTL)。对于浅层网络,OSTL与BPTT是梯度等效的,首次实现了具有BPTT等效梯度的SNN的在线训练。此外,所提出的公式揭示了一类SNN架构可训练在线低时间复杂度。此外,我们将OSTL扩展为通用形式,适用于各种网络架构,包括包含长短期记忆(LSTM)和门控递归单元(GRU)的网络。我们展示了我们的算法的操作,从语言建模到语音识别的各种任务,并获得与BPTT基线相当的结果。该算法为SNN和一般深度RNN开发简洁高效的在线训练方法提供了一个框架。

英文摘要:

Biological neural networks are equipped with an inherent capability to continuously adapt through online learning. This aspect remains in stark contrast to learning with error backpropagation through time (BPTT) applied to recurrent neural networks (RNNs), or recently to biologically-inspired spiking neural networks (SNNs). BPTT involves offline computation of the gradients due to the requirement to unroll the network through time. Online learning has recently regained the attention of the research community, focusing either on approaches that approximate BPTT or on biologically-plausible schemes applied to SNNs. Here we present an alternative perspective that is based on a clear separation of spatial and temporal gradient components. Combined with insights from biology, we derive from first principles a novel online learning algorithm for deep SNNs, called online spatio-temporal learning (OSTL). For shallow networks, OSTL is gradient-equivalent to BPTT enabling for the first time online training of SNNs with BPTT-equivalent gradients. In addition, the proposed formulation unveils a class of SNN architectures trainable online at low time complexity. Moreover, we extend OSTL to a generic form, applicable to a wide range of network architectures, including networks comprising long short-term memory (LSTM) and gated recurrent units (GRU). We demonstrate the operation of our algorithm on various tasks from language modelling to speech recognition and obtain results on par with the BPTT baselines. The proposed algorithm provides a framework for developing succinct and efficient online training approaches for SNNs and in general deep RNNs.

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

↑