Learning dynamical systems from data: A simple cross-validation perspective, part III: Irregularly-Sampled Time Series

Jonghyeon Lee, Edward De Brouwer, Boumediene Hamzi, Houman OwhadiarXiv 2021

Introduction

In the third installment of this series on learning dynamical systems through cross-validation, we address a significant hurdle in real-world data science: irregularly sampled time series. While standard classical and deep learning models typically assume a constant sampling rate, real-world data in fields such as healthcare, finance, and climate science often arrives at inconsistent intervals. This paper demonstrates how to adapt Kernel Flows (KF) to reconstruct complex, chaotic dynamics even when the time between observations varies significantly.

The Challenge of Irregular Sampling

The standard approach for learning a dynamical system $\dot{x} = f(x)$ involves interpolating its vector field. However, when observations occur at $t_1, t_2, \dots$ with varying gaps $\Delta t_k = t_{k+1} - t_k$, the relationship between consecutive states $x_k$ and $x_{k+1}$ becomes non-stationary. Common workarounds, such as imputing missing values or using simple Euler approximations (assuming $\Delta x \approx \Delta t \cdot f(x)$), often fail as time gaps increase or the system's chaotic nature intensifies.

Methodology: Kernel-IFlow

The authors introduce "Kernel-IFlow," an evolution of the Kernel Flows algorithm rooted in Reproducing Kernel Hilbert Spaces (RKHS).

  1. The KF Premise: A kernel is considered "good" if the resulting model remains stable when trained on a subset of the data. The algorithm optimizes kernel parameters via gradient descent to minimize a subsampling loss.
  2. The "Irregular" Innovation: Rather than learning a static vector field, the authors propose learning a generalized flow map. The model incorporates time differences directly into the kernel input: $$x_{k+1} = f^\dagger(x_k, \Delta_k, x_{k-1}, \Delta_{k-1}, \dots)$$
  3. Kernel Architecture: A sophisticated composite kernel (utilizing 24 parameters across Gaussian, Laplacian, and locally periodic kernels) allows the model to capture diverse behaviors, from smooth flows to abrupt transitions.

Experimental Setup and Datasets

The approach was evaluated on three benchmark dynamical systems: the discrete-time Hénon Map, the continuous Van der Pol Oscillator (known for stiff dynamics), and the iconic chaotic Lorenz System. Irregular samples were generated by taking random multiples of a base integration step.

The training data for the Hénon attractor illustrates the complex geometric structure the model must learn from irregular samples.

Results and Discussion

Kernel-IFlow (Approach A) consistently outperformed both "Regular KF" (Approach B) and "Euler KF" (Approach C).

  • Accuracy: On the Lorenz system, Kernel-IFlow achieved an $R^2$ of 0.967, whereas regular KF (ignoring time gaps) only reached 0.700.
  • Handling Stiffness: The Van der Pol oscillator provided the most striking evidence. While regular and Euler approaches failed to reconstruct the attractor ($R^2 < 0$), Kernel-IFlow maintained an $R^2$ of 0.998, accurately capturing the system's characteristic "jumps."
A comparison of forecasting performance shows that the proposed irregular Kernel Flows (Approach A) maintains high fidelity to the test data, whereas the regular Kernel Flows (Approach B) exhibits significant divergence.

Conclusion

The primary insight of this work is that for irregular data, one should learn the integration of the derivative over an arbitrary time window $\Delta t$ rather than the derivative itself. By treating $\Delta t$ as an explicit input, the kernel adapts to the varying distance the system travels between observations. While computationally more intensive than fixed-kernel methods, the gain in accuracy for chaotic and stiff systems is substantial. Future work will look toward extending these deterministic methods to Stochastic Differential Equations (SDEs).

Summary updated

BibTeX
@misc{lee2021learning,
  author = {Jonghyeon Lee and Edward De Brouwer and Boumediene Hamzi and Houman Owhadi},
  title = {{Learning dynamical systems from data: A simple cross-validation perspective, part III: Irregularly-Sampled Time Series}},
  year = {2021},
  eprint = {2111.13037},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.13037},
}
Figure