Related Experiment Video
Updated: Jun 16, 2026

Real-Time Cardiac Mapping with a Noninvasive Imageless Electrocardiographic Imaging System
Published on: April 11, 2025
Artificial intelligence electrocardiography for left ventricular systolic dysfunction demonstrates preserved
P Nelson Hsieh1, Parth Agrawal2, Aman Alok2
1Division of Cardiology, Massachusetts General Hospital, Harvard Medical School, 55 Fruit St, Boston, MA, USA.
Aims:
Artificial intelligence (AI)-enabled electrocardiograms (AI-ECG) can detect left ventricular systolic dysfunction (LVSD), but demographic imbalance in training datasets may introduce bias. Foundational models, pretrained on large and diverse datasets, may mitigate such concerns. We aimed to assess the impact of demographic composition in training datasets on the performance of an ECG Foundational Model (ECGFM) for diagnosing LVSD.
Methods And Results:
We developed an ECG foundational model (ECGFM) using transformer architecture and self-supervised pretraining on 983 200 ECGs. Using 44 815 paired ECG-echocardiogram datasets, we trained the model under three biased scenarios: (1) sex-skewed (male-only or female-only), (2) race-skewed (White-only or non-White), and (3) balanced. Models were evaluated on a test cohort consisting of 4663 male patients (52%) and 4300 female patients (48%) for the sex configuration and 4440 (49.5%) White, 558 (6.2%) Black, 925 Asian (10.3%), and 3040 other (33.9%) patients, for the race-based configuration using area under the receiver operating characteristic curve (AUROC). The ECGFM demonstrated consistent performance across all demographic configurations. Training on male-only or female-only cohorts yielded comparable AUROC scores of 0.85-0.90 for both sexes in the test set in predicting LVSD. Similarly, training on White-only or non-White cohorts resulted in robust AUROC scores (≥0.90) across all racial groups, including Asian, Black, Hispanic/Latino, and American Indian/Native Alaskan subgroups. Balanced and imbalanced training produced comparable accuracy, sensitivity, and specificity. The performance of the model was externally tested in EchoNext, revealing AUROC scores 0.823-0.917 for sex and 0.822-0.917 for race.
Conclusion:
Our transformer-based ECG foundational model pretrained using self-supervised learning demonstrated preserved diagnostic accuracy for LVSD across diverse demographic groups, even when trained on demographically imbalanced datasets.
Related Concept Videos
Imbalances in Cardiac Output
CHF can occur due to the failure of either side of the heart. Left-side failure leads to pulmonary congestion—the right side continues to send blood...
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and the T...
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...
Imaging Studies for Cardiovascular System I:Echocardiography
Indications: Echocardiography is utilized to diagnose heart failure, valve disorders, and myocardial infarction. It also assesses cardiac structures' size, shape, and motion, evaluates...
