Demographic Encoding is Not Exposure: Fairness and Privacy in Chest X-ray Foundation Models
Sahar Askari, Amin Golnari
Key points
From the paper's conclusion- We tested whether they are aligned by measuring demographic encoding, diagnostic fairness gaps and membership-inference vulnerability on the same 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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Automated screening of privacy risks in medical AIarXiv · 2026
- Phantom Fairness: A Reproducible Audit of How Automatically Extracted Labels Can Conceal Demographic Disparities in Chest Radiograph ClassifiersmedRxiv · 2026
- Erasing the Wrong Thing: Conditional Attribute Leakage and Concept Erasure in Shared Foundation-Model EmbeddingsarXiv · 2026
- Disparate privacy risks from medical AINature · 2026
- Constructing and Validating Memorisation Audits for EHR Foundation ModelsarXiv · 2026
- Hidden in Plain Sight: Vector Embeddings give away Demographic Information.IEEE journal of biomedical and health informatics · 2026