Machine Learning Algorithms for Predicting in-Hospital Mortality in Patients with ST-Segment Elevation Myocardial Infar

Tao Ding, Chen Liu, Shihan WanarXiv 2022 · DOI

This paper presents a machine learning approach to predicting in-hospital mortality for patients suffering from ST-Segment Elevation Myocardial Infarction (STEMI)—the most severe form of heart attack. By leveraging structured data from the "home page" of electronic medical records (HPEMR), the researchers developed a model that provides high-accuracy risk assessment at the moment of admission, potentially outperforming traditional clinical risk scores.

TL;DR

Researchers developed a machine learning model to predict in-hospital mortality for severe heart attack (STEMI) patients using only basic electronic health record data available at admission. Their Logistic Regression model achieved an impressive AUC of 0.879, offering a fast, data-driven alternative to traditional risk scores that often rely on delayed laboratory results.

What Problem Does This Paper Address?

STEMI is a life-threatening condition where a coronary artery is completely blocked. Early risk stratification is vital: doctors need to know immediately which patients are at the highest risk to decide on the intensity of intervention (like primary percutaneous coronary intervention, or PCI).

Currently, clinicians use tools like the GRACE or TIMI risk scores. However, the authors argue these tools have two major flaws:

  1. Outdated Data: Many were developed decades ago, before the widespread use of modern drug-eluting stents and advanced antiplatelet therapies.
  2. Time Lag: These scores often require laboratory test results (like cardiac enzymes) that can take an hour or more to process, delaying the "first medical contact" assessment.

The authors sought to build a model using only the "Home Page of the Electronic Medical Record" (HPEMR)—data that is structured and available the moment a patient is admitted.

Methods

The study compared four different machine learning architectures to see which could best handle the clinical data:

  • Linear Models: Logistic Regression (LR) and Support Vector Machines (SVM).
  • Non-linear Models: Gradient Boosting Decision Trees (GBDT) and Artificial Neural Networks (ANN).

The researchers used a 10-fold cross-validation approach and grid search to optimize hyperparameters. Interestingly, they focused on features that are "readily identifiable" in the acute phase, such as demographics, 16 specific comorbidities, and hospitalization details (e.g., whether the admission occurred on a holiday).

Datasets

The study utilized a substantial dataset from the real world:

  • Source: Clinical information from 7 tertiary hospitals in Shenzhen, China.
  • Size: 5,865 eligible STEMI patients collected between 2013 and 2017.
  • Split: Data from 2014–2016 (n=3,860) was used for training and validation, while data from 2017 (n=2,005) served as an independent testing set to ensure the model's generalizability.

Key Insights and Ideas

  • Simplicity Wins: Despite the complexity of neural networks and ensemble methods, Logistic Regression (LR) performed the best. This suggests that for structured clinical data, the relationship between key comorbidities and mortality is relatively linear and well-captured by simpler, more interpretable models.
  • The "Holiday Effect": The authors included admission timing as a feature, noting that in China, holiday admissions can impact outcomes. This highlights the importance of including socio-environmental factors in clinical ML.
  • Standardization Saves Lives: Patients whose treatment followed a standardized "clinical pathway" had significantly lower odds of death (OR 0.34).
  • High-Risk Red Flags: The univariate analysis identified several "danger" comorbidities. Specifically, patients with Cardiac Function Grade IV were 28.6 times more likely to die in-hospital, while Atrial Fibrillation carried an 11.0 odds ratio.

Key Results

The Logistic Regression model emerged as the top performer on the 2017 test set:

  • AUC (Area Under Curve): 0.879 (A score of 1.0 is perfect; 0.879 indicates very strong discrimination).
  • Sensitivity/Specificity: At a cut-off of 0.02, the model achieved 81% sensitivity and 88% specificity.
  • Comparison: The ANN (0.865) and GBDT (0.861) were close runners-up, while SVM (0.832) lagged slightly behind.

These results indicate that the model can accurately "flag" high-risk patients using only the high-level data available on an EMR home page.

Limitations and Future Work

The authors acknowledge several areas for improvement:

  • Geographic Specificity: The data comes entirely from Shenzhen. The model needs to be validated in other regions and countries to ensure it isn't overfitted to local hospital practices.
  • Short-term Focus: The study only predicts in-hospital mortality. Future work could extend this to 30-day or 1-year post-discharge survival.
  • Data Depth: To keep the model "early-stage," they excluded laboratory results. A "hybrid" model that updates its prediction once lab results arrive might offer even higher accuracy for later-stage clinical decision-making.

Summary updated

BibTeX
@misc{ding2022machine,
  author = {Tao Ding and Chen Liu and Shihan Wan},
  title = {{Machine Learning Algorithms for Predicting in-Hospital Mortality in Patients with ST-Segment Elevation Myocardial Infar}},
  year = {2022},
  eprint = {2211.14480},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.14480},
}
Figure