arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.05641cs.LGcs.AI
收藏

通过结合活性和参数稀疏性的高效实时的递归学习

Efficient Real Time Recurrent Learning through combined activity and parameter sparsity

Institute for Neural Computation, Ruhr University Bochum(波鸿鲁尔大学神经计算研究所);Royal Holloway, University of London(伦敦大学皇家霍洛威学院)

Anand Subramoney

摘要:

时间反向传播(BPTT)是训练递归神经网络(RNN)的标准算法,它需要分别针对推理和学习的前向和后向传递进行单独的模拟阶段。此外,BPTT需要存储阶段之间网络状态的完整历史,内存消耗与输入序列长度成比例增长。这使得BPTT不适合在线学习,并提出了一个挑战,实现低资源的实时系统。实时递归学习(RTRL)允许在线学习,并且所需内存的增长与序列长度无关。然而,RTRL的计算成本非常高,与状态大小的四次方成比例地增长,使得RTRL对于除了最小的网络之外的所有网络都是计算上难以处理的。在这项工作中,我们表明,经常性的网络表现出高活动稀疏性可以降低RTRL的计算成本。此外,结合活动和参数稀疏性可以导致计算和内存成本的显着节省,使RTRL实用。与以前的工作不同,RTRL的效率的提高可以在不使用任何近似的学习过程中实现。

英文摘要:

Backpropagation through time (BPTT) is the standard algorithm for training recurrent neural networks (RNNs), which requires separate simulation phases for the forward and backward passes for inference and learning, respectively. Moreover, BPTT requires storing the complete history of network states between phases, with memory consumption growing proportional to the input sequence length. This makes BPTT unsuited for online learning and presents a challenge for implementation on low-resource real-time systems. Real-Time Recurrent Learning (RTRL) allows online learning, and the growth of required memory is independent of sequence length. However, RTRL suffers from exceptionally high computational costs that grow proportional to the fourth power of the state size, making RTRL computationally intractable for all but the smallest of networks. In this work, we show that recurrent networks exhibiting high activity sparsity can reduce the computational cost of RTRL. Moreover, combining activity and parameter sparsity can lead to significant enough savings in computational and memory costs to make RTRL practical. Unlike previous work, this improvement in the efficiency of RTRL can be achieved without using any approximations for the learning process.

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

↑