关于RNN的李雅普诺夫指数:使用动态系统工具理解信息传播
On Lyapunov Exponents for RNNs: Understanding Information Propagation Using Dynamical Systems Tools
摘要:
递归神经网络(RNN)已成功应用于涉及序列数据的各种问题,但其优化对参数初始化,架构和优化器超参数敏感。将RNN视为动态系统,一种捕获稳定性的自然方法,即,在长迭代上的增长和衰减是李雅普诺夫指数(LE),其形成李雅普诺夫谱。LE对RNN训练动态的稳定性有影响,因为信息的前向传播与误差梯度的后向传播有关。LE测量非线性系统轨迹的膨胀和收缩的渐近速率,并将稳定性分析推广到构建数据驱动RNN的非自治动态的时变吸引子。作为理解和利用训练动态稳定性的工具,李雅普诺夫谱填补了有限范围的规定性数学方法和计算昂贵的经验方法之间的现有差距。为了利用这个工具,我们实现了一种在训练过程中计算RNN的LE的有效方法,讨论了由典型的顺序数据集驱动的标准RNN架构的特定方面,并表明李雅普诺夫谱可以作为超参数训练稳定性的鲁棒读数。有了这个面向解释的贡献,我们希望引起人们对这个研究不足但理论上有基础的工具的注意,以理解RNN中的训练稳定性。
英文摘要:
Recurrent neural networks (RNNs) have been successfully applied to a variety of problems involving sequential data, but their optimization is sensitive to parameter initialization, architecture, and optimizer hyperparameters. Considering RNNs as dynamical systems, a natural way to capture stability, i.e., the growth and decay over long iterates, are the Lyapunov Exponents (LEs), which form the Lyapunov spectrum. The LEs have a bearing on stability of RNN training dynamics because forward propagation of information is related to the backward propagation of error gradients. LEs measure the asymptotic rates of expansion and contraction of nonlinear system trajectories, and generalize stability analysis to the time-varying attractors structuring the non-autonomous dynamics of data-driven RNNs. As a tool to understand and exploit stability of training dynamics, the Lyapunov spectrum fills an existing gap between prescriptive mathematical approaches of limited scope and computationally-expensive empirical approaches. To leverage this tool, we implement an efficient way to compute LEs for RNNs during training, discuss the aspects specific to standard RNN architectures driven by typical sequential datasets, and show that the Lyapunov spectrum can serve as a robust readout of training stability across hyperparameters. With this exposition-oriented contribution, we hope to draw attention to this understudied, but theoretically grounded tool for understanding training stability in RNNs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。