Evaluating Long-Range Temporal Structure in Foundation Model-Based Forecasts of Heartbeat Dynamics

Adrian Serapio, Bharath Ramsundar, Sandya SubramanianSD4H @ ICML 2026

This paper, presented at a workshop for the 43rd International Conference on Machine Learning (ICML), investigates whether the current crop of "Foundation Models" for time-series data can actually handle the complex, multi-scale nature of human physiology.

TL;DR

While Time-Series Foundation Models (TSFMs) are excellent at mimicking the short-term "look" of an EKG, they struggle to capture the long-range physiological rhythms governed by the autonomic nervous system. As forecast horizons increase, these models suffer from "variability collapse," producing heart rate predictions that are far too stable and predictable compared to real-world biological signals.

What Problem Does This Paper Address?

In the world of AI, Foundation Models (like GPT-4) have revolutionized how we handle text and images. Recently, researchers have released TSFMs—models pre-trained on massive amounts of diverse time-series data—to perform "zero-shot" forecasting (predicting the future of a signal they’ve never seen before).

However, human physiological data, like an Electrocardiogram (ECG), is uniquely difficult. It has a multi-scale temporal hierarchy:

  1. Local Morphology (Milliseconds): The specific shape of a single heartbeat.
  2. Long-Range Structure (Minutes to Hours): The "RR intervals" (the time between beats), which fluctuate based on stress, sleep, and the autonomic nervous system.

The authors wanted to know: Do TSFMs actually understand the underlying biological "engine" driving the heart, or are they just sophisticated copy-cats that reproduce local patterns while failing to capture the long-term stochastic (random) nature of heart rate variability?

Methods

The researchers benchmarked three prominent general-purpose TSFMs:

  • TimesFM 2.5 (Google): A decoder-only transformer using "patching" to capture long-range dependencies.
  • Chronos-2 (Amazon): A model that treats time-series forecasting like a language modeling problem by quantizing values into "tokens."
  • Moirai 2.0 (Salesforce): A lightweight TSFM designed for probabilistic forecasting.

They compared these against a standard LSTM (Long Short-Term Memory) network as a baseline.

Crucially, they evaluated the models using two different strategies:

  1. Direct Prediction: Asking the model to predict the sequence of RR intervals directly.
  2. Extraction: Asking the model to forecast the raw ECG waveform and then calculating the heart rate from that generated signal.

Datasets

The study used the MIT-BIH Normal Sinus Rhythm Database (NSRDB), a gold-standard dataset containing 18 long-term ECG recordings from subjects with healthy heart rhythms. The models were given context windows of up to 8,192 samples and tasked with forecasting up to 1,024 future beats.

Key Insights and Ideas

  • The "Variability Collapse": This is the most striking finding. Real heart rates are "noisy" in a healthy way (Heart Rate Variability). TSFMs, however, tend to converge toward a "mean" behavior. In the plots, while the ground truth signal shows rich fluctuations, the model forecasts often flatten out into a straight line.
  • Morphology $\neq$ Dynamics: TSFMs are surprisingly good at drawing a realistic-looking ECG wave. However, the timing of those waves is often wrong. They can emulate the "shape" of a heart but not the "pulse" of the nervous system.
  • Context Doesn't Cure All: You might think giving a model more history (a longer context window) would help. The authors found that increasing context from 2,048 to 8,192 samples did not consistently improve long-range forecasting.
  • Pointwise Metrics are Deceptive: A model might have a low Mean Absolute Error (MAE) because it stays near the average heart rate, but it can still fail the Kolmogorov-Smirnov (KS) test, which measures if the model captures the true statistical distribution of the heart's timing.

Key Results

  • Error Accumulation: Forecasting performance degraded sharply as the horizon increased. For example, Chronos-2’s error (RMSE) jumped from 0.17s at a 256-beat horizon to 0.59s at 1,024 beats.
  • Baseline Parity: Surprisingly, the simple LSTM baseline achieved comparable accuracy to the massive foundation models in many settings. This suggests that the "knowledge" TSFMs gained from pre-training on non-physiological data doesn't necessarily translate to better heart dynamics modeling.
  • Distributional Failure: Both TimesFM and Moirai 2.0 produced near-zero local variability (measured by SDNN and RMSSD) compared to the ground truth, failing to preserve the physiological "signature" of the patient.

Limitations and Future Work

The authors note that while ECG-specific foundation models exist, they are often proprietary or focused on classification (e.g., "does this patient have an arrhythmia?") rather than forecasting.

Future Directions: * Architectural Biases: We may need models designed with "physiological priors" that force them to respect multi-scale temporal structures. * New Training Objectives: Instead of just minimizing Mean Squared Error, models should be trained to preserve the statistical and distributional properties of biological signals. * Better Metrics: Moving beyond MAE/RMSE to metrics like the Fréchet distance to better evaluate the "realness" of generated physiological data.

Summary updated

BibTeX
@inproceedings{serapio2026evaluating,
  author = {Adrian Serapio and Bharath Ramsundar and Sandya Subramanian},
  title = {{Evaluating Long-Range Temporal Structure in Foundation Model-Based Forecasts of Heartbeat Dynamics}},
  booktitle = {SD4H @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=k6VLTZmR94},
}
Figure