A data-driven framework for identifying patient subgroups on which an AI/machine learning model may underperform

Adarsh Subbaswamy, Berkman Sahiner, Nicholas Petrick, Vinay Pai, Roy Adams, Matthew C. Diamond, Suchi Saria · DOI

Introduction

Machine learning models in healthcare often boast impressive average performance metrics, such as high Area Under the Receiver Operating Characteristic (AUROC) curves. However, these averages can be deceptive, hiding significant performance drops in specific patient populations—a phenomenon known as hidden stratification. Identifying these "blind spots" is critical for ensuring equitable and safe clinical care. Traditional manual auditing is unscalable, and exhaustive algorithmic searches suffer from combinatorial explosion as the number of clinical variables increases.

The AFISP Framework

The authors propose the Algorithmic Framework for Identifying Subgroups with Performance disparities (AFISP), an end-to-end pipeline designed to automatically detect and describe these underperforming subgroups. The workflow consists of three integrated phases:

The AFISP workflow: Stability Analysis identifies worst-case subsets, Subgroup Phenotype Identification describes them with interpretable rules, and Model Performance Diagnostics assesses correctability.
  1. Stability Analysis: Instead of searching for subgroups directly, AFISP uses an adversarial approach to identify the "worst-performing subset" of a given size ($\alpha$) within the evaluation data. This phase generates a "performance stability curve," where a sharp drop in performance indicates the presence of hidden stratification. This approach reframes subgroup discovery as an optimization problem, bypassing the need to test every possible feature combination.
  2. Subgroup Phenotype Identification: Once the problematic subset is identified, the framework employs the SIRUS (Stable and Interpretable RUle Set) algorithm to learn an interpretable characterization of the subgroup. SIRUS generates human-readable "if-then" clinical rules (e.g., If Patient has Sepsis AND Acute Respiratory Failure), allowing clinicians to validate the identified phenotypes and ensure they are medically meaningful.
  3. Model Performance Diagnostics: The final stage evaluates the "correctability" of the observed disparity. By analyzing learning curves and adding targeted training data, developers can determine if the performance gap can be closed through data collection or if it stems from deeper issues in the model architecture or feature set.

Experimental Results

The framework was validated using a real-world case study of a patient deterioration prediction model at Johns Hopkins Hospital (60,998 encounters) and synthetic datasets designed to test scalability.

  • Subgroup Discovery: AFISP identified 13 critical subgroups with significant performance disparities. For example, while the model's overall AUROC was 0.986, it fell to 0.81 for patients with a combination of anemia and nonspecific lung disease.
  • Scalability: In synthetic tests with up to 5,000 binary features, AFISP maintained linear scalability, completing in minutes. In contrast, state-of-the-art exhaustive search methods like Slice Finder became computationally intractable as dimensionality increased.
  • Correctability: Analysis showed that many identified gaps were fixable; adding approximately 2,000 targeted training samples allowed the model to reach performance parity for the worst-performing subgroup, demonstrating that AFISP can guide targeted data acquisition.

Discussion and Limitations

AFISP provides a scalable "smoke detector" for clinical AI, prioritizing interpretability to ensure that discovered subgroups are actionable. However, the framework's effectiveness is contingent on the diversity of the evaluation dataset; it cannot detect underperformance in populations entirely missing from the test data. Future research will focus on reducing redundancy in generated rules and validating the framework across diverse, multi-institutional healthcare networks to ensure its robustness in varied clinical environments.

Summary updated

BibTeX
@article{subbaswamy2024data,
  author = {Adarsh Subbaswamy and Berkman Sahiner and Nicholas Petrick and Vinay Pai and Roy Adams and Matthew C. Diamond and Suchi Saria},
  title = {{A data-driven framework for identifying patient subgroups on which an AI/machine learning model may underperform}},
  journal = {Npj Digit. Medicine},
  year = {2024},
  doi = {10.1038/s41746-024-01275-6},
}
Figure