Visual abstractsVisuals
ResearchNEJM AI · Nov 26, 2025

A foundation transformer model with self-supervised learning for ECG-based assessment of cardiac and coronary function

Moody JB, Poitrasson-Rivière A, Renaud JM, Hagio T, Alahdab F, Al-Mallah MH, et al
Digital Health & AIAdult
Read the full paper free at PubMed Central ↗

Abstract

Background The wide availability of labeled electrocardiogram (ECG) data has driven major advances in artificial intelligence (AI)-based detection of structural and functional cardiac abnormalities and thus ECG-based diagnosis. However, many critical, high value clinical diagnostic applications, such as assessing myocardial ischemia and coronary microvascular dysfunction, remain underserved due to the limited availability of labeled datasets. We developed a self-supervised ECG foundation model and demonstrate how this approach can overcome this limitation. Methods A modified vision transformer model was pretrained using a large database of unlabeled ECG waveforms (MIMIC-IV-ECG, N=800,035). The model was then fine-tuned using smaller databases that included high-quality labels derived from positron emission tomography (N=3,126) and clinical reports (N=13,704) for 12 clinical, demographic, and traditional ECG prediction tasks. Diagnostic accuracy and model generalizability were evaluated across five additional cohorts including the publicly available PTB-XL and UK Biobank databases and labels from cardiac magnetic resonance imaging (MRI) and single photon emission computed tomography (SPECT). Results Diagnostic performance varied across tasks with area under the receiver operating characteristic curve (AUROC) ranging from 0.763 for detection of impaired myocardial flow reserve (MFR Conclusion This versatile ECG foundation model demonstrates that SSL pretraining enhances diagnostic accuracy and generalizability across diverse cardiac diagnostic applications. By enabling effective learning from limited labeled data, this approach supports AI development for complex but clinically critical tasks, such as detecting myocardial ischemia and coronary microvascular dysfunction, where high-quality labels are costly and scarce.

DOI: 10.1056/aioa2500164 · PubMed: 41446031

Spotted a mistake? Suggest a correction

More in Digital Health & AI

Lancet Digit Health · Nov 23, 2026 · Research · Digital Health & AI

ClinicalAge biomarker associated with mortality and disease risk in UK datasets

Lancet Digit Health · Nov 23, 2026 · Research · Digital Health & AI

Facial photographs used to estimate age and predict survival in cancer patients

Lancet Digit Health · Nov 23, 2026 · Research · Digital Health & AI

New model predicts severe fetal compromise risk at birth with 33.4% sensitivity

NPJ Digit Med · Nov 21, 2026 · Research · Digital Health & AI

ECG foundation models performed well on general data but less so on athletes' data

J Med Internet Res · Nov 20, 2026 · Research · Digital Health & AI

Six large language models showed similar question-answering accuracy on medical exam questions