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

LSTM的工作内存连接

Working Memory Connections for LSTM

Department of Engineering “Enzo Ferrari”, University of Modena and Reggio Emilia(摩德纳和雷焦艾米利亚大学恩佐·法拉利工程系);University of Modena and Reggio Emilia(摩德纳和雷焦艾米利亚大学);Engineering “Enzo Ferrari”, University of Modena and Reggio Emilia(摩德纳和雷焦艾米利亚大学恩佐·法拉利工程系);Department of Engineering “Enzo Ferrari”(恩佐·法拉利工程系)

Federico Landi, Lorenzo Baraldi, Marcella Cornia, Rita Cucchiara

摘要:

具有长短期记忆(LSTM)的递归神经网络利用门控机制来减轻学习长期依赖性时的梯度爆炸和消失。出于这个原因,LSTM和其他门控RNN被广泛采用,成为许多序列建模任务的标准。尽管LSTM内部的存储单元包含了基本信息,但它不允许直接影响门控机制。在这项工作中,我们通过包括来自内部单元状态的信息来提高栅极电位。所提出的修改,名为工作记忆连接,包括在网络门中添加一个可学习的非线性投影的细胞内容。这种修改可以适应经典的LSTM门,而无需对底层任务进行任何假设,在处理较长序列时特别有效。以前在这个方向上的研究工作可以追溯到21世纪初,无法带来比vanilla LSTM一致的改进。作为本文的一部分,我们确定了一个关键问题,与以前的连接,严重限制了他们的有效性,从而防止成功整合的知识来自内部细胞状态。我们通过广泛的实验评估表明,工作记忆连接不断提高LSTM在各种任务上的性能。数值结果表明,单元状态包含有用的信息,是值得包括在栅极结构。

英文摘要:

Recurrent Neural Networks with Long Short-Term Memory (LSTM) make use of gating mechanisms to mitigate exploding and vanishing gradients when learning long-term dependencies. For this reason, LSTMs and other gated RNNs are widely adopted, being the standard de facto for many sequence modeling tasks. Although the memory cell inside the LSTM contains essential information, it is not allowed to influence the gating mechanism directly. In this work, we improve the gate potential by including information coming from the internal cell state. The proposed modification, named Working Memory Connection, consists in adding a learnable nonlinear projection of the cell content into the network gates. This modification can fit into the classical LSTM gates without any assumption on the underlying task, being particularly effective when dealing with longer sequences. Previous research effort in this direction, which goes back to the early 2000s, could not bring a consistent improvement over vanilla LSTM. As part of this paper, we identify a key issue tied to previous connections that heavily limits their effectiveness, hence preventing a successful integration of the knowledge coming from the internal cell state. We show through extensive experimental evaluation that Working Memory Connections constantly improve the performance of LSTMs on a variety of tasks. Numerical results suggest that the cell state contains useful information that is worth including in the gate structure.

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

↑