Transfer learning for predicting acute myocardial infarction using electrocardiograms
Axel Nyström1,2, Anders Björkelund2, Mattias Ohlsson2,3
1Department of Laboratory Medicine, Lund University, Lund, Sweden.
PLOS Digital Health
|October 31, 2025
Summary
Transfer learning significantly improves the prediction of acute myocardial infarction (AMI) using electrocardiograms (ECGs). Pre-training models on non-chest-pain ECGs enhances diagnostic accuracy for AMI detection in chest-pain patients.
Area of Science:
- Cardiology
- Artificial Intelligence
- Medical Diagnostics
Background:
- Accurate and rapid identification of acute myocardial infarction (AMI) is crucial in emergency settings.
- Electrocardiograms (ECGs) are vital for AMI detection but manual interpretation is challenging.
- Machine learning for ECG analysis requires extensive, high-quality labeled data, which is often scarce.
Purpose of the Study:
- To investigate the effectiveness of transfer learning in improving machine learning models for AMI prediction from ECGs.
- To assess the impact of pre-training on non-chest-pain ECG data for subsequent AMI detection.
- To compare transfer learning models against traditional models trained without pre-training.
Main Methods:
- Utilized a large dataset of 840,000 ECGs from non-chest-pain patients for model pre-training (sex and age classification).
- Fine-tuned the pre-trained models using a dataset of 44,000 ECGs from chest-pain patients for AMI prediction.
- Evaluated performance across various state-of-the-art ResNet architectures and data sizes, comparing with non-transfer learning approaches.
Main Results:
- Transfer learning demonstrated substantial improvements in AMI prediction accuracy.
- The best performing model achieved an AUC increase from 0.79 to 0.85.
- Improvements were consistent across different ResNet architectures and dataset scales.
Conclusions:
- Simple transfer learning from non-chest-pain ECG data significantly enhances AMI prediction models.
- This approach effectively mitigates the data scarcity issue in developing accurate ECG-based diagnostic tools.
- Transfer learning offers a promising strategy for improving emergency cardiac diagnostics.
Related Concept Videos
Electrocardiogram
5.3K
An electrocardiogram (ECG or EKG) is a critical diagnostic tool that records the electrical signals produced by the heart during each heartbeat. This recording is achieved through electrodes placed strategically on the arms, legs, and chest. The electrocardiograph amplifies these signals and produces 12 distinct tracings, offering a comprehensive understanding of the heart's electrical activity.
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
5.3K
Acute Coronary Syndrome III: Diagnostic Studies
204
Diagnosing acute coronary syndrome or ACS begins with a thorough patient history. Notable symptoms include central, crushing chest pain radiating to the left arm, neck, jaw, or back, along with shortness of breath, sweating (diaphoresis), nausea, vomiting, dizziness, and palpitations.It is crucial to note any history of cardiac illnesses and assess risk factors, including age, gender, smoking, hypertension, diabetes, hyperlipidemia, and a sedentary lifestyle.During physical examination, vital...
204
Electrocardiogram Fundamentals
1.4K
Introduction
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin...
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin...
1.4K


