HiPPO-FM improves handling of irregular time series for versatile queries

HiPPO Functional Memory: Coordinate-Queryable Attention for Irregular Time Series

Machine Learning

Summary

Some data records events that happen at irregular times, making it hard for computers to answer questions about those events at any time point. The authors present HiPPO Functional Memory, a new way to store and query such data efficiently. Instead of remembering every event separately, this method summarizes the entire history into a compact form that can be queried quickly for any time. This helps systems better reconstruct, predict, and understand irregular time series with fewer delays.

What this means in practice

  • For data science teams: Improve models predicting or reconstructing irregularly timed data such as medical measurements or sensor readings with efficient reusable memory states.
  • For software engineers: Build systems able to efficiently query historical event sequences at arbitrary times without reprocessing full histories repeatedly.

Authors

Zhaodong Guo, Haoyun Feng

Abstract

Irregular time series require models to answer temporal queries at arbitrary coordinates, yet existing approaches typically retain observation-dependent representations that must be repeatedly resolved for each query. We introduce HiPPO Functional Memory (HiPPO-FM), a functional-memory attention operator that compiles an irregular history into a reusable coordinate-addressable state. Instead of storing observation-indexed tokens or latent trajectories, HiPPO-FM writes observations into a fixed-rank functional space and performs direct coordinate evaluation through matched functional geometry. Kernel-smoothed HiPPO coordinates and Gram-based readout define a shared write/read mechanism, while observed-support self-attention enables content-dependent representations before compression. We characterize the induced finite-dimensional query space and derive an error decomposition separating functional geometry approximation from learned-memory mismatch. Across continuous-coordinate reconstruction, irregular representation learning, real-world extrapolation, and event-sequence prediction, HiPPO-FM consistently improves strong irregular time-series baselines, achieving strong reconstruction accuracy on Spiral, competitive performance across 20 UEA datasets, improved real-world extrapolation, and superior results on several irregular event benchmarks. After encoding, the compact functional state can be reused across different query sets without reprocessing the observation history.