Hybrid Vision Transformer_GAN Attribute Neutralizer for Mitigating Bias in Chest X_Ray Diagnosis
Jobeal Solomon, Ali Mohammed Mansoor Alsahag, Seyed Sahand Mohammadi Ziabari
TL;DR
This study tests whether swapping the CNN-based U‑Net encoder in an Attribute-Neutral Framework for chest X-ray analysis with a Vision Transformer (DeiT-Small) can further suppress demographic attribute leakage (sex and age) without harming diagnostic accuracy. At moderate edit strength, the ViT neutralizer reduces leakage to about 0.80 AUC for sex and 0.80 AUC for age, while preserving roughly 95–97% of baseline macro diagnostic ROC–AUC across 15 findings, and keeping worst-case subgroup performance near 0.70. The AI judge leakage drops dramatically at stronger edits (AUC ≤ 0.10 for α ≥ 0.6), demonstrating effective neutralization of demographic cues, with Grad-CAM analyses supporting changes in attribute-bearing regions. These results suggest that global self-attention can enhance pixel-space debiasing in medical imaging, offering a practical path toward fairer chest X‑ray AI, though validation across more datasets and attributes remains needed.
Abstract
Bias in chest X-ray classifiers frequently stems from sex- and age-related shortcuts, leading to systematic underdiagnosis of minority subgroups. Previous pixel-space attribute neutralizers, which rely on convolutional encoders, lessen but do not fully remove this attribute leakage at clinically usable edit strengths. This study evaluates whether substituting the U-Net convolutional encoder with a Vision Transformer backbone in the Attribute-Neutral Framework can reduce demographic attribute leakage while preserving diagnostic accuracy. A data-efficient Image Transformer Small (DeiT-S) neutralizer was trained on the ChestX-ray14 dataset. Its edited images, generated across eleven edit-intensity levels, were evaluated with an independent AI judge for attribute leakage and with a convolutional neural network (ConvNet) for disease prediction. At a moderate edit level (alpha = 0.5), the Vision Transformer (ViT) neutralizer reduces patient sex-recognition area under the curve (AUC) to approximately 0.80, about 10 percentage points below the original framework's convolutional U-Net encoder, despite being trained for only half as many epochs. Meanwhile, macro receiver operating characteristic area under the curve (ROC AUC) across 15 findings stays within five percentage points of the unedited baseline, and the worst-case subgroup AUC remains near 0.70. These results indicate that global self-attention vision models can further suppress attribute leakage without sacrificing clinical utility, suggesting a practical route toward fairer chest X-ray AI.
