arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.21340cs.LG
收藏

HiPPO动物园:可解释状态空间模型的显式记忆机制

HiPPO Zoo: Explicit Memory Mechanisms for Interpretable State Space Models

Department of Computer Science, Duke University, Durham NC, USA(计算机科学系,杜克大学,北卡罗来纳州达勒姆)

Jack Goffinet, Casey Hanks, David E. Carlson

AI总结:

本文通过扩展HiPPO框架,提出五种显式、可解释的记忆机制(统称“HiPPO动物园”),使状态空间模型具备自适应记忆分配和联想记忆等能力,并在合成序列建模任务中验证其有效性。

摘要:

以压缩、高效且信息丰富的方式表示过去是处理序列数据系统的核心问题。Gu & Dao等人最初提出的HiPPO框架通过结构化线性常微分方程将信号投影到正交多项式(OP)基上,为序列压缩提供了一种原则性方法。后续工作将这些动态嵌入状态空间模型(SSM)中,其中HiPPO结构用作初始化。这些SSM方法的非线性后继(如Mamba)在许多具有长程依赖的任务中达到最先进水平,但它们表示和优先处理历史的机制在很大程度上仍是隐式的。在这项工作中,我们重新审视HiPPO框架,目标是使这些机制显式化。我们展示了如何扩展历史的多项式表示以支持现代SSM的能力(如自适应记忆分配和联想记忆),同时保留在OP基上的直接可解释性。我们引入一个统一的框架,包含五种这样的扩展,统称为“HiPPO动物园”。每种扩展通过对HiPPO框架进行显式、可解释的修改,暴露特定的建模能力。所得模型在线调整其记忆,并在流式设置中以高效更新进行训练。我们通过一系列合成序列建模任务展示了这些扩展的行为和建模优势,证明通常与现代SSM相关的能力可以通过显式、可解释的多项式记忆结构实现。

英文摘要:

Representing the past in a compressed, efficient, and informative manner is a central problem for systems trained on sequential data. The HiPPO framework, originally proposed by Gu & Dao et al., provides a principled approach to sequential compression by projecting signals onto orthogonal polynomial (OP) bases via structured linear ordinary differential equations. Subsequent works have embedded these dynamics in state space models (SSMs), where HiPPO structure serves as an initialization. Nonlinear successors of these SSM methods such as Mamba are state-of-the-art for many tasks with long-range dependencies, but the mechanisms by which they represent and prioritize history remain largely implicit. In this work, we revisit the HiPPO framework with the goal of making these mechanisms explicit. We show how polynomial representations of history can be extended to support capabilities of modern SSMs such as adaptive memory allocation and associative memory, while retaining direct interpretability in the OP basis. We introduce a unified framework comprising five such extensions, which we collectively refer to as a "HiPPO zoo." Each extension exposes a specific modeling capability through an explicit, interpretable modification of the HiPPO framework. The resulting models adapt their memory online and train in streaming settings with efficient updates. We illustrate the behaviors and modeling advantages of these extensions through a range of synthetic sequence modeling tasks, demonstrating that capabilities typically associated with modern SSMs can be realized through explicit, interpretable polynomial memory structures.

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

↑