Reading Race: AI Recognises Patient's Racial Identity In Medical Images

Imon Banerjee, Ananth Reddy Bhimireddy, John L. Burns, Leo Anthony Celi, Li-Ching Chen, Ramon Correa, Natalie Dullerud, Marzyeh Ghassemi, Shih-Cheng Huang, Po-Chih Kuo, Matthew P. Lungren, Lyle J. Palmer, Brandon J. Price, Saptarshi Purkayastha, Ayis Pyrros, Luke Oakden-Rayner, Chima Okechukwu, Laleh Seyyed-Kalantari, Hari Trivedi, Ryan Wang, Zachary Zaiman, Haoran Zhang, Judy W. Gichoya · DOI

Introduction

Recent research has uncovered a startling capability of standard artificial intelligence (AI) models: the ability to accurately predict a patient's self-reported race from medical images such as X-rays and CT scans. This task is considered nearly impossible for human radiologists, yet AI models achieve "superhuman" performance. This discovery suggests a hidden risk for systemic bias in healthcare AI, as models may be utilizing racial proxies invisible to human oversight.

The Challenge of Hidden Bias

In clinical practice, medical images are generally assumed to be "race-blind." Human experts cannot reliably identify a patient's race from an internal scan. However, AI models used for diagnosis have shown disparate performance across different racial groups. Researchers investigated whether these models were secretly "reading" race, which would allow them to make biased decisions based on racial information that remains hidden from the doctors using the tools.

Methodology and Robustness

To test this hypothesis, researchers trained standard Deep Learning architectures—including ResNet34, DenseNet121, and EfficientNet—specifically to predict race from medical images. They then conducted extensive ablation studies to determine the source of the signal:

  • Frequency Filtering: Applying low-pass and high-pass filters to distinguish between structural "shapes" and textural "noise."
  • Resolution Reduction: Downsampling images to extreme levels (as low as 4x4 pixels).
  • Anatomical Masking: Hiding specific regions like the lungs or bones to see if the signal was localized.
  • Confounder Analysis: Evaluating if the models were relying on proxies such as BMI, age, or disease distribution.
Standard Chest X-ray (CXR) used in the study.

The study utilized diverse datasets, including Chest X-rays (MIMIC-CXR, CheXpert), Chest CTs (NLST, Emory-CT), and other modalities like mammography and limb X-rays. External validation was conducted to ensure the results were not due to site-specific artifacts.

Key Insights

The most striking finding is that race is "trivially learnable" for AI. While a radiologist looks at an X-ray and sees anatomy, the AI detects a pervasive signal of racial identity. This signal is not localized to specific features like bone density or BMI; it persists even when lungs are masked or when only small image patches are visible.

Axial Chest CT slice, another modality where AI successfully predicted race.

Furthermore, the signal remains detectable in the "noise" of high-pass filtered images where no anatomical structures are visible to humans. This suggests that simply withholding racial information is insufficient to prevent algorithmic bias, as the AI can reconstruct this information from the "blinded" data.

Results and Performance

Models achieved an Area Under the Curve (AUC) of 0.96 to 0.99 for race prediction on chest X-rays. This performance remained robust even under extreme image degradation, with AUCs staying above 0.95 at 160x160 resolution. Confounder analysis disproved that the models were merely using proxies like age or BMI, as models trained on non-image data performed poorly (AUC ~0.55–0.61).

Conclusion

The study concludes that since racial information cannot be easily hidden from AI, the focus must shift toward explicit auditing for bias. Ensuring equitable healthcare outcomes requires active monitoring of AI models to prevent the perpetuation of systemic disparities through invisible racial proxies.

Summary updated

Abstract

Background: In medical imaging, prior studies have demonstrated disparate AI performance by race, yet there is no known correlation for race on medical imaging that would be obvious to the human expert interpreting the images. Methods: Using private and public datasets we evaluate: A) performance quantification of deep learning models to detect race from medical images, including the ability of these models to generalize to external environments and across multiple imaging modalities, B) assessment of possible confounding anatomic and phenotype population features, such as disease distribution and body habitus as predictors of race, and C) investigation into the underlying mechanism by which AI models can recognize race. Findings: Standard deep learning models can be trained to predict race from medical images with high performance across multiple imaging modalities. Our findings hold under external validation conditions, as well as when models are optimized to perform clinically motivated tasks. We demonstrate this detection is not due to trivial proxies or imaging-related surrogate covariates for race, such as underlying disease distribution. Finally, we show that performance persists over all anatomical regions and frequency spectrum of the images suggesting that mitigation efforts will be challenging and demand further study. Interpretation: We emphasize that model ability to predict self-reported race is itself not the issue of importance. However, our findings that AI can trivially predict self-reported race -- even from corrupted, cropped, and noised medical images -- in a setting where clinical experts cannot, creates an enormous risk for all model deployments in medical imaging: if an AI model secretly used its knowledge of self-reported race to misclassify all Black patients, radiologists would not be able to tell using the same data the model has access to.
BibTeX
@inproceedings{banerjee2022reading,
  author = {Imon Banerjee and Ananth Reddy Bhimireddy and John L. Burns and Leo Anthony Celi and Li-Ching Chen and Ramon Correa and Natalie Dullerud and Marzyeh Ghassemi and Shih-Cheng Huang and Po-Chih Kuo and Matthew P. Lungren and Lyle J. Palmer and Brandon J. Price and Saptarshi Purkayastha and Ayis Pyrros and Luke Oakden-Rayner and Chima Okechukwu and Laleh Seyyed-Kalantari and Hari Trivedi and Ryan Wang and Zachary Zaiman and Haoran Zhang and Judy W. Gichoya},
  title = {{Reading Race: AI Recognises Patient's Racial Identity In Medical Images}},
  booktitle = {The Lancet Digital Health},
  year = {2022},
  doi = {10.1016/s2589-7500(22)00063-2},
}
Figure