arXiv:2610.24501cs.LGOct 2026

Manuscript Offprint

arXiv:2610.24501

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

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.

1 INTRODUCTION

An irregular time series is observed at times determined by data collection and queried at times specified by the task. Clinical measurements and environmental observations arrive at uneven intervals, while downstream analysis may require interpolation at missing times, extrapolation beyond the observed interval, or evaluation at a different temporal resolution (Rubanova et al., 2019; Schirmer et al., 2022). These requests operate on the same history at different query coordinates. The representation retained from that history therefore determines how new temporal coordinates can be evaluated.

Existing approaches handle irregularity through continuous latent dynamics, time-aware attention, or structured representations of the observed samples. Latent ODEs and Neural CDEs model continuous hidden trajectories (Rubanova et al., 2019; Kidger et al., 2020); mTAN and ContiFormer introduce continuous-time structure into attention (Shukla & Marlin, 2021; Chen et al., 2023); and patch- or graph-based methods reorganize irregular observations before prediction (Zhang et al., 2024; Liu et al., 2026a). These approaches substantially improve how irregular histories are processed. In observation-indexed readouts, however, a requested coordinate is still resolved through a representation tied to the observed history. The form of this retained representation determines both how temporal queries access the history and what information must remain available for subsequent prediction.

How can an irregular history be compressed into a function-valued memory that supports direct evaluation at arbitrary temporal coordinates? We address this question by giving the retained state an explicit continuous coordinate semantics. Observations are written into a shared functional coordinate system, and requested times are evaluated in the same system. Content interaction occurs before compression, allowing the values written into memory to depend on relationships among the observations.

(a) Functional memory

Figure

(b) Architecture

Figure 1: Figure 1: Overview of HiPPO Functional Memory (HiPPO-FM). (a) Functional memory. Irregular observations are compiled into a fixed-rank, coordinate-addressable functional state BPB_P using HiPPO-derived coordinate features and matched functional geometry. The same geometry is used for memory writing and coordinate readout, where query coordinates are evaluated through O(R)=Ψ(R)BPO(R) = \Psi(R)B_P, enabling reuse of the retained state across different query sets. (b) Architecture. Masked self-attention first performs content interaction on the observed support before functional compression. The resulting representation is either pooled for classification or passed to an output FM head for coordinate-valued prediction.

We introduce HiPPO Functional Memory (HiPPO-FM), a functional-memory attention operator that compiles an irregular history into a fixed-rank, coordinate-queryable state:

DP⟼BP,O(R)=Ψθ(R)BP,\mathcal{D}_{P}\longmapsto B_{P},\qquad O(R)=\Psi_{\theta}(R)B_{P},

where PP is the observed support, RR is the requested support, and BP∈RM×dB_P \in \mathbb{R}^{M \times d} contains the retained functional coefficients. Prediction at a new coordinate is obtained by evaluating these coefficients through its functional features rather than resolving a new query against the full observation-indexed history. After encoding, the history-specific state occupies O(Md)O(Md) storage, independent of the number of observed timestamps, and the same state can be evaluated on different query sets.

HiPPO-FM combines Legendre polynomial modes with interdomain kernel geometry to construct its temporal coordinate functions (Gu et al., 2020; Lazaro-Gredilla & Figueiras-Vidal, 2009). The same geometry governs the observation write and coordinate read, with a matched Gram solve accounting for correlations among the functional coordinates. Masked self-attention acts before the write, so content interaction determines what enters memory while the functional coordinates determine how that information is stored and queried. This MHA-to-FM ordering preserves the functional query space while allowing content-dependent representations to be formed before compression.

The resulting state admits an explicit functional interpretation. The raw memory consists of interdomain functionals of the kernel field induced by the projected observations, and the matched decoder restricts coordinate dependence to a finite-dimensional functional space. We characterize this space and derive a pointwise decomposition of approximation error into functional-geometry error and learned-memory mismatch. The coordinate-wise readout also makes the retained state reusable across different query sets without changing the prediction associated with a fixed requested coordinate.

We study these properties through continuous-coordinate reconstruction, irregular representation learning across 20 UEA datasets, real irregular extrapolation on PhysioNet, and controlled functional-memory diagnostics. Together, these settings evaluate both the predictive behavior of the representation and its ability to support repeated coordinate queries.

Our contributions are:

• Coordinate-queryable functional attention. We introduce an attention operator that compiles an irregular history into a fixed-rank functional state and performs prediction by direct coordinate evaluation. The retained state supports arbitrary query sets with history-length-independent post-encoding storage.

• Matched functional memory with pre-write content interaction. HiPPO-derived coordinates and interdomain kernel geometry define a common functional system for memory write and coordinate readout, while observed-support self-attention forms content-dependent representations before functional compression.

• Functional analysis and reusable inference. We establish the semantics of the retained coefficients and their finite query space, derive a geometry–memory error decomposition, and study the resulting representation across reconstruction, classification, extrapolation, and repeated-query evaluation.

References (58)