NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multiple Instance Learning for ECG Risk Stratification

Divya M Shanmugam, Davis Blalock, John Guttag · OpenReview

Introduction

Predicting the risk of cardiovascular death (CVD) following an acute coronary syndrome (ACS) is a critical clinical task. While the electrocardiogram (ECG) is a standard diagnostic tool, its use in long-term risk stratification is hampered by two main challenges: the high-frequency, long-duration nature of the data (the representation problem) and the fact that pathological signals may be sparse within hours of otherwise normal recordings (the homogeneity problem).

Methodology: A Multiple Instance Learning Approach

To address these challenges, researchers have proposed a Multiple Instance Learning (MIL) framework. In this paradigm, a patient is treated as a "bag" containing thousands of individual heartbeats or "instances." The model aims to identify the most informative instances to determine the overall patient risk.

The Pipeline

The proposed pipeline consists of three primary stages:

  1. Instance Extraction: Raw ECG signals are segmented into windows centered on heartbeat peaks (R-peaks). The framework can handle single beats or sequences of consecutive beats.
  2. Instance Classification: A compact Convolutional Neural Network (CNN) processes these raw segments, learning morphological features directly from the signal without manual engineering.
  3. Instance Aggregation: To handle label sparsity, the model employs a "top 20%" heuristic. It averages the risk scores of the most suspicious 20% of heartbeats, effectively filtering out normal background activity.
The MIL pipeline: (a) raw signal, (b) segment extraction, (c) individual beat isolation, and (d) instance concatenation.

Experimental Results

The model was evaluated using the MERLIN-TIMI dataset, comprising approximately 48 hours of continuous ECG data from nearly 5,000 patients. The primary task was predicting CVD at various time horizons (30, 60, 90, and 365 days).

The MIL-CNN approach consistently outperformed traditional hand-crafted metrics and other machine learning baselines. As shown in the table below, MIL-CNN achieved the highest Area Under the Curve (AUC) across all time horizons, notably reaching an AUC of 0.83 for 30-day mortality prediction.

Comparison of AUC scores across different models and time horizons. MIL-CNN significantly outperforms traditional metrics like MVB and TRS.

Beyond AUC, the model demonstrated strong clinical relevance. At the 90-day horizon, patients identified as high-risk by MIL-CNN had a median Odds Ratio of 6.33, indicating they were over six times more likely to experience CVD than low-risk patients.

Discussion and Conclusion

The success of the MIL-CNN framework highlights the value of learning directly from raw signals and the effectiveness of simple aggregation heuristics in medical time-series data. By focusing on the most "worrisome" segments of a long-term recording, the model overcomes the dilution of pathological signals.

Future work may involve integrating non-ECG clinical data (such as age or LVEF) and extending the framework to regression tasks for predicting the specific timing of adverse events. This approach is signal-agnostic and holds promise for other high-frequency biometric monitoring applications.

Summary updated

BibTeX
@inproceedings{shanmugam2019multiple,
  author = {Divya M Shanmugam and Davis Blalock and John Guttag},
  title = {{Multiple Instance Learning for ECG Risk Stratification}},
  booktitle = {MLHC},
  year = {2019},
  url = {https://openreview.net/forum?id=2pPsoSBQgf},
}
Figure