arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1911.05035cs.LGcs.NAmath.NAmath.OCstat.ML
收藏

利用Hamilton动力学构造梯度可控循环神经网络

Constructing Gradient Controllable Recurrent Neural Networks Using Hamiltonian Dynamics

Konstantin Rusch, John W. Pearson, Konstantinos C. Zygalakis

摘要:

循环神经网络(RNN)在解决序列学习问题方面获得了极大的关注。然而,由于隐藏状态梯度消失或爆炸的问题,长期依赖关系的学习仍然具有挑战性。通过进一步探索RNN和动力系统之间最近建立的联系,我们提出了一种新的RNN架构,我们称之为Hamilton递归神经网络(Hamilton RNN),基于适当选择的Hamilton系统的辛离散化。这种方法的主要好处是,相应的RNN继承了Hamilton系统的有利的长时间特性,这反过来又允许我们使用Hamilton RNN架构的超参数来控制隐藏状态梯度。这使我们能够处理具有任意序列长度的序列学习问题,因为对于这个超参数的值的范围,梯度既不消失也不爆炸。此外,我们提供了一个启发式的超参数的最佳选择,我们在我们的数值模拟中使用,以说明汉密尔顿RNN能够优于其他国家的最先进的RNN,而不需要计算密集型超参数优化。

英文摘要:

Recurrent neural networks (RNNs) have gained a great deal of attention in solving sequential learning problems. The learning of long-term dependencies, however, remains challenging due to the problem of a vanishing or exploding hidden states gradient. By exploring further the recently established connections between RNNs and dynamical systems we propose a novel RNN architecture, which we call a Hamiltonian recurrent neural network (Hamiltonian RNN), based on a symplectic discretization of an appropriately chosen Hamiltonian system. The key benefit of this approach is that the corresponding RNN inherits the favorable long time properties of the Hamiltonian system, which in turn allows us to control the hidden states gradient with a hyperparameter of the Hamiltonian RNN architecture. This enables us to handle sequential learning problems with arbitrary sequence lengths, since for a range of values of this hyperparameter the gradient neither vanishes nor explodes. Additionally, we provide a heuristic for the optimal choice of the hyperparameter, which we use in our numerical simulations to illustrate that the Hamiltonian RNN is able to outperform other state-of-the-art RNNs without the need of computationally intensive hyperparameter optimization.

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

↑