Impact of Case and Control Selection on Training Artificial Intelligence Screening of Cardiac Amyloidosis

Amey Vrudhula, L. Stern, Paul Cheng, Piero Ricchiuto, Chathuri Daluwatte, Ronald Witteles, J. Patel, David OuyangJACC 2024

TL;DR

This study investigates how the way we select patient data (cases and controls) for training AI models impacts their ability to screen for cardiac amyloidosis (CA). The key takeaway is that AI models trained on less strictly defined "cases" can perform just as well as those trained on highly curated data when evaluated on a general patient population, suggesting broader applicability for AI screening tools.

What Problem Does This Paper Address?

Cardiac amyloidosis (CA) is a serious, progressive disease that is often underdiagnosed. Early detection is crucial for effective treatment, but diagnosing CA can be challenging due to its often-indolent nature and symptoms that mimic other cardiac conditions. Artificial intelligence (AI) holds promise for screening CA, particularly using electrocardiogram (ECG) data, which is inexpensive and widely available. However, a significant challenge in developing these AI models is the scarcity and underdiagnosis of CA, leading to questions about how to best select "cases" (patients with CA) and "controls" (patients without CA) for training. The optimal criteria for this selection are unknown and could heavily influence the AI's performance and generalizability. This paper aims to address this by evaluating how different case and control selection strategies impact the performance of AI models trained to screen for CA.

Methods

The researchers developed a convolutional neural network (CNN) architecture, similar to EfficientNet, for interpreting ECG waveforms to detect CA. The model was trained using PyTorch Lightning, employing a binary cross-entropy loss function and an ADAM optimizer. Early stopping was used based on the area under the receiver operating curve (AUC) on a validation dataset.

A key aspect of this study was the systematic evaluation of different case and control definitions. Three progressively more selective definitions for CA cases were used:

  1. Broadest: Patients with an International Classification of Diseases (ICD)-9/10 code for amyloidosis.
  2. Intermediate: Patients from the first group with additional evidence of cardiac involvement (e.g., abnormal interventricular septum, elevated BNP or troponin).
  3. Most Curated: Patients seen in a dedicated cardiac amyloidosis clinic with documented diagnosis (biopsy or scintigraphy).

For controls, various groups of non-amyloid patients were used, including general non-amyloid patients, those with left ventricular hypertrophy (LVH), heart failure, and heart failure with reduced ejection fraction (HFrEF). The study also explored different matching strategies between cases and controls (e.g., age, sex, QRS amplitude, wall thickness).

Model performance was assessed on held-out test sets, including a matched cohort mirroring the training criteria and a broader "Cedars-Sinai general patient population cohort" to evaluate real-world generalizability.

Datasets

The primary dataset comprised approximately 1.3 million ECGs from 341,989 patients at Cedars-Sinai Medical Center, collected between 2005 and 2022. This dataset was split into training (80%), internal validation (10%), and testing (10%) sets at the patient level. The study did not introduce new benchmark datasets but rather utilized existing patient data from a single large institution.

Key Insights and Ideas

  • Less Curated Cases Can Be Sufficient: The most striking finding is that AI models trained on less stringent case definitions (like ICD-9/10 codes) performed comparably to models trained on highly curated data (e.g., from specialized clinics) when evaluated on a general patient population. This suggests that institutions without dedicated amyloidosis clinics can still develop effective AI screening tools.
  • Population-Level Evaluation is Crucial: AUC alone is not enough to assess an AI model's true performance. Evaluating models on a broad, clinically relevant population is essential to understand their real-world utility and generalizability, as performance can drop significantly when moving from a matched test set to a general population.
  • Case Definition Matters for Specific Cohorts: While general population performance was similar, stricter case definitions did lead to higher AUCs when tested on matched held-out test sets. This highlights that the "best" model depends on the specific evaluation context.
  • Matching Strategies Have Nuanced Effects: Matching cases and controls on age and sex improved performance, likely by forcing the model to learn features beyond these common confounders. However, matching on QRS amplitude (a known hallmark of amyloidosis) led to poorer performance, suggesting the model might have relied on this feature as a shortcut, hindering its ability to learn other diagnostic indicators.

Key Results

  • AUCs for models tested on matched held-out test sets ranged from 0.660 to 0.898.
  • When tested on the Cedars-Sinai general patient population cohort, AUCs dropped significantly, ranging from 0.467 to 0.898, demonstrating a substantial impact of case/control selection on generalizability.
  • Models trained with ICD-9/10 cases and population controls matched for age and sex achieved the best screening performance in the general population cohort.
  • The best model achieved an AUC of 0.820 in a matched test cohort and 0.744 in the general patient population test cohort.
  • At the Youden index, the model demonstrated a sensitivity of 0.609 and a specificity of 0.718. The negative predictive value was high (0.995), indicating its utility in ruling out CA.

Limitations and Future Work

  • Limitations of ICD-9/10 Codes: The study acknowledges that ICD-9/10 codes may not always be definitive for CA diagnosis, and confirmatory testing might not be available in the EHR. This "label noise" could lead to false positives and negatives.
  • Bias in Case Selection: The 180-day window for defining cardiac involvement might bias towards more severe or obvious cases, potentially overestimating model performance.
  • Undiagnosed Cases in Controls: The underdiagnosis of amyloidosis means that some patients in the control group might have undiagnosed CA, limiting the model's potential performance.
  • Single-Institution Study: The findings are based on data from a single institution, and external validation at other centers is crucial to confirm generalizability.
  • Early Detection Nuance: While Figure 1 shows promise for early detection (ECGs taken years before diagnosis), it doesn't provide conclusive evidence, and prospective studies are needed to gauge true clinical impact.
  • Model Calibration: Probabilities from the models may not directly equal true probabilities and might require thresholding for optimal performance.

Future Work: The authors emphasize the need for external validation and prospective studies to fully understand the utility of these AI screening models. They also suggest that further research is needed to explore how to best leverage AI for early detection and to understand its technical limitations and acceptability among clinicians and patients.

Summary updated

Abstract

Models performed similarly in population screening, regardless of stringency of cases used during training, showing that institutions without dedicated amyloid clinics can train meaningful models on less curated CA cases. Additionally, AUC or other metrics alone are insufficient in evaluating deep learning algorithm performance. Instead, evaluation in the most clinically meaningful population is key.
BibTeX
@inproceedings{vrudhula2024impact,
  author = {Amey Vrudhula and L. Stern and Paul Cheng and Piero Ricchiuto and Chathuri Daluwatte and Ronald Witteles and J. Patel and David Ouyang},
  title = {{Impact of Case and Control Selection on Training Artificial Intelligence Screening of Cardiac Amyloidosis}},
  booktitle = {JACC},
  year = {2024},
  doi = {10.1016/j.jacadv.2024.100998},
}
Figure