arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.03282stat.MLcs.LG
收藏

基于时间尺度表示再分析的循环神经网络

Recurrent Neural Networks for Learning Long-term Temporal Dependencies with Reanalysis of Time Scale Representation

NTT Computer and Data Science Laboratories(NTT计算机与数据科学实验室)

Kentaro Ohno, Atsutoshi Kumagai

摘要:

具有门控机制(如LSTM或GRU)的循环神经网络是对序列数据进行建模的强大工具。在该机制中,被引入以控制RNN中隐藏状态的信息流的遗忘门最近被重新解释为状态的时间尺度的代表,即,RNN保留输入信息的时间长度。在此解释的基础上,几个参数初始化方法,利用先验知识的时间依赖性的数据已被提出,以提高学习。然而,该诠释依赖于各种不切实际的假设,例如于某个时间点后并无输入数据。在这项工作中,我们重新考虑这种解释的遗忘门在一个更现实的设置。我们首先推广了现有的门控RNN理论,这样我们就可以考虑连续给出输入的情况。然后,我们认为,作为一个时间表示的遗忘门的解释是有效的,当损失的梯度相对于状态呈指数下降,随着时间的推移。我们的经验表明,现有的RNN在几个任务的初始训练阶段满足这个梯度条件,这与以前的初始化方法非常一致。基于这一发现,我们提出了一种方法来构建新的RNN,它可以代表比传统模型更长的时间尺度,这将提高长期序列数据的可学习性。我们验证了我们的方法的有效性与现实世界的数据集进行实验。

英文摘要:

Recurrent neural networks with a gating mechanism such as an LSTM or GRU are powerful tools to model sequential data. In the mechanism, a forget gate, which was introduced to control information flow in a hidden state in the RNN, has recently been re-interpreted as a representative of the time scale of the state, i.e., a measure how long the RNN retains information on inputs. On the basis of this interpretation, several parameter initialization methods to exploit prior knowledge on temporal dependencies in data have been proposed to improve learnability. However, the interpretation relies on various unrealistic assumptions, such as that there are no inputs after a certain time point. In this work, we reconsider this interpretation of the forget gate in a more realistic setting. We first generalize the existing theory on gated RNNs so that we can consider the case where inputs are successively given. We then argue that the interpretation of a forget gate as a temporal representation is valid when the gradient of loss with respect to the state decreases exponentially as time goes back. We empirically demonstrate that existing RNNs satisfy this gradient condition at the initial training phase on several tasks, which is in good agreement with previous initialization methods. On the basis of this finding, we propose an approach to construct new RNNs that can represent a longer time scale than conventional models, which will improve the learnability for long-term sequential data. We verify the effectiveness of our method by experiments with real-world datasets.

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

↑