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

如何训练您的HiPPO:具有广义正交基投影的状态空间模型

How to Train Your HiPPO: State Space Models with Generalized Orthogonal Basis Projections

Stanford University(斯坦福大学);University at Buffalo(布法罗大学)

Albert Gu, Isys Johnson, Aman Timalsina, Atri Rudra, Christopher Ré

摘要:

线性时不变状态空间模型(SSM)是工程和统计学中的经典模型,最近通过结构化状态空间序列模型(S4)在机器学习中显示出非常有前途的前景。S4的一个核心组件涉及将SSM状态矩阵初始化为称为HiPPO矩阵的特定矩阵,这对于S4处理长序列的能力非常重要。然而,S4使用的特定矩阵实际上是在以前的工作中针对特定的时变动力系统导出的,并且将该矩阵用作时不变SSM没有已知的数学解释。因此,S4模型长期依赖性的理论机制实际上仍然无法解释。我们推导出一个更一般和直观的HiPPO框架,它提供了一个简单的数学解释S4分解到指数扭曲的勒让德多项式,解释其捕获长依赖关系的能力。我们的推广引入了一个理论上丰富的SSM类,也让我们为其他基(如傅立叶基)导出更直观的S4变体,并解释了训练S4的其他方面,如如何初始化重要的时间尺度参数。这些见解将S4在长距离竞技场基准测试中的性能提高到86%,在最困难的Path-X任务中提高到96%。

英文摘要:

Linear time-invariant state space models (SSM) are a classical model from engineering and statistics, that have recently been shown to be very promising in machine learning through the Structured State Space sequence model (S4). A core component of S4 involves initializing the SSM state matrix to a particular matrix called a HiPPO matrix, which was empirically important for S4's ability to handle long sequences. However, the specific matrix that S4 uses was actually derived in previous work for a particular time-varying dynamical system, and the use of this matrix as a time-invariant SSM had no known mathematical interpretation. Consequently, the theoretical mechanism by which S4 models long-range dependencies actually remains unexplained. We derive a more general and intuitive formulation of the HiPPO framework, which provides a simple mathematical interpretation of S4 as a decomposition onto exponentially-warped Legendre polynomials, explaining its ability to capture long dependencies. Our generalization introduces a theoretically rich class of SSMs that also lets us derive more intuitive S4 variants for other bases such as the Fourier basis, and explains other aspects of training S4, such as how to initialize the important timescale parameter. These insights improve S4's performance to 86% on the Long Range Arena benchmark, with 96% on the most difficult Path-X task.

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

↑