Detection of Acute Myocardial Infarction Using Deep Learning on Lead-I ECG Data

Parmida Davarmanesh, Qian Lin, Irene Tenison, Gabriel Jabbour, Ridwan Alam

TL;DR

Researchers have developed a deep learning model capable of detecting acute myocardial infarction (heart attack) using only Lead-I ECG data—the same single-lead signal captured by modern smartwatches. By achieving an AUC of 0.92, this study demonstrates that wearable devices could potentially serve as an early-warning system for heart attacks, significantly reducing the time to medical intervention.

What Problem Does This Paper Address?

Myocardial Infarction (MI) is a global health crisis, and when it comes to treatment, "time is muscle." Every 30-minute delay in treating an MI increases the risk of one-year mortality by roughly 7.5%. Compounding this danger is the fact that 70-80% of cases are "silent MIs," where the patient lacks obvious symptoms like chest pain.

Currently, the gold standard for diagnosis is a 12-lead electrocardiogram (ECG) performed in a clinical setting. While wearable devices like smartwatches can monitor heart health, they typically only measure a single lead (Lead-I). Until now, it was unclear if this limited data stream contained enough information to reliably detect an acute MI, especially since Lead-I is traditionally associated only with the lateral region of the heart.

Methods

The researchers developed a specialized deep learning architecture called ResNet16, a variation of the ResNet18 model optimized for 1D time-series signals rather than 2D images.

  • Architecture: The model consists of 16 residual blocks using 1D convolutional layers (kernel size 7), batch normalization, and ReLU activation.
  • Training: They used the Adam optimizer with an exponential learning rate scheduler. To handle the significant class imbalance (many more normal samples than MI samples), they employed a weighted binary cross-entropy loss with a weight parameter of 5 for the MI class.
  • Preprocessing: ECG signals were sampled at 100 Hz and processed with a band-pass filter (0.5 Hz to 40 Hz) to remove noise.
  • Baselines: The team compared ResNet16 against three other models: a transformer-based model (ECGTransform), a pre-trained ResNet, and a standard 18-layer CNN.

Datasets

The study utilized the PTB-XL dataset, a massive public collection of nearly 21,000 12-lead ECG records.

  • Data Selection: To ensure high-quality ground truth, the authors only included records with a "100% confidence score" validated by cardiologists.
  • Final Cohort: This resulted in a dataset of 5,848 normal records and 738 MI records.
  • The Split: They used an 80-10-10 split but specifically curated the test set to focus on acute MI cases (43 records), as detecting a heart attack in progress is more clinically vital than detecting a chronic, past event.

Key Insights and Ideas

  • Lead-I is More Informative Than Expected: Traditionally, clinicians use Lead-I primarily to look for issues in the lateral part of the heart. However, this model successfully detected MIs that occurred in non-lateral regions (anterior, inferior, posterior), suggesting that deep learning can extract subtle global features from a single lead that the human eye might miss.
  • ResNet vs. Transformers: Despite the recent hype around Transformers in signal processing, the 1D ResNet16 architecture outperformed the transformer-based baseline (ECGTransform) in both AUC and sensitivity.
  • Efficiency for Wearables: The model's inference time is less than one second. This low computational overhead makes it a prime candidate for deployment directly on wearable hardware or mobile apps.

Key Results

The ResNet16 model proved to be the superior architecture for this task:

  • Lead-I Performance: Achieved an AUC of 0.92 and an AUPR of 0.82.
  • Sensitivity: The model reached a sensitivity of 0.81, which is critical for a screening tool where missing a heart attack (a false negative) is the worst-case scenario.
  • Comparison to Multi-lead: While the single-lead model performed well, the researchers noted that using 6-lead or 12-lead configurations pushed the AUC to 0.99, confirming that more data still leads to higher certainty.
  • Lead Comparison: Lead-I actually outperformed other standard leads like Lead-II (0.91 AUC) and Lead-III (0.90 AUC), justifying its use in commercial smartwatches.

Limitations and Future Work

The authors acknowledge a few hurdles before this can be used in your next Apple Watch update:

  1. Noise Levels: The PTB-XL dataset consists of clean, clinical ECGs. Real-world wearable data is much "noisier" due to movement and poor skin contact.
  2. External Validation: The model needs to be tested on data actually recorded from smartwatches, rather than Lead-I data "stripped" from a clinical 12-lead machine.
  3. Data Imbalance: The training set was still relatively small for the MI class (6.8%). Training on a more balanced or larger dataset could further improve the AUPR and reduce false positives.

Ultimately, this research provides a strong "proof of concept" that the hardware already on millions of wrists is capable of detecting one of the world's deadliest medical events.

Summary updated

Abstract

Myocardial Infarction (MI) is a major global health concern due to its high mortality and morbidity rates. Early detection of MI is crucial for timely medical intervention and improved patient outcomes. In this study, we investigate the feasibility of predicting MI using lead-I of electrocardiogram (ECG) data, with a focus on practical applications for wearable monitoring systems. Utilizing the PTB-XL dataset, which includes a comprehensive collection of 12-lead ECG recordings with both normal and various MI samples, we employ deep learning techniques to develop a binary classification model. For MI detection using lead-I, we achieved an AUC of 0.92 and an AUPR of 0.82 on the test set. In comparison, using 6-lead and 12-lead configurations both resulted in an AUC of 0.99. These findings demonstrate the potential for detecting MI using only lead-I, as measured by wearable devices. This advancement could significantly enhance clinical outcomes for MI patients by enabling timely detection and intervention.
BibTeX
@inproceedings{davarmanesh2024detection,
  author = {Parmida Davarmanesh and Qian Lin and Irene Tenison and Gabriel Jabbour and Ridwan Alam},
  title = {{Detection of Acute Myocardial Infarction Using Deep Learning on Lead-I ECG Data}},
  booktitle = {BSN},
  year = {2024},
  url = {https://openreview.net/forum?id=358QzUNaFe},
}

Loading related content...

Figure