CS Paper Radar

Trajectory Analysis of ECG Motif Dynamics in the Run-up to Sudden Cardiac Arrest

Nivedita Bijlani, Mauricio Villarroel

eess.SP ·submitted 2026-09-01 17:09 UTC · v1
published

Abstract

Early warning signatures of sudden cardiac arrest (SCA) remain poorly characterised in long-duration ECG. We quantified pre-event changes in ECG morphology using a motif-based trajectory framework. Holter ECGs from 23 patients with annotated SCA were analysed over non-overlapping 10 s windows. Window-level motifs were extracted to quantify trajectories of instability, consistency, dispersion, heterogeneity, and personalised-baseline distance. Each trajectory was normalised to an early baseline using z-scores and aligned to ventricular fibrillation (VF) onset. Abnormal burden was defined as the proportion of windows with z>=3 within a rolling 10-minute window. Median sustained abnormal burden onset occurred 5.8-8.4 h before VF across morphological metrics. Motif dispersion showed the most consistent long-horizon detection, with sustained abnormal burden >=1 h before VF in 100% of patients and >=2 h in 89%. Motif consistency showed the strongest late-stage change, with 70% median abnormal burden in the final 10 min. Peak morphological deviation occurred ~2 h prior to VF. Our label-free framework transforms longitudinal ECG analysis from an event detection approach towards a continuous characterisation of evolving cardiac change, enabling a personalised early warning of SCA, well suited to long-duration wearable ECG monitoring.

Comment
Accepted to the Computing in Cardiology Conference (CinC) 2026

Closest papers

Nearest neighbours by meaning across the whole index.

ECG-LabWAS: A Laboratory-Wide Association Study Using a Fine-Tuned Single-Lead Electrocardiogram Foundation Model

eess.SP ·2026-11-20 ·Wenhui Liu, Yujie Xiao, Gongzheng Tang, Jianwei Chen, Jun Li +4 more
similarity 0.58
Abstract

Laboratory testing guides clinical diagnosis but requires blood sampling and processing. The electrocardiogram (ECG) is fast and noninvasive and may carry information about laboratory abnormalities, yet most AI-ECG models target one test at a time using 12-lead recordings. We conducted an exploratory ECG laboratory-wide association study (ECG-LabWAS), fine-tuning an ECG foundation model pretrained on 10.8 million ECGs to screen 50 laboratory tests from single-lead waveforms alone. The model was developed in an emergency-department cohort (MC-MED; 31,826 patients) and applied unchanged to an independent hospital cohort (MIMIC-IV; 115,921 patients). Of 89 abnormality directions (low or high values of each test), 33 met the same screening criteria in both cohorts. Areas under the receiver operating characteristic curve in the two cohorts were 0.841 and 0.838 for elevated NT-proBNP, 0.769 and 0.740 for elevated cardiac troponin, 0.755 and 0.731 for elevated creatinine, and 0.713 and 0.710 for low potassium. Discrimination changed little when the ECG--laboratory matching window was widened from $\pm$1 to $\pm$24 hours. Model predictions reproduced the co-occurrence of observed abnormalities but were about twice as tightly coupled, largely along one shared component consistent with overall illness severity; low potassium, elevated NT-proBNP and troponin, and markers of renal function retained discrimination beyond that of correlated tests. In exploratory analyses, ECG-assisted versions of the modified Glasgow Prognostic Score and the systemic inflammatory response syndrome criteria were associated with in-hospital and one-year mortality. These results identify which laboratory abnormalities warrant analyte-specific study with single-lead ECG.

0.32

Interpretable Stress Detection from ECG Signals Using Motif-Based Anomaly Analysis

eess.SP cs.LG ·2026-08-27 ·Zhanna Balyan, Sachin Kumar
similarity 0.55
Abstract

Stress detection using physiological signals has gained significant attention due to its impact on both physical and mental health. While existing approaches based on machine learning and deep learning achieve strong predictive performance, they often rely on black-box models and fail to capture individual variability in physiological responses. In this work, we propose an interpretable and personalized framework for stress detection using electrocardiogram (ECG) signals based on motif discovery and Matrix Profile analysis. Instead of training a classifier, the method learns subject-specific baseline cardiac behavior by extracting recurring heartbeat patterns (motifs) from ECG signals. Stress is then detected as a deviation from these baseline patterns using a distance-based anomaly score. Experiments are conducted on the WESAD dataset using a carefully designed train-validation-test protocol to ensure reliable evaluation. The results show that the proposed approach can effectively detect stress for several subjects while providing clear interpretability through direct comparison of ECG patterns. However, the performance varies across individuals due to differences in physiological responses, with some subjects exhibiting minimal morphological changes under stress. Additional analysis incorporating heart rate variability (HRV) features reveals that while HRV can improve performance in certain cases, its contribution is not consistent across all subjects. These findings highlight the importance of personalization and interpretability in physiological stress detection and demonstrate that motif-based approaches provide a meaningful alternative to black-box models, while also revealing inherent limitations due to inter-subject variability.

0.23

Pulse waveform morphology encodes haemodynamic signatures of impending stroke

cs.AI ·2026-11-07 ·Cheng Ding, Jiaming Liu, Jian Wu, Hongxia Xu, Daoqiang Zhang
similarity 0.54
Abstract · 23 pages, 10 figures

Stroke is a disorder of the circulation, yet the haemodynamic state that immediately precedes it has rarely been observed, because continuous physiological recordings before a stroke are seldom available. Photoplethysmography (PPG), recorded by every pulse oximeter and by hundreds of millions of wearable devices, captures the peripheral pulse beat by beat, but its morphology is largely discarded. Here we ask whether pulse waveform morphology encodes haemodynamic signatures of impending stroke. Using in-hospital stroke as a natural experiment that provides continuous PPG before physician-adjudicated stroke recognition, we studied intensive-care (MIMIC-III, $n=176$) and emergency-department (MC-MED, $n=154$) cohorts and described each beat with interpretable descriptors of pulse timing, amplitude, contour and variability. At a nominal 360-min horizon, morphology separated pre-recognition from stable windows with $F_1$ scores of 0.941 and 0.989 (sensitivity 0.998 and 0.980), with models transferred unchanged to the second cohort, and outperformed heart rate alone on identical windows. The signature was dominated by systolic crest time and its change from each patient's own baseline, feature attribution was concordant across cohorts (Spearman $ρ=0.865$), and morphology recorded in the first two hours of care stratified the subsequent clinical course ($F_1$ 0.714 and 0.691). In high-risk patients without stroke, 29% and 14% of windows were positive, but five-window persistence rules limited alerts to 17% and 2% of patients. The results demonstrate that the routinely recorded pulse thus carries haemodynamic imprint of the period preceding stroke, positioning pulse morphology as a candidate continuous cerebrovascular biomarker.

0.22

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

cs.LG ·2026-11-06 ·Chaoqi Zhang, Shujie Yan, Zhao Zhang, Yanhua Sun, Yu Wang +4 more
code/data similarity 0.53
Abstract · 31 pages (18 pages main text, 13 pages supplementary material), 7 figures, 31 tables. Code available at https://github.com/prncoprs/when2wha…

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.

0.24

One Frame, Full Heartbeat: ECG-Free Cardiac Cine MRI Synthesis via Phase-Conditioned Flow Matching

cs.CV ·2026-10-07 ·Shiyi Wang, Ruochen Sun, Peirong Liu, Xiang Li, Fangxu Xing
benchmark similarity 0.52
Abstract

Cine cardiovascular magnetic resonance (CMR) analysis relies on multi-frame sequences capturing the full cardiac cycle. However, standard multi-frame acquisition depends heavily on electrocardiogram (ECG) gating and repeated breath-holds, posing challenges in uncooperative populations, resource-limited settings, and temporally corrupted datasets. Existing methods that synthesize full cardiac sequences either rely on explicit ECG signals to parameterize myocardium function, or employ deformable registration without physiological constraints, failing to faithfully reproduce clinically relevant dynamic metrics such as ejection fraction (EF) and ventricular contraction magnitude. We present PhaseFlow, a unified generative framework that overcomes both limitations. PhaseFlow estimates a non-linear cardiac phase signal directly from the input sequence via a segmentation-derived left-ventricular (LV) area curve, capturing the asymmetric dynamics of systole and diastole without any ECG dependency. At inference, this phase signal is provided by a pathology-specific template, informing phase-specific frame generation. A rectified flow model conditioned on the phase and slice position synthesizes the full cardiac motion trajectory in the latent space, decoded into a diffeomorphic displacement field that warps end-diastole pixel intensities directly, eliminating the reconstruction blur often accompanying the variational autoencoder. On the ACDC benchmark, PhaseFlow achieves superior physiological fidelity and image realism, with best LV volume curve $R^2$, structural similarity (SSIM) and generative quality (FID) among all baselines. Ablation studies confirm that each proposed component contributes measurably to the overall performance.

0.15

Beat-Synchronous Tokenization for ECG Transformers

cs.LG eess.SP ·2026-08-31 ·Ahmed Sameh, Nolan Wilson, Max Enderlein, Yogatheesan Varatharajah
published similarity 0.51
Abstract · 6 pages, 1 figure, 3 tables. Accepted at the 2026 IEEE International Workshop on Machine Learning for Signal Processing (MLSP 2026)

Transformer-based electrocardiogram (ECG) models commonly tokenize waveforms into fixed temporal patches. Though convenient, fixed patching can split heartbeat structures across token boundaries. We study beat-synchronous tokenization as a physiologically grounded alternative, comparing fixed patches with three beat-aligned strategies: resampled beats, adaptive pooled beats, and resampled beats augmented with R--R interval information. Experiments span two settings: 10-second 12-lead diagnostic classification on PTB-XL after MIMIC-IV-ECG masked pretraining, and 60-second single-lead rhythm classification on Icentia11k after patient-level contrastive pretraining. On PTB-XL, resampled beat tokens achieve the highest mean macro Area Under the ROC Curve (AUROC; 0.8945) and nearly match the best fixed-patch macro Area Under the Precision-Recall Curve (AUPRC; 0.7414), reducing average sequence length from 100 to 11.2 tokens. On Icentia11k, beat-synchronous tokenizers obtain comparable AUPRC to fixed patching with better stability across runs. These results suggest morphology-preserving beat tokenization is a compact, competitive alternative to fixed temporal patching.

0.21

Holtercare-Bench: A Multimodal Benchmark for Evaluating Long-Term Dynamic ECG Analysis

cs.LG ·2026-08-19 ·Yihan Xie, Hanwen Cui, Runze Ye, Juekai Lin, Haoyang Wang +6 more
top venuebenchmarkcode/data similarity 0.51
Abstract

While multimodal large language models (MLLMs) excel in medical applications, most of them favor static images or short-term signals. In the critical field of dynamic electrocardiograms (ECG), models struggle with complex temporal reasoning and diagnostic report generation due to a lack of high-quality datasets and benchmarks. To address this, we introduce (i) Holtercare-23K, a large-scale multimodal dynamic ECG dataset comprising 22,980 QA pairs derived from 788 clinical Holter records and featuring a novel signal-video-text tri-modal alignment. Based on this dataset, we present (ii) Holtercare-Bench, a multimodal benchmark that evaluates models on temporal localization, clinical diagnosis, and global summarization. Zero-shot evaluations of leading MLLMs reveal a significant performance gap in processing ultra-long pathological sequences. However, fine-tuning representative models yields substantial improvements. This work illuminates the limitations of current MLLMs in electrophysiology and provides a foundational benchmark for long-term medical MLLMs. Our project is available at https://github.com/ZJU4HealthCare/Holtercare-Bench.

0.47

Focus, Align, and Diffuse: Time-Series-Aware Keyframe Diffusion for Cardiac Dynamic Synthesis from Sparse Observations

eess.IV cs.CV ·2026-10-13 ·Junkai Liu, Haofan Wu, Nay Aung, Joao A. C. Lima, Steffen E. Petersen +1 more
publishedcode/data similarity 0.50
Abstract · NeurIPS 2026. Project page: https://cardiofad.github.io/

Dense cardiac dynamics are essential for assessing cardiac function, yet in practice clinicians often observe only extremely sparse measurements. However, recovering full dynamics from such sparsity is a highly ill-posed problem due to the lack of temporal cues. While auxiliary time-series signals like ECG provide physiological guidance, effectively exploiting them is challenging due to the cross-modal representation gap and phase misalignment. In this work, we present CardioFAD, a Focus--Align--Diffuse paradigm that reformulates sparse cardiac dynamic synthesis as a recoverability--alignability anchor discovery problem. Our core insight is that resolving extreme temporal ambiguity requires a compact set of anchor states that are both sufficient to recover the visual trajectory and reliable for ECG--visual alignment. We therefore learn motion-salient keyframes under two complementary principles: trajectory sufficiency, which preserves trajectory-critical intra-modal motion content, and anchor alignment, which promotes consistent inter-modal correspondence at these anchors. We implement the Focus and Align modules optimized by the two aspects. Diffuse then performs two-stage generation by first synthesizing keyframes and subsequently interpolating the remaining frames. Extensive experiments on cardiac MRI and echocardiography videos demonstrate superior visual quality, temporal coherence, and improved functional consistency under the extreme one-shot regime.

0.33