让神经网络在线学习时同时处理时间和深度的梯度分配问题
Generalising E-prop to Deep Networks
- 将E-prop扩展至深层网络,通过递归关系传递梯度信息
- 实现无需BPTT的深度递归网络在线训练,保持计算效率
- 适合研究脑启发式学习算法或高效训练模型的研究者
循环网络通常使用时间反向传播(BPTT)进行训练,但其需要存储网络所有状态的历史并逐层反向回放,这在大脑中难以实现。实时循环学习(RTRL)提出了一种数学上等价的替代方案,即在前向传播过程中局部向前传递梯度信息,但其计算复杂度远高于BPTT,难以用于大规模网络。E-prop是对RTRL的一种近似,将复杂度降低至与BPTT相当,并可通过突触上的可塑性痕迹实现纯在线更新。然而,现有RTRL和E-prop研究大多局限于单层递归结构。而大脑中的学习涉及多层结构,兼具深度上的层级动态和时间上的演化。本文从数学角度将E-prop框架推广至任意深度网络,推导出跨深度的新递归关系,使E-prop的可塑性痕迹可延伸至深层。结果表明,该方法可在不依赖BPTT的情况下,同时实现对时间和深度的精确信用分配,支持深度递归网络的在线训练。
原文摘要 · Abstract (English)
Recurrent networks are typically trained with backpropagation through time (BPTT). However, BPTT requires storing the history of all states in the network and then replaying them sequentially backwards in time. This computation appears extremely implausible for the brain to implement. Real Time Recurrent Learning (RTRL) proposes an mathematically equivalent alternative where gradient information is propagated forwards in time locally alongside the regular forward pass, however it has significantly greater computational complexity than BPTT which renders it impractical for large networks. E-prop proposes an approximation of RTRL which reduces its complexity to the level of BPTT while maintaining a purely online forward update which can be implemented by an eligibility trace at each synapse. However, works on RTRL and E-prop ubiquitously investigate learning in a single layer with recurrent dynamics. However, learning in the brain spans multiple layers and consists of both hierarchal dynamics in depth as well as time. In this mathematical note, we extend the E-prop framework to handle arbitrarily deep networks, deriving a novel recursion relationship across depth which extends the eligibility traces of E-prop to deeper layers. Our results thus demonstrate an online learning algorithm can perform accurate credit assignment across both time and depth simultaneously, allowing the training of deep recurrent networks without backpropagation through time.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。