Demographic Encoding is Not Exposure: Fairness and Privacy in Chest X-ray Foundation Models
Abstract
Medical foundation models encode patient demographics and can reveal whether a patient was in the training set, and these properties are often treated as one problem. We tested whether they are aligned by measuring demographic encoding, diagnostic fairness gaps and membership-inference vulnerability on the same models. We trained 200 linear or multilayer-perceptron (MLP) heads on frozen BiomedCLIP, DINOv2 and RAD-DINO embeddings, with three seeds, and audited them on CheXpert and NIH ChestX-ray14. Demographic encoding explained almost no variance in patient vulnerability, and all 72 CheXpert associations were statistically equivalent to zero. Erasing linearly decodable demographics left leakage unchanged but reduced age-related underdiagnosis gaps. Leakage depended instead on head capacity and training length. On RAD-DINO, a linear head reached a membership-inference area under the curve (AUC) of 0.694, compared with 0.907 for a 30-epoch MLP, at similar test performance. Fairness and privacy should therefore be audited separately, and linear heads or shorter training reduce leakage with little or no loss of utility. The code is available on GitHub for public use.
Create a lesson
Metadata
- Categories
- eess.IV, cs.CV, cs.LG
Related papers
Is a CNN-Transformer Ensemble Worth It When a Chest X-Ray Foundation Model Is Available?
Shared title terminologyeess.IVAditya Seelaboyina, Irfan Khan
Diagnostically Meaningful, Privacy-aware Synthetic Chest CT via Class-Conditional Latent Sampling in Diffusion Autoencoders
Shared title terminologyeess.IVJohannes B. Thalhammer, Kacper Ogórek, Tina Dorosti et al.
FM4SAR-Bench 1.0: Towards A Fair Benchmark for Evaluating Foundation Models for SAR Image Interpretation
Shared title terminologyeess.IVMingyao Chen, Yongxiang Liu, Tianpeng Liu et al.
Geospatial foundation models and deep learning for climate resilience: a review of transfer, uncertainty and decision readiness
Shared title terminologyeess.IVParastoo Farajpoor, Mohammadreza Narimani
The UNIFESP Chest CT Fatty Liver Dataset
Shared title terminologyeess.IVAugusto Sarquis Serpa, Mariana Ramos Scolari, Eduardo Moreno Judice de Mattos Farina et al.
Foundation Model Fine-Tuning with Attention-based Multi-View Fusion for Multi-Task Cardiac Function Assessment
Shared title terminologyeess.IVJoão Freitas, Warre Snaet, Jan D'hooge et al.