arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.07454cs.LGcs.AIcs.CC
收藏

基于矩阵表示的循环神经网络的记忆容量

Memory Capacity of Recurrent Neural Networks with Matrix Representation

Indian Institute of Technology Guwahati(印度理工学院古瓦哈提分校);RIKEN Center for Integrative Medical Sciences(理化学研究所综合医学科学中心);UNSW Sydney(悉尼新南威尔士大学)

Animesh Renanse, Alok Sharma, Rohitash Chandra

AI总结:

本文定义了基于Fisher信息的矩阵型循环神经网络记忆容量的概率概念,推导其容量界,构建带矩阵表示外部记忆的Matrix NTMs,验证其在算法任务上性能优于矩阵循环神经网络。

摘要:

众所周知,标准循环神经网络(RNNs)在学习长期依赖关系方面存在局限性,长短期记忆(LSTM)网络中的记忆结构已经解决了这一问题。神经图灵机(Neural Turing Machines, NTMs)是一种新型循环神经网络,它通过可学习简单算法任务的神经网络控制器实现了可编程计算机的概念。与使用基于向量表示的标准神经网络相比,矩阵神经网络具有矩阵表示的特性,其固有地保留了数据的空间结构。因此有人可能认为,具有矩阵表示的神经网络有潜力提供更好的记忆容量。在本文中,我们定义并研究了基于Fisher信息的矩阵型循环神经网络记忆容量的概率概念。我们在各种假设下推导了这类网络的记忆容量界,并将其与对应的向量型网络进行比较。具体而言,我们证明对于N×N的状态矩阵,这类网络的记忆容量以N²为界,这推广了已知的向量网络的记忆容量结论。我们还展示并分析了这类网络在引入外部状态记忆(如神经图灵机中的记忆)时记忆容量的提升。基于此,我们构建了具有矩阵表示外部记忆的循环神经网络控制器的神经图灵机,并将其命名为Matrix NTMs(矩阵神经图灵机)。我们在复制、回忆等特定算法学习任务下验证了这类记忆网络的性能,并将其与Matrix RNNs(矩阵循环神经网络)进行比较。研究发现,与矩阵循环神经网络相比,矩阵神经图灵机通过添加外部记忆实现了性能提升。

英文摘要:

It is well known that canonical recurrent neural networks (RNNs) face limitations in learning long-term dependencies which have been addressed by memory structures in long short-term memory (LSTM) networks. Neural Turing machines (NTMs) are novel RNNs that implement the notion of programmable computers with neural network controllers that can learn simple algorithmic tasks. Matrix neural networks feature matrix representation which inherently preserves the spatial structure of data when compared to canonical neural networks that use vector-based representation. One may then argue that neural networks with matrix representations may have the potential to provide better memory capacity. In this paper, we define and study a probabilistic notion of memory capacity based on Fisher information for matrix-based RNNs. We find bounds on memory capacity for such networks under various hypotheses and compare them with their vector counterparts. In particular, we show that the memory capacity of such networks is bounded by $N^2$ for $N\times N$ state matrix which generalizes the one known for vector networks. We also show and analyze the increase in memory capacity for such networks which is introduced when one exhibits an external state memory, such as NTMs. Consequently, we construct NTMs with RNN controllers with matrix-based representation of external memory, leading us to introduce Matrix NTMs. We demonstrate the performance of this class of memory networks under certain algorithmic learning tasks such as copying and recall and compare it with Matrix RNNs. We find an improvement in the performance of Matrix NTMs by the addition of external memory, in comparison to Matrix RNNs.

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

↑