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

DevFeed: [When2What: A Timing-Conditioned Framework for Long-Horizon Forecasting of Continuous Cardiovascular Waveforms](<https://devfeed.tech/articles/when2what-a-timing-conditioned-framework-for-long-horizon-forecasting-of-continuous-cardiovascular-waveforms-123338.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.08993>)

Author: Chaoqi Zhang, Shujie Yan, Zhao Zhang, Yanhua Sun, Yu Wang, Li Li, Lingzhong Meng, Xiaoyi Chen, Haixu Tang

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Time Series](<https://devfeed.tech/topics/time-series.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [atrial-fibrillation](<https://devfeed.tech/tags/atrial-fibrillation.md>), [blood](<https://devfeed.tech/tags/blood.md>), [blood-pressure](<https://devfeed.tech/tags/blood-pressure.md>), [commit](<https://devfeed.tech/tags/commit.md>), [continuous](<https://devfeed.tech/tags/continuous.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [ecg](<https://devfeed.tech/tags/ecg.md>), [effective](<https://devfeed.tech/tags/effective.md>), [effectively](<https://devfeed.tech/tags/effectively.md>), [error](<https://devfeed.tech/tags/error.md>), [event](<https://devfeed.tech/tags/event.md>), [events](<https://devfeed.tech/tags/events.md>), [existing](<https://devfeed.tech/tags/existing.md>), [external](<https://devfeed.tech/tags/external.md>), [forecasting](<https://devfeed.tech/tags/forecasting.md>), [framework](<https://devfeed.tech/tags/framework.md>), [horizon](<https://devfeed.tech/tags/horizon.md>), [timing](<https://devfeed.tech/tags/timing.md>)

## AI overview

When2What forecasts cardiovascular waveforms by separating future beat timing from beat morphology. Its Predict-Commit-Generate pipeline uses a 120-second history to estimate a 60-second timing map, sharpen selected events into Gaussian impulses, and condition a waveform generator on those events and the observed signal. The approach addresses a limitation of pointwise MSE forecasting, which can average across uncertain heartbeat phases and flatten sharp waveform features. In intraoperative ECG experiments, it reports near-term event skill of 0.644 and reproduces 95.62% of predicted beats in generated waveforms; direct long-horizon forecasters reportedly collapse to flat baselines. The abstract also reports zero-shot transfer to external hospital and atrial-fibrillation cohorts and application to ABP and PPG. These claims are based on the supplied abstract, which does not provide further experimental detail.

## Source excerpt

arXiv:2611.08993v1 Announce Type: new 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.