Abstract
Irregularly Sampled Multivariate Time Series (IMTS) are prevalent in critical domains such as healthcare and climate science, where observations are often sparse and non-uniformly distributed. While Neural Ordinary Differential Equations (Neural ODEs) have emerged as a popular solution for continuous-time modeling, they are hindered by significant computational overhead, high memory consumption, and sensitivity to missing data. This paper introduces Functional Latent Dynamics (FLD), a streamlined framework that replaces expensive numerical ODE solvers with simple, parameterized latent curves. By leveraging an attention-based encoder to map irregular observations to curve coefficients, FLD achieves inference speeds up to 73x faster than traditional ODE-based models while maintaining competitive accuracy across multiple real-world benchmarks.
1. Introduction
Standard deep learning models typically operate on regular grids, assuming observations occur at fixed intervals. However, real-world data—such as vital signs in an Intensive Care Unit (ICU) or weather measurements from remote stations—is rarely tidy. These Irregularly Sampled Multivariate Time Series (IMTS) often contain missing values and varying temporal gaps between observations.
To address this, researchers have previously turned to Neural ODEs, which model the hidden state of a network as a continuous system evolving over time. Despite their mathematical elegance, Neural ODEs require sequential numerical solvers that are computationally intensive and difficult to scale. FLD proposes a paradigm shift: instead of solving a differential equation to find a path, we define the path directly using parameterized functions, significantly reducing the complexity of the temporal backbone.
2. Methodology
2.1 The FLD Framework
The core innovation of FLD is the replacement of the derivative-based hidden state evolution ($dh/dt$) with a direct functional mapping ($h(t) = g(t; \theta)$). In this framework, the latent dynamics are governed by a simple curve $g$ parameterized by coefficients $ heta$, which are learned by the model.
The authors evaluated three specific functional forms for these latent curves:
- FLD-L (Linear): $g(t) = at + b$
- FLD-Q (Quadratic): $g(t) = at^2 + bt + c$
- FLD-S (Sine): $g(t) = a \sin(bt + c) + d$
2.2 Model Architecture
The FLD architecture consists of three primary components:
- Encoder: An attention-based mechanism (inspired by Multi-Time Attention Networks) processes the scattered, irregular data points. It is designed to ignore missing values (NaNs) and output the coefficients $ heta$ for the chosen latent curve.
- Latent State: The latent state at any arbitrary time point $t$ is calculated by simply evaluating the function $g(t; \theta)$. This allows for massive parallelism, as states at different time points can be computed simultaneously rather than sequentially.
- Decoder: A deep neural network serves as the decoder, mapping the latent state to the final prediction. This allows the model to capture complex, non-linear relationships even if the underlying latent curve is simple (e.g., linear).
3. Experimental Evaluation
3.1 Datasets
The researchers benchmarked FLD against four rigorous datasets characterized by extreme sparsity:
- USHCN: Daily weather measurements from 1,280 stations, thinned to retain only 5% of the original data.
- Physionet-2012: Records of 12,000 ICU patients over their first 48 hours of admission.
- MIMIC-III & MIMIC-IV: Large-scale clinical datasets containing vital signs and lab results with missingness rates as high as 97.8%.
3.2 Baselines
FLD was compared against state-of-the-art Neural ODE variants (e.g., GRU-ODE) and recent graph-based models like GraFITi.
4. Results and Discussion
4.1 Computational Efficiency
The most striking result is the gain in inference speed. On the MIMIC-IV dataset, FLD-L completed inference in 2.1 seconds, compared to 154.5 seconds for GRU-ODE—a ~73x speedup. Furthermore, FLD avoided the "Out of Memory" (OOM) errors that frequently occurred with ODE-based models on high-dimensional datasets, thanks to its lower memory footprint.
4.2 Predictive Performance
Despite its simplicity, FLD matched or outperformed ODE-based models in short and medium-range forecasting. While the graph-based GraFITi model maintained a slight edge in very long-range forecasting, FLD proved superior in specific clinical tasks, such as the Physionet-2012 75%-25% split.
4.3 The Goodwin Oscillator Proof
To demonstrate the power of combining simple curves with deep decoders, the authors showed that FLD-L could accurately reconstruct the highly non-linear dynamics of a biological "Goodwin Oscillator." This confirms that a simple latent "clock" provides sufficient temporal context for a neural network to model complex, non-linear behavior.
5. Conclusion and Future Work
Functional Latent Dynamics demonstrates that the computational complexity of Neural ODEs is often unnecessary for effective IMTS forecasting. By utilizing simple latent curves, FLD provides a scalable, fast, and accurate alternative for real-world applications. Future research will focus on extending FLD to probabilistic forecasting to provide uncertainty estimates and developing methods to automatically select or combine different curve types for specific datasets.
Summary updated