Algorithmic Bias in Machine Learning Based Delirium Prediction

Sandhya Tripathi, Bradley A Fritz, Michael S Avidan, Yixin Chen, Christopher R KingarXiv 2022

TL;DR

This paper demonstrates that machine learning models used to predict delirium risk suffer from algorithmic bias across sociodemographic subgroups such as age, sex, and race. The authors show that simply removing protected attributes from the training data does not eliminate this bias, but employing Propensity Score Matching (PSM) can help identify and mitigate these performance discrepancies.

What Problem Does This Paper Address?

Delirium is a serious, acute change in mental state that frequently affects hospitalized or post-surgical elderly patients. While early detection can help clinicians prioritize resource-intensive preventative care, it is well-established that social determinants of health (SDOH) strongly correlate with delirium risk.

If machine learning models inherit or amplify these systemic biases, they risk creating "disparate mistreatment"—where a model performs worse for specific protected subgroups. Prior small-scale studies suggested that delirium prediction models were bias-free, but they lacked the dataset size and clinical consistency to be definitive. This paper addresses this gap by rigorously evaluating algorithmic bias using two large, high-quality, ICU-focused datasets.

Methods

The authors trained and evaluated several standard machine learning architectures, including Logistic Regression, Decision Trees, Gradient Boosted Trees, Deep Neural Networks (DNNs), and Random Forests. Because Random Forests yielded the highest overall predictive performance, they were selected as the primary model for the bias analysis.

To evaluate and mitigate bias, the authors investigated two main hypotheses:

  1. Removing Protected Attributes: Testing if excluding sensitive variables (age, sex, race) from the training features reduces subgroup performance gaps.
  2. Propensity Score Matching (PSM): Using a logistic regression model to calculate propensity scores and match "treated" vs. "untreated" individuals (e.g., comparing subgroups with similar baseline clinical covariates). This helps determine if performance gaps stem from true algorithmic bias or underlying clinical confounding factors (like differing comorbidity rates).

Performance differences across subgroups were measured using Positive Predictive Value (PPV), Sensitivity, and Area Under the Receiver Operating Characteristic (AUROC).

Datasets

The study evaluates the models on two large-scale datasets containing expert-labeled delirium outcomes:

  • ACTFAST-Epic: A dataset containing electronic health records of 12,699 patients (3,812 in the test set) recorded prior to surgical procedures at Barnes-Jewish Hospital. Delirium labels were derived via Confusion Assessment Method for the ICU (CAM-ICU) tools. The demographic breakdown of this dataset is detailed below:
Protected attribute distribution in the ACTFAST-Epic test dataset
  • MIMIC-III: A widely used public ICU database containing 48,435 patients. Delirium labels were extracted using ICD-9 diagnostic codes. Unlike ACTFAST-Epic, the outcome distribution in MIMIC-III is highly imbalanced.

Key Insights and Ideas

  • Blindness is Not Fairness: Simply removing sensitive attributes (like sex or race) from the training data does not eliminate performance discrepancies. Other baseline features (e.g., height acting as a proxy for sex) continue to pass proxy information to the model, maintaining the bias.
  • Explicit Inclusion Can Exacerbate Gaps: In the MIMIC-III dataset, explicitly adding protected attributes to the feature set (Model M2) did not improve overall performance, but it did introduce statistically significant performance drops for specific subgroups compared to the model without them (Model M1).
  • The Power of Propensity Score Matching: PSM proved to be a highly effective diagnostic and mitigation tool. By controlling for baseline clinical differences, matching successfully reduced the maximum discrepancy in AUROC across subgroups in the majority of tested scenarios.

Key Results

The Random Forest models achieved solid baseline performance, with an overall AUROC of 0.85 on ACTFAST-Epic and 0.87 on MIMIC-III. However, significant subgroup variations emerged:

  • ACTFAST-Epic: Substantial discrepancies were found in the False Negative Rate (FNR), meaning the model was more likely to miss delirious patients in certain subgroups, potentially depriving them of timely care.
  • MIMIC-III: Explicitly adding protected attributes (Model M2) widened the performance gap. For example, the AUROC discrepancy for the Hispanic subgroup shifted significantly when sensitive attributes were included.

The impact of removing protected attributes and applying PSM on the maximum AUROC discrepancy is summarized in the authors' findings below:

Maximum discrepancy in AUROC across subgroups before and after propensity score matching

Limitations and Future Work

The authors note several limitations in this initial exploration:

  • The analysis was restricted to the top two or three most frequently occurring subgroups for race and sex due to sample size constraints.
  • Delirium clinical assessments inherently contain a degree of subjectivity, which can introduce noise into the ground-truth labels.
  • The study did not explore other critical SDOH features, such as patient language or insurance status, nor did it look at intersectional bias (the compounding effect of belonging to multiple protected subgroups simultaneously, such as being both elderly and Black).

Future work will focus on expanding the protected attribute set and designing minimally biased risk-stratification models suitable for deployment in real-world clinical decision support systems.

Summary updated

BibTeX
@misc{tripathi2022algorithmic,
  author = {Sandhya Tripathi and Bradley A Fritz and Michael S Avidan and Yixin Chen and Christopher R King},
  title = {{Algorithmic Bias in Machine Learning Based Delirium Prediction}},
  year = {2022},
  eprint = {2211.04442},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.04442},
}
Figure