Learning Interpretable Hierarchical Dynamical Systems Models from Time Series Data

Manuel Brenner, Elias Weber, Georgia Koppe, Daniel Durstewitz

Introduction

In fields ranging from neuroscience to meteorology, scientists often seek to understand the "rules of the game"—the underlying equations governing a system—based purely on observed time series data. This challenge is known as Dynamical Systems Reconstruction (DSR). Unlike standard forecasting, which merely predicts the next data point, DSR aims to build a generative model that captures the long-term "soul" of the system, such as its attractor geometry and spectral properties.

However, two major hurdles typically impede DSR:

  1. Data Scarcity: Individual time series (e.g., a single patient's EEG) are often too short to reliably reconstruct complex dynamics.
  2. Variability: Different "subjects" might follow the same general physical laws but operate in entirely different regimes (e.g., one heart beating normally, another in arrhythmia).

Existing methods struggle to integrate data from multiple regimes or generalize to new ones. To address this, researchers have developed a hierarchical framework for DSR that shares knowledge across different datasets to model complex, chaotic behavior. By separating "group-level" physics from "subject-specific" features, the model can reconstruct high-fidelity dynamics from very short time series and automatically discover interpretable "control knobs" that correspond to real physical parameters.

A Hierarchical DSR Framework

The authors propose a novel architecture that splits the learning process into two distinct levels:

  • Group-Level Parameters ($\theta_{group}$): High-dimensional weights shared across all subjects that represent the general "physics" or universal rules of the system.
  • Subject-Specific Features ($l^{(j)}$): A low-dimensional vector for each subject that acts as a set of individual "control knobs."
Hierarchical DSR Framework

These subject features are mapped via a simple linear transformation to the parameters of a Shallow Piecewise Linear Recurrent Neural Network (shPLRNN). This specific RNN choice is critical because it is mathematically tractable and capable of representing complex bifurcations. To train the model on chaotic data without suffering from exploding gradients, the authors employ Generalized Teacher Forcing (GTF), a technique that stabilizes training by cleverly interpolating between the model's own predictions and the actual observed data.

Datasets and Reconstructions

The framework was put through a rigorous gauntlet of synthetic and real-world data to test its reconstructive power:

  • Classic Benchmarks: The Lorenz-63 (atmospheric convection), Rössler (chemical kinetics), and Lorenz-96 (spatially extended weather) systems.
  • Biophysical Simulations: A 52-dimensional model of arterial pulse waves across 13 body sites.
  • Empirical Human Data: Clinical EEG recordings (healthy vs. epileptic) and fMRI brain activity during cognitive tasks.
Reconstruction of Chaotic Attractors

As seen in the classic benchmarks, the hierarchical model successfully generates high-fidelity reconstructions of complex chaotic attractors and spatiotemporal dynamics, closely matching the ground truth across vastly different parameter regimes.

Key Insights and Results

The Emergence of "Control Knobs"

Perhaps the most striking finding is that the unsupervised, low-dimensional feature space ($l^{(j)}$) automatically aligned linearly with the ground-truth physical parameters (like the $\rho$ parameter in the Lorenz system). The model essentially "discovered" the physics without being explicitly told what the underlying parameters were. In the arterial pulse wave study, these learned features could predict 32 different hemodynamic parameters (like heart rate and arterial size) with a mean $R^2$ of 0.83.

Faster Training and Few-Shot Generalization

Counter-intuitively, the authors found that training time decreased as they added more subjects. By seeing a wider variety of dynamical regimes, the model learns the underlying parameter space more efficiently. Because the core "physics" is already learned in the group parameters, the model can identify the dynamics of a brand-new subject using as few as 100 time steps simply by fine-tuning that subject's low-dimensional feature vector.

Superior Performance vs. Standard AI

The hierarchical model significantly outperformed other state-of-the-art DSR methods (like LEADS and CoDA) in terms of State Space Divergence ($D_{stsp}$) and Hellinger Distance ($D_H$), which measure how well the model captures the "shape" and "rhythm" of the system. Furthermore, the paper includes a reality check comparing DSR to heavyweights like Transformers and N-HITS. While those models excel at short-term forecasting, they completely fail to capture the long-term statistical and geometric structure of chaotic systems.

On real-world human EEG data, the model achieved 92.6% accuracy in distinguishing between healthy and epileptic subjects in a completely unsupervised fashion, outperforming specialized time-series feature extraction tools like tsfresh and ROCKET.

Limitations and Future Work

While the results are impressive, the authors note a few areas for future growth:

  • Mathematical "Why": It is currently unclear exactly why the model so strongly favors a linear relationship between learned features and physical control parameters.
  • Time-Scale Sensitivity: The model currently assumes all integrated systems evolve on roughly similar time scales. It might struggle to integrate millisecond-level brain spikes with week-long behavioral changes in the same hierarchy.
  • Domain Knowledge: Incorporating explicit physical priors (like those used in SINDy or PINNs) could make the model even more robust for specific scientific applications.

Ultimately, this work marks a significant step toward "Foundation Models" for dynamical systems, where a single model could understand the broad rules of a domain—like cardiology or meteorology—and quickly adapt to the unique "knobs" of an individual subject.

Summary updated

BibTeX
@inproceedings{brenner2025learning,
  author = {Manuel Brenner and Elias Weber and Georgia Koppe and Daniel Durstewitz},
  title = {{Learning Interpretable Hierarchical Dynamical Systems Models from Time Series Data}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=Vp2OAxMs2s},
}
Figure