Towards a Physiologically Rigorous Heartbeat Dynamics Foundation Model
Capturing long-range heartbeat dynamics accurately from wearable electrocardiogram (ECG) recordings is a key challenge in personalized healthcare and autonomic neuroscience. Although classical methods are physiologically grounded and statistically rigorous, they cannot learn across population data and therefore cannot scale. Time series foundation models, on the other hand, can scale, but fail to capture physiologically meaningful beat-to-beat dynamics. We present, to our knowledge, the first probabilistic foundation model of heartbeat dynamics: a density-based neural temporal point process (NTPP) pretrained on RR-interval sequences from 11,226 subjects across five public datasets spanning normal sinus rhythm, arrhythmia, atrial fibrillation, and ischemia. We establish a physiological scaling law in this domain, showing that held-out metrics improve predictably with cohort size. We additionally show that scaling behavior in stochastic output domains like physiology should be evaluated by distributional calibration metrics (KS distance, goodness-of-fit) rather than point-error (MAE, RMSE), because point errors approach their irreducible floor while distributional properties continue to improve. Our pretrained model transfers zero-shot to a held-out ambulatory dataset, reaching 94.7% goodness-of-fit with no subject-specific data. In 5-minute autoregressive simulation, the model remains calibrated (87-88% goodness-of-fit) and generates trajectories with real physiological variability. Finally, we show that the learned representations are physiologically interpretable. The recurrent history embeddings separate normal and arrhythmia windows in held-out test subjects with a balanced accuracy of 95.7%. The lognormal mixture distributions show that arrhythmia subjects differ mainly in predictive spread (3.5x larger standard deviation than normal cohort), with only a small shift toward shorter mean RR than the normal group (0.79 vs. 0.86s). These results establish population-scale pretraining as a foundation for physiologically grounded modeling and simulation of heartbeat dynamics.
Authors
- Bharath Ramsundar (ORCID: https://orcid.org/0000-0001-8450-4262)
- Sandya Subramanian (ORCID: https://orcid.org/0000-0001-5885-1199)
- Bhuvana Ravikumar
- Gayathri Sunil (ORCID: https://orcid.org/0009-0001-2600-5999)
Institutions
- University of Massachusetts Amherst (US)
- Forest Concepts (United States) (US)
- University of California, Davis (US)
- University of California, Berkeley (US)
Publication Details
- Journal
- bioRxiv (Cold Spring Harbor Laboratory)
- Published
- 2026-11-26
- DOI
- https://doi.org/10.64898/2026.11.24.768987
- Primary Topic
- ECG Monitoring and Analysis
- Type
- preprint