English

HiPPO-Prophecy: State-Space Models can Provably Learn Dynamical Systems in Context

Machine Learning 2025-08-05 v3 Machine Learning

Abstract

This work explores the in-context learning capabilities of State Space Models (SSMs) and presents, to the best of our knowledge, the first theoretical explanation of a possible underlying mechanism. We introduce a novel weight construction for SSMs, enabling them to predict the next state of any dynamical system after observing previous states without parameter fine-tuning. This is accomplished by extending the HiPPO framework to demonstrate that continuous SSMs can approximate the derivative of any input signal. Specifically, we find an explicit weight construction for continuous SSMs and provide an asymptotic error bound on the derivative approximation. The discretization of this continuous SSM subsequently yields a discrete SSM that predicts the next state. Finally, we demonstrate the effectiveness of our parameterization empirically. This work should be an initial step toward understanding how sequence models based on SSMs learn in context.

Keywords

Cite

@article{arxiv.2407.09375,
  title  = {HiPPO-Prophecy: State-Space Models can Provably Learn Dynamical Systems in Context},
  author = {Federico Arangath Joseph and Kilian Konstantin Haefeli and Noah Liniger and Caglar Gulcehre},
  journal= {arXiv preprint arXiv:2407.09375},
  year   = {2025}
}

Comments

ICML 2024, Next Generation Sequence Modeling Architectures Workshop

R2 v1 2026-06-28T17:38:50.720Z