Logo

American Heart Association

  16
  0


Final ID: MP1520

Transformer-based ECG beat foundation model reconstructs full 12-Lead morphology, vectorcardiogram and predicts peak heart rate in stress ECG

Abstract Body (Do not enter title and authors here): Background —
Regular monitoring of performance in ECG stress tests can enable early detection of subtle conduction/morphological changes and enable more accurate risk stratification. However, repeated stress ECGs are impossible in high-risk patients including those with severe stenosis, recent surgery or significant arrhythmia burden. An ECG foundational model capable of reconstructing 12-lead ECGs from a single lead typically available from wearables (e.g., apple watch: lead I) can create ambulatory stress ECG tests which obviate this problem.
Hypothesis —
We hypothesized that a self-supervised transformer model pretrained on reconstructing 11 masked leads using lead I can learn latent features for predicting peak heart rate (HR) across exercise stages and synthesize vectorcardiograms (VCG) for risk stratification in stress ECGs.
Methods —
We collected 7,625 stress test records from a single institution, from which 7,453 samples were included. This was divided into 4,447 training, 759 validation and 2,247 test ECGs which were used to develop a 6-layer transformer encoder architecture. A transposed-convolutional decoder with skip connection was used to reconstruct the masked leads while auxiliary linear layers regressed on VCG obtained using Dower transform and peak HR. A contrastive regularization loss was used to organize the latent space by reducing the distance between beats belonging to the same patient. The model was first trained solely on the reconstruction task (self-supervised pretraining) for 20 epochs, following which the decoder was frozen, and the encoder + auxiliary heads were supervised fine-tuned for 60 epochs to learn peak HR and VCG reconstructions. Training was performed with batch size = 32 and learning rate = 3x10-3 during pretraining followed by 3x10-4 during fine-tuning.
Results —
The model achieved A) a reconstruction mean squared error (MSE) of 0.16 mv2 on the masked leads, B) a R of 0.73 on peak HR regression, AUC = 0.82, AUPRC = 0.9 on high (> 120 bpm) peak HR classification, C) and Pearson R of 0.96, 0.95 and 0.98 on x, y, z axes of VCG in the held-out test dataset. (Fig 1)
Conclusion —
We are able to faithfully reconstruct 12-lead beat morphology from lead I which was valid across ST segments, QRS complexes and PR intervals. This self-supervised pretraining step was applicable in creating ambulatory, morphology aware stress ECG indices for a large hold-out test set.
  • Bandyopadhyay, Sabyasachi  ( Stanford University , Palo Alto , California , United States )
  • Narayan, Sanjiv  ( STANFORD MEDICINE , Stanford , California , United States )
  • Rogers, Albert  ( Stanford University , Redwood City , California , United States )
  • Liu, Xichong  ( Stanford Health Care , Stanford , California , United States )
  • Ganesan, Prash  ( Stanford University , Palo Alto , California , United States )
  • Somani, Sulaiman  ( Stanford Health Care , Menlo Park , California , United States )
  • Karius, Alexander  ( Stanford University , Stanford , California , United States )
  • Baykaner, Tina  ( Stanford University , PALO ALTO , California , United States )
  • Wang, Paul  ( Stanford University , Stanford , California , United States )
  • Ashley, Euan  ( Stanford University , Palo Alto , California , United States )
  • Perez, Marco  ( STANFORD UNIV HOSPITAL , Stanford , California , United States )
  • Author Disclosures:
    Sabyasachi Bandyopadhyay: DO have relevant financial relationships ; Consultant:Linus Health Inc.:Past (completed) | Sanjiv Narayan: DO have relevant financial relationships ; Consultant:Lifesignals.ai:Active (exists now) ; Consultant:Abbott, Inc.:Past (completed) ; Consultant:PhysCade, Inc.:Active (exists now) | Albert Rogers: DO have relevant financial relationships ; Research Funding (PI or named investigator):National Institutes of Health:Active (exists now) ; Advisor:YorLabs Inc:Active (exists now) ; Advisor:WearLinq Inc.:Active (exists now) ; Research Funding (PI or named investigator):American Heart Association:Active (exists now) | Xichong Liu: DO NOT have relevant financial relationships | Prash Ganesan: No Answer | Sulaiman Somani: DO NOT have relevant financial relationships | Alexander Karius: DO NOT have relevant financial relationships | Tina Baykaner: DO NOT have relevant financial relationships | Paul Wang: DO have relevant financial relationships ; Individual Stocks/Stock Options:Soneira:Active (exists now) ; Ownership Interest:EndoEpiAF:Active (exists now) ; Ownership Interest:HrtEx:Active (exists now) | Euan Ashley: No Answer | Marco Perez: DO have relevant financial relationships ; Research Funding (PI or named investigator):NIH/NHLBI:Active (exists now) ; Ownership Interest:QALY Inc.:Active (exists now) ; Ownership Interest:Pacegenix:Active (exists now) ; Consultant:Pacegenix:Active (exists now) ; Consultant:Simplex Quantum:Active (exists now) ; Consultant:Thryv:Active (exists now) ; Consultant:Boston Scientific:Active (exists now) ; Consultant:Johnson and Johnson:Active (exists now) ; Consultant:Apple Inc.:Active (exists now) ; Research Funding (PI or named investigator):Johnson and Johnson:Active (exists now) ; Research Funding (PI or named investigator):Lexeo Therapeutics:Active (exists now) ; Research Funding (PI or named investigator):Apple Inc.:Active (exists now)
Meeting Info:

Scientific Sessions 2025

2025

New Orleans, Louisiana

Session Info:

Integrating AI with ECG and Physiologic Signals for Multimodal Precision Health

Sunday, 11/09/2025 , 09:15AM - 10:30AM

Moderated Digital Poster Session

More abstracts on this topic:
Ivabradine in Patients With Postural Orthostatic Tachycardia Syndrome: A Single-Arm Systematic Review and Meta-analysis

Queiroz Ivo, Tavares Arthur, Barbosa Lucas, Mesquita Cynthia, Fukunaga Christian, Leandro Giovanna, Pimentel Tulio, Monteiro Arthur, Defante Maria Luiza Rodrigues

Sex, Hormones and Arrhythmias: Sex-Specific Risks for Sinus Tachycardias and Atrial Fibrillation

Li Ning, Webb Amy, Fadda Paolo, Whitson Bryan, Mohler Peter, Hummel John, Fedorov Vadim

More abstracts from these authors:
Automated End-to-End Framework for Extracting Raw ECG Waveforms and ST Segment Values from ECG Reports and Predicting ST Elevation by Machine Learning

Ganesan Prasanth, Wang Paul, Ashley Euan, Perez Marco, Narayan Sanjiv, Rogers Albert, Liu Xichong, Bandyopadhyay Sabyasachi, Ansari Rayan, Somani Sulaiman, Brennan Kelly, Karius Alexander, Baykaner Tina, Perino Alexander

Predicting Peak Heart Rate from Resting 12-Lead ECGs in Patients Undergoing Stress Testing using Deep Learning

Liu Xichong, Ashley Euan, Perez Marco, Narayan Sanjiv, Rogers Albert, Bandyopadhyay Sabyasachi, Ganesan Prasanth, Somani Sulaiman, Brennan Kelly, Karius Alexander, Baykaner Tina, Perino Alexander, Wang Paul

You have to be authorized to contact abstract author. Please, Login
Not Available