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

通过活动稀疏性和时间上的稀疏反向传播实现高效的递归架构

Efficient recurrent architectures through activity sparsity and sparse back-propagation through time

Institute for Neural Computation, Ruhr University Bochum(波鸿鲁尔大学神经计算研究所);Royal Holloway, University of London(伦敦大学皇家霍洛威学院);Faculty of Electrical and Computer Engineering, Technische Universität Dresden(德累斯顿工业大学电气与计算机工程学院)

Anand Subramoney, Khaleelulla Khan Nazeer, Mark Schöne, Christian Mayr, David Kappel

摘要:

递归神经网络(RNN)非常适合解决资源受限系统中的序列任务,因为它们的表达能力和低计算要求。然而,仍然需要弥合RNN在效率和性能方面的能力与实际应用需求之间的差距。在每个时间步将所有神经元的激活传播到每个连接的神经元所产生的存储器和计算需求,以及激活的顺序依赖性,导致训练和使用RNN的效率低下。我们提出了一种受生物神经元动力学启发的解决方案,使RNN单元之间的通信变得稀疏和离散。这使得具有时间反向传播(BPTT)的反向传递在计算上也是稀疏和高效的。我们的模型基于门控递归单元(GRU),将其扩展为发出离散事件的单元,用于由阈值触发的通信,以便在没有事件的情况下没有信息被传达给其他单元。我们从理论上证明了单元之间的通信,以及向前和向后传递所需的计算,与网络中的事件数量成比例。我们的模型在不影响任务性能的情况下实现了效率,与现实世界任务(包括语言建模)中最先进的递归网络模型相比,表现出了竞争力。动态活动稀疏机制也使我们的模型非常适合新的节能神经形态硬件。代码可在https://github.com/KhaleelKhan/EvNN/上获得。

英文摘要:

Recurrent neural networks (RNNs) are well suited for solving sequence tasks in resource-constrained systems due to their expressivity and low computational requirements. However, there is still a need to bridge the gap between what RNNs are capable of in terms of efficiency and performance and real-world application requirements. The memory and computational requirements arising from propagating the activations of all the neurons at every time step to every connected neuron, together with the sequential dependence of activations, contribute to the inefficiency of training and using RNNs. We propose a solution inspired by biological neuron dynamics that makes the communication between RNN units sparse and discrete. This makes the backward pass with backpropagation through time (BPTT) computationally sparse and efficient as well. We base our model on the gated recurrent unit (GRU), extending it with units that emit discrete events for communication triggered by a threshold so that no information is communicated to other units in the absence of events. We show theoretically that the communication between units, and hence the computation required for both the forward and backward passes, scales with the number of events in the network. Our model achieves efficiency without compromising task performance, demonstrating competitive performance compared to state-of-the-art recurrent network models in real-world tasks, including language modeling. The dynamic activity sparsity mechanism also makes our model well suited for novel energy-efficient neuromorphic hardware. Code is available at https://github.com/KhaleelKhan/EvNN/.

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

↑