Simple models vs. deep learning in detecting low ejection fraction from the electrocardiogram

J. Weston Hughes, Sulaiman Somani, Pierre Elias, James Tooley, Albert J. Rogers, Timothy J. Poterucha, Christopher M. Haggerty, Michael Salerno, David Ouyang, Euan A. Ashley, James Zou, Marco PérezEuropean 2024

Abstract

Importance: Deep learning (DL) methods have recently gained success in detecting left ventricular systolic dysfunction (LVSD) from electrocardiogram (ECG) waveforms. Despite their impressive accuracy, they are difficult to interpret and deploy broadly in clinical settings.

Objective: To determine whether simpler models based on standard ECG measurements could detect LVSD with similar accuracy to deep learning models.

Design: Using an observational dataset of 40,994 matched 12-lead ECGs and transthoracic echocardiograms from Stanford University, we trained models of increasing complexity. These were validated in two independent cohorts from different medical centers and countries (Cedars-Sinai Medical Center and the UK Biobank).

Results: A random forest model using 555 automated measurements achieved an area under the receiver operator characteristic curve (AUC) of 0.92, comparable to a deep learning waveform model (AUC 0.94). A linear model using only five measurements achieved an AUC of 0.86, significantly outperforming the standard NT-proBNP biomarker (AUC 0.77). Crucially, simpler models demonstrated superior generalization across external sites.

Conclusion: Simple electrocardiographic models perform nearly as well as deep learning models while offering greater interpretability and easier implementation.

Introduction

In medical artificial intelligence, the prevailing trend favors "black box" deep learning (DL) models that process raw, high-frequency waveforms. While these models have set new benchmarks for detecting complex conditions like left ventricular systolic dysfunction (LVSD)—a hallmark of heart failure—they present significant hurdles for clinical adoption. They are often difficult to integrate into existing software, hard to troubleshoot, and prone to "shortcut learning," where the model picks up on site-specific noise rather than biological signals.

This study investigates whether the complexity of DL is strictly necessary for LVSD detection or if "glass box" models based on discrete, measurable features can provide comparable utility with better reliability.

Methods

Researchers compared three tiers of model complexity to detect LVSD (defined as an ejection fraction below 35%):

  1. Deep Learning (DL): A Convolutional Neural Network (CNN) trained on raw 12-lead ECG waveforms (159,153 parameters).
  2. Random Forest (RF): An ensemble model using 555 automated measurements (e.g., heart rate, wave intervals) extracted by standard ECG software.
  3. Linear Model: A logistic regression using just five key clinical measurements, selected via Lasso regularization to ensure impact and minimize redundancy.

These models were benchmarked against NT-proBNP, a standard clinical lab test for heart failure. The models were trained on data from Stanford University Medical Center (40,994 pairs) and validated at Columbia University Irving Medical Center (testing hardware variation) and the UK Biobank (testing performance in a general population).

Results

Performance at the Training Site

At Stanford, the DL model achieved the highest accuracy with an AUC of 0.94. However, the 555-feature Random Forest followed closely with an AUC of 0.92. Even the 5-variable linear model performed strongly with an AUC of 0.86, notably outperforming the NT-proBNP biomarker, which yielded an AUC of 0.77.

Generalization and Robustness

The most significant finding emerged during external validation. When moved to the UK Biobank cohort, the DL model’s performance dropped significantly, from an AUC of 0.94 to 0.74. In contrast, the 5-variable linear model remained stable, achieving an AUC of 0.83. This suggests that simpler models are less likely to overfit to the specific technical characteristics of a single hospital's equipment.

Clinical Interpretability

The five variables identified by the linear model—T-wave amplitude in aVR, QRS duration in V3, mean QTc, maximum negative QRS deflection in V3, and heart rate—align with established electrophysiologic indicators of heart failure. This transparency allows clinicians to understand the "logic" behind a high-risk prediction, unlike the opaque decision-making of a CNN.

Discussion

This study identifies a "complexity ceiling" for LVSD detection via ECG. While DL models offer a slight edge in controlled environments, the majority of the diagnostic signal is captured by standard, automated measurements. The superior generalization of simpler models suggests they are more robust for broad clinical deployment across different healthcare systems and hardware vendors.

While DL remains essential for tasks where features are not yet well-defined (such as detecting atrial fibrillation from a normal sinus rhythm), for LVSD, simplicity offers a path toward more interpretable and reliable screening. Future efforts should focus on standardizing feature extraction across ECG vendors to ensure these robust, simple models can be used universally.

Summary updated

Abstract

Our study demonstrates the value of simple electrocardiographic models that perform nearly as well as deep learning models, while being much easier to implement and interpret.
BibTeX
@inproceedings{hughes2024simple,
  author = {J. Weston Hughes and Sulaiman Somani and Pierre Elias and James Tooley and Albert J. Rogers and Timothy J. Poterucha and Christopher M. Haggerty and Michael Salerno and David Ouyang and Euan A. Ashley and James Zou and Marco Pérez},
  title = {{Simple models vs. deep learning in detecting low ejection fraction from the electrocardiogram}},
  booktitle = {European},
  year = {2024},
  doi = {10.1093/ehjdh/ztae034},
}
Figure