Chapter 2
Algorithmic bias in healthcare AI represents one of the most pressing ethical challenges of our time. When AI systems perform differently across demographic groups, they can perpetuate and amplify existing health disparities, undermining medicine's commitment to treating all patients equitably.
Algorithmic bias occurs when an AI system systematically produces outcomes that favor certain groups over others in ways that are unjustified and potentially harmful. In healthcare, this manifests as differential performance across patient populations—an AI that detects skin cancer accurately on light-skinned patients but misses melanomas on darker skin, or a risk prediction model that underestimates illness severity in Black patients.
The consequences of biased healthcare AI extend beyond individual misdiagnoses. Biased algorithms can systematically direct resources away from populations that need them most, reinforce historical patterns of discrimination, and erode trust in healthcare systems among already marginalized communities. Understanding the sources of bias is the first step toward building fairer systems.
AI systems learn from historical data, and that data often reflects decades of healthcare inequities. Clinical trials have historically underrepresented women, minorities, and elderly patients. Electronic health records capture healthcare as it was delivered—including patterns of undertreatment, missed diagnoses, and disparate access that varied by demographic. When AI learns from this data, it learns these disparities as "normal."
| Bias Source | Mechanism | Example |
|---|---|---|
| Selection Bias | Training data not representative of population | Dermatology AI trained mostly on light-skinned patients |
| Historical Bias | Data reflects past discriminatory practices | Pain management algorithms undertreat minorities |
| Measurement Bias | Outcomes measured differently across groups | Using healthcare costs as proxy for health needs |
| Label Bias | Ground truth labels contain systematic errors | Underdiagnosis of depression in men affects labels |
| Missing Data Bias | Important variables absent for some populations | Social determinants missing for uninsured patients |
Even with representative data, algorithmic choices can introduce or amplify bias. The selection of features, the definition of outcomes, the choice of optimization objectives, and model architecture decisions all influence fairness. An algorithm optimizing for overall accuracy may sacrifice performance on minority subgroups if that improves aggregate metrics.
How AI systems are deployed can create disparities even if the underlying algorithm is fair. Hospitals serving affluent populations may have higher-quality imaging equipment, making AI interpretations more accurate. Patients with limited health literacy may not understand AI-driven recommendations. Clinicians may override AI suggestions more frequently for patients they perceive as similar to themselves.
In 2019, researchers discovered that a widely-used algorithm for identifying patients who would benefit from additional healthcare resources was systematically disadvantaging Black patients. The algorithm used healthcare costs as a proxy for health needs, but Black patients historically had less access to healthcare services, resulting in lower costs even when equally or more sick.
Multiple studies have demonstrated that dermatology AI systems perform worse on darker skin tones. A Stanford study found that some AI systems had accuracy drops of 20-40% on dark-skinned patients compared to light-skinned patients.
A challenge in addressing algorithmic bias is that fairness itself has multiple definitions that are often mathematically incompatible. Different stakeholders may prioritize different fairness criteria, and an algorithm cannot simultaneously satisfy all of them.
| Fairness Definition | Criterion | Limitation |
|---|---|---|
| Demographic Parity | Equal positive rates across groups | Ignores actual differences in base rates |
| Equal Opportunity | Equal true positive rates | Allows different false positive rates |
| Equalized Odds | Equal TPR and FPR across groups | May require accepting lower overall accuracy |
| Calibration | Same meaning of scores across groups | Can still have different error rates |
| Individual Fairness | Similar individuals treated similarly | Requires defining "similar" |
| Counterfactual Fairness | Outcome unchanged if protected attribute changed | Requires causal modeling assumptions |
Mathematical analysis has shown that certain fairness criteria cannot be simultaneously achieved when base rates differ between groups. If disease prevalence differs across populations (as it often does), an algorithm cannot have equal false positive rates, equal false negative rates, and equal positive predictive values across groups all at once. This "impossibility theorem" forces difficult trade-offs in algorithm design.
| Strategy | Approach | Considerations |
|---|---|---|
| Diverse Data Collection | Actively recruit underrepresented populations | Expensive; may require community partnerships |
| Oversampling | Increase weight of minority group samples | Risk of overfitting to minority samples |
| Synthetic Data | Generate artificial samples for underrepresented groups | May not capture real-world complexity |
| Label Correction | Re-label potentially biased ground truth | Requires gold standard for correction |