Detecting Heart Disease from Multi-View Ultrasound Images via Supervised Attention Multiple Instance Learning

Zhe Huang, Benjamin S. Wessler, Michael C. Hughes

Introduction

Aortic Stenosis (AS)—the narrowing of the aortic valve—is a life-threatening condition that often goes under-diagnosed. The primary diagnostic tool for AS is the transthoracic echocardiogram (TTE), a procedure that generates dozens of ultrasound videos and images from various anatomical angles, known as "views." For clinicians, diagnosing AS requires synthesizing information across these diverse views while filtering out irrelevant data. For artificial intelligence, this presents a significant challenge: how to effectively aggregate information from a "bag" of images where only a small subset contains the diagnostic evidence needed.

The Challenge: The Needle in the Haystack

Automated diagnosis of AS from TTE studies faces two primary hurdles:

  1. Sparsity of Information: A typical study contains 20 to 90 images, but only specific views—such as the Parasternal Long Axis (PLAX) or Parasternal Short Axis (PSAX)—clearly show the aortic valve. Most images in a study are irrelevant to this specific diagnosis.
  2. Aggregation Complexity: Standard deep learning models excel at analyzing individual images but struggle to aggregate data across an entire study. Previous attempts often relied on "average pooling," which treats every image as equally important, or manual filtering, which is labor-intensive and rigid.

The SAMIL Framework

To address these issues, researchers developed Supervised Attention Multiple Instance Learning (SAMIL). This approach treats an echocardiogram study as a "bag" of instances (images) within a Multiple Instance Learning (MIL) framework. SAMIL introduces two major innovations to improve diagnostic accuracy and model interpretability.

Supervised Attention (SA)

Instead of requiring the model to discover relevant views through trial and error, SAMIL utilizes a pretrained "view classifier" to provide a supervised "hint." This guides the model’s attention mechanism to prioritize clinically relevant views (PLAX and PSAX) while ignoring non-diagnostic images. A "Flexible Attention" layer further allows the model to identify and prioritize the highest-quality frames within those relevant views.

Bag-level Contrastive Pretraining

Traditional AI models are often pretrained by comparing individual images. However, in medical imaging, this can lead to "class collision," where images from different patients look similar but represent different diagnostic categories. SAMIL overcomes this by adapting the Momentum Contrast (MoCo) algorithm to compare entire studies. This "bag-level" pretraining allows the model to learn the structural representation of a complete patient case before it is ever exposed to specific diagnostic labels.

Experimental Results

The researchers evaluated SAMIL using the TMED-2 dataset (an open-access dataset of 599 labeled and over 5,400 unlabeled studies) and a 2022-Validation Set from Tufts Medical Center to test external generalization.

  • Superior Accuracy: SAMIL achieved a 76.2% balanced accuracy on the TMED-2 dataset, significantly outperforming standard Attention-MIL (60.2%) and previous specialized weighting methods (74.4%).
  • Robust Screening: On the external validation set, the model demonstrated high discriminative power for binary screening (distinguishing "No Disease" from "Some Disease"), achieving an AUROC of 0.923.
  • Efficiency and Deployment: SAMIL is over 4x smaller in terms of parameters than previous state-of-the-art specialized models. This reduced footprint makes it significantly easier to deploy within existing hospital IT infrastructures.
  • Clinical Interpretability: By visualizing the model's attention, the researchers confirmed that SAMIL’s focus aligns with human expert logic. Unlike off-the-shelf models that often focused on irrelevant anatomy, SAMIL consistently prioritized the correct cardiac views.

Limitations and Future Work

While SAMIL represents a significant step forward, several areas for improvement remain:

  • Temporal Data: The current model utilizes still frames (the first frame of a video clip). Incorporating full video sequences could provide critical data on valve movement and dynamics.
  • Multi-Site Validation: While tested on a temporally separate dataset, all data originated from a single institution. Future work must validate the model across different hospitals and ultrasound hardware.
  • Metadata Integration: Future iterations could benefit from incorporating patient demographics and Doppler ultrasound measurements, which are standard components of a manual cardiological assessment.

Conclusion

SAMIL demonstrates that by combining clinical logic (Supervised Attention) with study-level representation learning, AI can achieve high diagnostic accuracy in complex, multi-view medical tasks. Its efficiency and interpretability suggest a viable path for integrating deep learning tools into the clinical workflow for heart disease screening.

Summary updated

BibTeX
@inproceedings{huang2023detecting,
  author = {Zhe Huang and Benjamin S. Wessler and Michael C. Hughes},
  title = {{Detecting Heart Disease from Multi-View Ultrasound Images via Supervised Attention Multiple Instance Learning}},
  booktitle = {MLHC},
  year = {2023},
}
Figure