arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1603.00423cs.AIcs.CLcs.NE
收藏

量化递归神经网络和递归LSTM中的消失梯度和长距离依赖问题

Quantifying the vanishing gradient and long distance dependency problem in recursive neural networks and recursive LSTMs

Institute for Logic, Language and Computation(逻辑、语言与计算研究所);University of Amsterdam(阿姆斯特丹大学)

Phong Le, Willem Zuidema

摘要:

递归神经网络(RNN)及其最近提出的扩展递归长短期记忆网络(RLSTM)是通过根据外部提供的解析树递归地组合词嵌入来计算句子表示的模型。因此,与循环网络不同的是,这两种模型都明确地利用了句子的层次结构。在本文中,我们证明了RNN仍然遭受消失梯度和长距离依赖问题,并且RLSTM在这些问题上大大改善了RNN。我们提出了一个人工学习任务,使我们能够量化这两个模型的这些问题的严重性。我们进一步表明,梯度的比率(在根结点和焦点叶节点)是高度指示的反向传播在优化树中的相关权重低的成功。因此,本文提供了一个解释,如情感分析任务的RLSTM现有的,优越的结果,并建议,包括层次结构和包括LSTM风格的门控的好处是互补的。

英文摘要:

Recursive neural networks (RNN) and their recently proposed extension recursive long short term memory networks (RLSTM) are models that compute representations for sentences, by recursively combining word embeddings according to an externally provided parse tree. Both models thus, unlike recurrent networks, explicitly make use of the hierarchical structure of a sentence. In this paper, we demonstrate that RNNs nevertheless suffer from the vanishing gradient and long distance dependency problem, and that RLSTMs greatly improve over RNN's on these problems. We present an artificial learning task that allows us to quantify the severity of these problems for both models. We further show that a ratio of gradients (at the root node and a focal leaf node) is highly indicative of the success of backpropagation at optimizing the relevant weights low in the tree. This paper thus provides an explanation for existing, superior results of RLSTMs on tasks such as sentiment analysis, and suggests that the benefits of including hierarchical structure and of including LSTM-style gating are complementary.

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

↑