Are Sex-Based Physiological Differences the Cause of Gender Bias for Chest X-Ray Diagnosis?

Nina Weng, Siavash Bigdeli, Eike Petersen, Aasa Feragen

Introduction

In the evolving landscape of medical artificial intelligence, algorithmic bias remains a significant hurdle to equitable healthcare. Specifically, chest X-ray (CXR) models often exhibit performance disparities between male and female patients, frequently resulting in lower diagnostic accuracy for women. A common hypothesis among practitioners suggests that female breast tissue creates physiological "shadows" or underexposure that obscures lung features, inherently complicating the task for computer vision models. This research investigates whether these biological differences are the root cause of the observed bias or if the problem stems from deeper data-centric factors.

Methodology

The researchers utilized two of the most prominent public repositories: the NIH ChestX-ray8 and the CheXpert datasets. To isolate the causes of bias, they implemented several rigorous experimental controls:

  1. Refined Sampling: To prevent models from over-fitting to specific patients with multiple scans, the team adopted a "one sample per patient" rule. They also prioritized samples with positive disease labels to combat the known unreliability of "no finding" labels in public datasets.
  2. Gender Ratio Manipulation: Models (ResNet50) were trained on datasets with varying female representation (0%, 50%, and 100%) to determine if increasing female data alone could eliminate the performance gap.
  3. The Breast Cropping Experiment: To directly test the physiological hypothesis, the researchers created a version of the dataset where the lower 40% of every image—the region containing breast tissue—was cropped out. If breast tissue were the primary obstacle, removing it should theoretically close the gender gap.
  4. Inter-dataset Transfer: Models were trained on one institutional dataset and tested on another to observe if bias patterns remained consistent across different clinical environments.

Key Findings

Debunking the Physiological Hypothesis

The "breast cropping" experiment provided a critical insight: removing the lower portion of the images did not mitigate the gender gap. While overall diagnostic accuracy dropped slightly due to the loss of visual information, the disparity between male and female performance remained. This effectively rules out breast shadows as the primary driver of AI struggle with female scans.

Representation is Not a Panacea

The study found that simply balancing the training data is not a "silver bullet" for fairness. In several instances, models trained exclusively on female patients still performed better on male patients during testing. This suggests that the features the model learns are not necessarily tied to the volume of gender-specific data but rather to the quality and characteristics of the underlying samples.

Dataset-Specific vs. Universal Bias

Perhaps the most telling discovery was that bias is not universal. For specific conditions like Pneumothorax, a model might exhibit a pro-male bias on the NIH dataset but a pro-female bias on the CheXpert dataset. If the bias were rooted in universal human biology, the direction of the disparity would be consistent across all data sources. Because the bias varies by dataset, it must be a product of how specific data is collected, processed, or labeled at different institutions.

The Role of Label Noise

The researchers identified "no finding" labels—indicating a healthy patient—as highly unreliable in large-scale public datasets. By prioritizing positive disease labels, the team observed a significant boost in Area Under the Receiver Operating Characteristic (AUROC) scores. This indicates that label noise is a major, often hidden, driver of unfairness in medical AI.

Conclusion and Future Directions

The findings of this study shift the focus from biological differences to data quality. The gender bias observed in CXR AI is not an inevitable consequence of human physiology but rather a reflection of dataset-specific artifacts and labeling errors.

To move toward truly fair medical AI, the authors suggest that future research should investigate:

  • Confounding Variables: Analyzing differences in age distribution or co-morbidities between genders within specific hospital systems.
  • Technical Artifacts: Examining how X-ray machine calibration and patient positioning might differ across body types.
  • Label Auditing: Further investigating the NLP-derived labels used in massive datasets to identify gendered patterns in labeling errors.

In summary, the bias is not in our bodies; it is in our data. Solving it will require more sophisticated data curation and a deeper understanding of institutional data collection practices rather than simply increasing dataset size.

Summary updated

Abstract

While many studies have assessed the fairness of AI algorithms in the medical field, the causes of differences in prediction performance are often unknown. This lack of knowledge about the causes of bias hampers the efficacy of bias mitigation, as evidenced by the fact that simple dataset balancing still often performs best in reducing performance gaps but is unable to resolve all performance differences. In this work, we investigate the causes of gender bias in machine learning-based chest X-ray diagnosis. In particular, we explore the hypothesis that breast tissue leads to underexposure of the lungs and causes lower model performance. Methodologically, we propose a new sampling method which addresses the highly skewed distribution of recordings per patient in two widely used public datasets, while at the same time reducing the impact of label errors. Our comprehensive analysis of gender differences across diseases, datasets, and gender representations in the training set shows that dataset imbalance is not the sole cause of performance differences. Moreover, relative group performance differs strongly between datasets, indicating important dataset-specific factors influencing male/female group performance. Finally, we investigate the effect of breast tissue more specifically, by cropping out the breasts from recordings, finding that this does not resolve the observed performance gaps. In conclusion, our results indicate that dataset-specific factors, not fundamental physiological differences, are the main drivers of male–female performance gaps in chest X-ray analyses on widely used NIH and CheXpert Dataset. The code is available under https://github.com/nina-weng/detecting_causes_of_gender_bias_chest_xrays .
BibTeX
@inproceedings{weng2023are,
  author = {Nina Weng and Siavash Bigdeli and Eike Petersen and Aasa Feragen},
  title = {{Are Sex-Based Physiological Differences the Cause of Gender Bias for Chest X-Ray Diagnosis?}},
  booktitle = {CLIP/FAIMI/EPIMI @ MICCAI},
  year = {2023},
  url = {https://openreview.net/forum?id=YMwp_FSUeh},
}
Figure