Lune

ICLR2023Top-tier venue

How to Train your HIPPO: State Space Models with Generalized Orthogonal Basis Projections

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

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

56 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Diagonal State Spaces are as Effective as Structured State Spaces cites Efficiently Modeling Long Sequences with Structured State Spaces
  • Diagonal State Spaces are as Effective as Structured State Spaces cites HiPPO: Recurrent Memory with Optimal Polynomial Projections
  • On the Parameterization and Initialization of Diagonal State Space Models cites Diagonal State Spaces are as Effective as Structured State Spaces
  • On the Parameterization and Initialization of Diagonal State Space Models cites Efficiently Modeling Long Sequences with Structured State Spaces
  • Efficiently Modeling Long Sequences with Structured State Spaces cites On the Parameterization and Initialization of Diagonal State Space Models
  • On the Parameterization and Initialization of Diagonal State Space Models cites HiPPO: Recurrent Memory with Optimal Polynomial Projections
  • Efficiently Modeling Long Sequences with Structured State Spaces cites HiPPO: Recurrent Memory with Optimal Polynomial Projections
  • PointMamba: A Simple State Space Model for Point Cloud Analysis cites Diagonal State Spaces are as Effective as Structured State Spaces
  • PointMamba: A Simple State Space Model for Point Cloud Analysis cites On the Parameterization and Initialization of Diagonal State Space Models
  • PointMamba: A Simple State Space Model for Point Cloud Analysis cites Efficiently Modeling Long Sequences with Structured State Spaces
  • PointMamba: A Simple State Space Model for Point Cloud Analysis cites HiPPO: Recurrent Memory with Optimal Polynomial Projections
  • PointMamba: A Simple State Space Model for Point Cloud Analysis cites Simplified State Space Layers for Sequence Modeling
  • S4ND: Modeling Images and Videos as Multidimensional Signals with State Spaces cites Diagonal State Spaces are as Effective as Structured State Spaces
  • S4ND: Modeling Images and Videos as Multidimensional Signals with State Spaces cites Efficiently Modeling Long Sequences with Structured State Spaces
  • S4ND: Modeling Images and Videos as Multidimensional Signals with State Spaces cites HiPPO: Recurrent Memory with Optimal Polynomial Projections
  • Resurrecting Recurrent Neural Networks for Long Sequences cites Diagonal State Spaces are as Effective as Structured State Spaces
  • Resurrecting Recurrent Neural Networks for Long Sequences cites On the Parameterization and Initialization of Diagonal State Space Models
  • Resurrecting Recurrent Neural Networks for Long Sequences cites Efficiently Modeling Long Sequences with Structured State Spaces
  • Resurrecting Recurrent Neural Networks for Long Sequences cites HiPPO: Recurrent Memory with Optimal Polynomial Projections
  • Resurrecting Recurrent Neural Networks for Long Sequences cites S4ND: Modeling Images and Videos as Multidimensional Signals with State Spaces
  • Resurrecting Recurrent Neural Networks for Long Sequences cites Hungry Hungry Hippos: Towards Language Modeling with State Space Models
  • Resurrecting Recurrent Neural Networks for Long Sequences cites Simplified State Space Layers for Sequence Modeling
  • Hungry Hungry Hippos: Towards Language Modeling with State Space Models cites Diagonal State Spaces are as Effective as Structured State Spaces
  • Hungry Hungry Hippos: Towards Language Modeling with State Space Models cites On the Parameterization and Initialization of Diagonal State Space Models
  • Hungry Hungry Hippos: Towards Language Modeling with State Space Models cites Efficiently Modeling Long Sequences with Structured State Spaces
  • Hungry Hungry Hippos: Towards Language Modeling with State Space Models cites HiPPO: Recurrent Memory with Optimal Polynomial Projections
  • Hungry Hungry Hippos: Towards Language Modeling with State Space Models cites S4ND: Modeling Images and Videos as Multidimensional Signals with State Spaces
  • Simplified State Space Layers for Sequence Modeling cites Diagonal State Spaces are as Effective as Structured State Spaces
  • Simplified State Space Layers for Sequence Modeling cites On the Parameterization and Initialization of Diagonal State Space Models
  • Simplified State Space Layers for Sequence Modeling cites Efficiently Modeling Long Sequences with Structured State Spaces
  • Simplified State Space Layers for Sequence Modeling cites HiPPO: Recurrent Memory with Optimal Polynomial Projections
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers56

  1. Resurrecting Recurrent Neural Networks for Long SequencesAntonio Orvieto, Samuel L. Smith, Albert Gu, Anushan Fernando et al.ICML 2023 · 474 citations
  2. PointMamba: A Simple State Space Model for Point Cloud AnalysisDingkang Liang, Xin Zhou, Wei Xu, Xingkui Zhu et al.NeurIPS 2024 · 380 citations
  3. S4ND: Modeling Images and Videos as Multidimensional Signals with State SpacesEric Nguyen, Karan Goel, Albert Gu, Gordon W. Downs et al.NeurIPS 2022 · 267 citations
  4. Hungry Hungry Hippos: Towards Language Modeling with State Space ModelsDaniel Y. Fu, Tri Dao, Khaled Kamal Saab, Armin W. Thomas et al.ICLR 2023 · 117 citations
  5. Simplified State Space Layers for Sequence ModelingJimmy T. H. Smith, Andrew Warrington, Scott W. LindermanICLR 2023 · 78 citations

Builds on5

  1. Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 citations
  2. HiPPO: Recurrent Memory with Optimal Polynomial ProjectionsAlbert Gu, Tri Dao, Stefano Ermon, Atri Rudra et al.NeurIPS 2020 · 1,100 citations
  3. On the Parameterization and Initialization of Diagonal State Space ModelsAlbert Gu, Karan Goel, Ankit Gupta, Christopher RéNeurIPS 2022 · 690 citations
  4. Diagonal State Spaces are as Effective as Structured State SpacesAnkit Gupta, Albert Gu, Jonathan BerantNeurIPS 2022 · 546 citations
  5. Catformer: Designing Stable Transformers via Sensitivity AnalysisJared Quincy Davis, Albert Gu, Krzysztof Choromanski, Tri Dao et al.ICML 2021 · 19 citations

Related papers

  1. Robustifying State-space Models for Long Sequences via Approximate DiagonalizationAnnan Yu, Arnur Nigmetov, Dmitriy Morozov, Michael W. Mahoney et al.ICLR 2024 · 18 citations
  2. Uncovering the Spectral Bias in Diagonal State Space ModelsRuben Solozabal, Velibor Bojkovic, Hilal AlQuabeh, Kentaro Inui et al.NeurIPS 2025 · 3 citations
  3. HOPE for a Robust Parameterization of Long-memory State Space ModelsAnnan Yu, Michael W. Mahoney, N. Benjamin ErichsonICLR 2025
  4. WaLRUS: Wavelets for Long range Representation Using State Space MethodsHossein Babaei, Mel White, Sina Alemohammad, Richard G. BaraniukNeurIPS 2025 · 2 citations
  5. HiPPO Zoo: Explicit Memory Mechanisms for Interpretable State Space ModelsJack Goffinet, Casey Hanks, David CarlsonICML 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines