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

带外部存储器的NeuralNetworks中的长时间尺度信用分配

Long Timescale Credit Assignment in NeuralNetworks with External Memory

Stanford University(斯坦福大学)

Steven Stenberg Hansen

摘要:

传统递归神经网络中的信用分配通常涉及通过一长串捆绑权重矩阵的反向传播。这个链的长度与时间步长的数量成线性比例,因为在每个时间步长运行相同的网络。这就产生了许多问题,比如梯度消失,这些问题已经得到了很好的研究。相比之下,NNEM的体系结构递归活动不涉及长链活动(尽管某些体系结构(如NTM)确实使用传统的递归体系结构作为控制器)。相反,在每个时间步使用外部存储的嵌入向量,但不传递来自先前时间步的消息。这意味着消失的梯度不是问题,因为所有必要的梯度路径都很短。然而,这些路径非常多(内存中的每个嵌入向量一个),并且重用很长时间(直到它离开内存)。因此,每个存储器的前向传递信息必须在存储器的整个持续时间内被存储。这是有问题的,因为这种额外的存储远远超过实际存储器的存储,以至于大存储器在高维设置中不可能反向传播。避免保留前向传递信息的一种方法是,只要梯度信息可用,就重新计算前向传递。然而,如果观测值太大而不能存储在感兴趣的域中,则不能直接恢复前向传递。相反,我们依赖于一个学习的自动编码器来恢复观察,然后使用嵌入网络来重新计算前向传递。由于重新计算的嵌入向量不太可能完全匹配存储在内存中的嵌入向量,因此我们尝试2个近似值以利用误差梯度w.r.t. vector在内存中

英文摘要:

Credit assignment in traditional recurrent neural networks usually involves back-propagating through a long chain of tied weight matrices. The length of this chain scales linearly with the number of time-steps as the same network is run at each time-step. This creates many problems, such as vanishing gradients, that have been well studied. In contrast, a NNEM's architecture recurrent activity doesn't involve a long chain of activity (though some architectures such as the NTM do utilize a traditional recurrent architecture as a controller). Rather, the externally stored embedding vectors are used at each time-step, but no messages are passed from previous time-steps. This means that vanishing gradients aren't a problem, as all of the necessary gradient paths are short. However, these paths are extremely numerous (one per embedding vector in memory) and reused for a very long time (until it leaves the memory). Thus, the forward-pass information of each memory must be stored for the entire duration of the memory. This is problematic as this additional storage far surpasses that of the actual memories, to the extent that large memories on infeasible to back-propagate through in high dimensional settings. One way to get around the need to hold onto forward-pass information is to recalculate the forward-pass whenever gradient information is available. However, if the observations are too large to store in the domain of interest, direct reinstatement of a forward pass cannot occur. Instead, we rely on a learned autoencoder to reinstate the observation, and then use the embedding network to recalculate the forward-pass. Since the recalculated embedding vector is unlikely to perfectly match the one stored in memory, we try out 2 approximations to utilize error gradient w.r.t. the vector in memory.

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

↑