PaperarXiv:2611.08993

When2What: A Timing-Conditioned Framework for Long-Horizon Forecasting of Continuous Cardiovascular Waveforms

PreprintDated Nov 9, 2026Added Nov 9, 2026

  • CE

Authors: Chaoqi Zhang; Shujie Yan; Zhao Zhang; Yanhua Sun; Yu Wang; Li Li; Lingzhong Meng; Xiaoyi Chen; Haixu Tang (Indiana University et al.)

arXiv preprint

TL;DR

Predict-Commit-Generate forecaster: from 120 s of history it predicts a 60 s beat-timing map, commits discrete beat events, then generates the waveform. ECG event skill 0.644; zero-shot to MOVER and SHDB-AF; finger PPG event F1 0.686 vs 0.671 direct forecaster.

  • Form factor: clinical (intraoperative monitors; finger PPG)

Abstract

Long-horizon forecasting of quasi-periodic cardiovascular waveforms, such as the electrocardiogram (ECG), arterial blood pressure (ABP), and photoplethysmogram (PPG), requires predicting both when future cardiac events will occur (beat timing) and what the local structural pattern looks like around each event (beat morphology). However, standard sequence forecasters trained with pointwise mean squared error (MSE) average across uncertain future heartbeat phases, flattening sharp R peaks and pulse upstrokes into featureless baselines. Our analysis of intraoperative ECG reveals a clear temporal asymmetry: beat-time predictability from history decays within seconds due to stochastic heart-rate variability, whereas local beat morphology aligned at true beat times remains stable over several minutes. Guided by this insight, we introduce When2What, a timing-conditioned framework comprising three stages: Predict, Commit, and Generate. Given a 120-s history, When2What predicts a dense 60-s timing map, selects and sharpens discrete beat events into unit-height Gaussian impulses, and conditions a neural waveform generator on both these committed events and the observed history. Across intraoperative ECG, When2What substantially outperforms existing time-series and physiological forecasters, achieving a near-term waveform event skill of 0.644 and reproducing 95.62% of its predicted heartbeats in the generated waveform where direct long-horizon forecasters collapse into flat baselines. Furthermore, When2What transfers zero-shot to external hospital and atrial fibrillation cohorts, extends effectively to ABP and PPG pulse waveforms, and is supported by ablations and synthetic analyses that establish explicit timing conditioning as an effective paradigm for quasi-periodic long-horizon waveform forecasting.

Verbatim from arXiv (opens in a new tab) · arXiv metadata (abstracts are released under CC0)

Results on ChatPPG leaderboards

All leaderboards

No results from this paper on ChatPPG leaderboards yet. Browse the leaderboards.

Tasks & signals

Signals

Keywords

ForecastingABPWaveform GenerationBeat TimingVitaldbIntraoperative

Datasets used

How it works

How Method works: Setup → Method → TargetSetup: Signals (ECG, ABP, PPG); Form factor (clinical (intraoperative monitors; finger PPG)). Method: Method.SetupSignals: ECG, ABP, PPGSignalsECG, ABP, PPGForm factor: clinical (intraoperative monitors; finger PPG)Form factorclinical (intraoperative monitors…MethodMethod

Cite this paper

Cite this paper with the fields recorded here. Check it against the publisher before submitting.

Zhang, C., Yan, S., Zhang, Z., Sun, Y., Wang, Y., Li, L., Meng, L., Chen, X., & Tang, H. (2026). When2What: A Timing-Conditioned Framework for Long-Horizon Forecasting of Continuous Cardiovascular Waveforms. arXiv preprint. https://arxiv.org/abs/2611.08993
Zhang, Chaoqi, Shujie Yan, Zhao Zhang, Yanhua Sun, Yu Wang, Li Li, Lingzhong Meng, Xiaoyi Chen, and Haixu Tang. 2026. "When2What: A Timing-Conditioned Framework for Long-Horizon Forecasting of Continuous Cardiovascular Waveforms." arXiv preprint. https://arxiv.org/abs/2611.08993.
Zhang, C., Yan, S., Zhang, Z., Sun, Y., Wang, Y., Li, L., Meng, L., Chen, X. and Tang, H. (2026) 'When2What: A Timing-Conditioned Framework for Long-Horizon Forecasting of Continuous Cardiovascular Waveforms', arXiv preprint. Available at: https://arxiv.org/abs/2611.08993
Zhang, Chaoqi, et al. "When2What: A Timing-Conditioned Framework for Long-Horizon Forecasting of Continuous Cardiovascular Waveforms." arXiv preprint, 2026. https://arxiv.org/abs/2611.08993.
C. Zhang et al., "When2What: A Timing-Conditioned Framework for Long-Horizon Forecasting of Continuous Cardiovascular Waveforms," arXiv preprint, 2026, [Online]. Available: https://arxiv.org/abs/2611.08993.
@misc{zhang2026when2what,
  title         = {{When2What: A Timing-Conditioned Framework for Long-Horizon Forecasting of Continuous Cardiovascular Waveforms}},
  author        = {Zhang, Chaoqi and Yan, Shujie and Zhang, Zhao and Sun, Yanhua and Wang, Yu and Li, Li and Meng, Lingzhong and Chen, Xiaoyi and Tang, Haixu},
  year          = {2026},
  howpublished  = {arXiv preprint},
  eprint        = {2611.08993},
  archivePrefix = {arXiv}
}

Source metadata: 2026

Record updated Nov 10, 2026

Record updated

Added to the ChatPPG research hub