NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Debiasing Deep Chest X-Ray Classifiers using Intra- and Post-processing Methods

Ricards Marcinkevics, Ece Ozkan, Julia E. Vogt

Abstract

Deep learning models in medical imaging frequently exhibit demographic biases, leading to diagnostic disparities across different patient groups. This paper introduces two "intra-processing" techniques—Neural Network Pruning and Bias Gradient Descent/Ascent (GD/A)—designed to debias pre-trained models. By modifying internal parameters using a validation set with known protected attributes, these methods produce fair models that do not require sensitive information at the point of clinical deployment.

The Challenge of Clinical Bias

While deep learning achieves expert-level performance in chest X-ray analysis, models often "leak" bias, resulting in lower accuracy for specific races, genders, or socioeconomic groups. Traditional debiasing methods typically occur at the data level (pre-processing) or the output level (post-processing). However, pre-processing is computationally expensive, and post-processing requires sensitive patient attributes at test time—information that is often unavailable or ethically sensitive in clinical settings.

Figure 1: Multi-center data distribution where protected attributes (A) may be missing or vary across institutions, highlighting the need for models that do not require these attributes at test time.

Methodology: Intra-processing for Fairness

The authors propose an intra-processing approach that modifies the weights of a pre-trained, biased model. This phase occurs after initial training but before deployment, utilizing differentiable proxies for fairness metrics like Statistical Parity Difference (SPD) and Equal Opportunity Difference (EOD).

Figure 2: The three-stage workflow: (1) Model Development of a biased model, (2) Debiasing via Pruning or Bias GD/A on validation data, and (3) Model Deployment where the protected attribute is not required.

1. Neural Network Pruning

This method identifies specific neurons or convolutional filters that contribute most to classification disparity. Using a gradient-based influence measure, the algorithm greedily prunes these units while maintaining overall model performance. This suggests that bias is often localized within specific network components rather than being a global property of the model.

2. Bias Gradient Descent/Ascent (GD/A)

Bias GD/A is a fine-tuning strategy where the model is optimized using a fairness proxy as the loss function. If the model exhibits bias toward a specific group, the gradients adjust the weights to minimize the covariance between the model's decision boundary and the protected attribute.

Experimental Setup and Datasets

The methods were evaluated across diverse datasets to prove generalizability:

  • Medical Imaging (MIMIC-CXR): Predicting "Enlarged Cardiomediastinum" (protected attribute: sex) and "Pneumonia" (protected attribute: ethnicity).
  • Clinical Tabular Data (MIMIC-III): Predicting in-hospital mortality with age, marital status, and insurance type as protected attributes.
  • Standard Benchmarks: Adult Census, Bank Marketing, and COMPAS datasets.

Key Results

The proposed methods successfully reduced bias with minimal impact on accuracy:

  • MIMIC-CXR: For the Enlarged CM task using VGG-16, the initial EOD of -0.05 was reduced to 0.00 (Pruning) and -0.01 (Bias GD/A), while maintaining ~76% accuracy.
  • MIMIC-III: Both methods effectively drove the SPD to 0.00 for mortality prediction, outperforming traditional adversarial fine-tuning which often sacrifices too much accuracy.
  • Efficiency: Unlike training from scratch, these methods only require a few fine-tuning epochs or pruning steps on a small validation set to achieve results.

Discussion and Conclusion

Intra-processing methods like Pruning and Bias GD/A offer a practical solution for deploying fair AI in healthcare. By embedding fairness into the model's weights during a post-hoc debiasing phase, these techniques eliminate the need for sensitive attribute disclosure at the point of care. Future work will focus on extending these methods to multi-level protected attributes and exploring a wider range of modern neural architectures.

Summary updated

BibTeX
@inproceedings{marcinkevics2022debiasing,
  author = {Ricards Marcinkevics and Ece Ozkan and Julia E. Vogt},
  title = {{Debiasing Deep Chest X-Ray Classifiers using Intra- and Post-processing Methods}},
  booktitle = {MLHC},
  year = {2022},
  url = {https://openreview.net/forum?id=5xCduxdmZz},
}
Figure