Subgroup Validity in Machine Learning for Echocardiogram Data

Cynthia Feeney, Shane Williams, Benjamin S. Wessler, Michael C. HughesarXiv 2025 · DOI · arXiv

Introduction

Echocardiography, or ultrasound of the heart, is a fundamental tool in modern cardiac care. As deep learning models are increasingly integrated into the interpretation of these images, ensuring their safety and efficacy across all patient populations is paramount. This requirement, known as subgroup validity, demands evidence that a model performs accurately and fairly across diverse sexes, races, and ethnicities.

However, a significant "blind spot" exists in the field: sociodemographic data is severely underreported in the most popular open-source echocardiogram datasets. Without this information, researchers cannot determine if a model that appears successful "on average" is failing specific, often marginalized, patient groups. This paper audits six major datasets and evaluates state-of-the-art models to highlight the current statistical limitations in guaranteeing equitable cardiac AI.

Methodology

The research followed a three-pronged approach to investigate the state of demographic reporting and model performance:

  1. Data Enrichment: The authors improved sociodemographic reporting for two major datasets, TMED-2 and MIMIC-IV-ECHO, by extracting and cleaning administrative sex, race, and ethnicity data from electronic health records.
  2. Dataset Audit: A systematic analysis of six prominent open echocardiogram datasets (TMED-2, MIMIC-IV-ECHO, EchoNet-Dynamic, EchoNet-LVH, Unity, and CAMUS) was performed to evaluate subgroup representation.
  3. Subgroup Performance Evaluation: The researchers conducted an exploratory analysis of two published models for Aortic Stenosis (AS) detection—SAMIL and PanEcho—using the TMED-2 dataset. Performance was measured via AUROC and balanced accuracy, with 95% confidence intervals (CIs) calculated via bootstrapping (3,000 samples) to assess statistical significance.

Dataset Audit and Demographic Representation

The audit revealed a stark lack of diversity across nearly all studied datasets. In most cases, White patients represent the vast majority of the population (often exceeding 60-80%), while minority groups such as American Indian or Pacific Islander patients are virtually absent, frequently comprising less than 1% of the data.

Demographic distribution across major echocardiogram datasets, highlighting the predominance of White patients and the scarcity of minority subgroups.

Beyond simple representation, the authors identified issues with labeling and diversity. Labels like "Other" often masked specific populations; in TMED-2, more granular parsing revealed that the "Other" category was predominantly composed of Asian or unspecified patients. Furthermore, none of the six datasets included data for gender-diverse (transgender or intersex) patients, despite known cardiovascular health disparities in these communities.

Evaluating Model Performance: The Confidence Interval Trap

A critical finding of this study is the "Confidence Interval Trap." Even when a model appears to show performance disparities between groups, the sample sizes for minority subgroups are often so small that the resulting statistical evidence is uninformative.

For example, when testing the SAMIL model on the TMED-2 dataset, the average AUROC for White patients was a high 0.95. In contrast, the AUROC for Black patients was a startlingly low 0.52. However, because there were only 27 Black patients in the sample, the 95% confidence interval spanned from 0.00 to 1.00.

Subgroup performance (AUROC) for SAMIL and PanEcho models on the TMED-2 dataset, demonstrating the wide confidence intervals caused by small minority sample sizes.

As shown in the performance data, while the PanEcho model demonstrated more consistent average AUROC scores across groups (ranging from 0.82 to 0.95), it suffered from the same wide confidence intervals for minority subgroups. This means that with current datasets, it is mathematically impossible to prove that these models are valid for underrepresented populations.

Discussion and Future Directions

The study also noted potential prevalence bias. In the TMED-2 dataset, White patients had a significantly lower percentage of "No AS" labels (18.4%) compared to Black (40.7%) or Latino (47.1%) patients. This suggests that systemic biases in recruitment or healthcare access may influence the composition of these datasets, further complicating the development of fair AI.

The authors conclude that current open datasets are too small and homogenous to support rigorous subgroup validity testing. To move forward, the cardiac AI community must adopt several strategies:

  • Proactive Recruitment: Researchers must move beyond convenience sampling to actively recruit underrepresented racial and ethnic groups.
  • Granular Reporting: Moving away from broad categories (e.g., "Asian") to more specific identifiers (e.g., "South Asian") to capture known differences in health risks.
  • Standardized Audits: Subgroup analysis should become a mandatory requirement for medical ML models prior to deployment, adhering to established guidelines like TRIPOD-AI and SAGER.

Summary updated

BibTeX
@misc{feeney2025subgroup,
  author = {Cynthia Feeney and Shane Williams and Benjamin S. Wessler and Michael C. Hughes},
  title = {{Subgroup Validity in Machine Learning for Echocardiogram Data}},
  year = {2025},
  eprint = {2512.00976},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.00976},
}
Figure