FRAME: Separating sampling variation from performance disparities in medical image analysis
Organizations: Pattern Recognition Lab, Friedrich-Alexander-Universität Erlangen-Nürnberg, Erlangen, Germany · Lab for AI in Medicine, RWTH Aachen University, Aachen, Germany · Department of Diagnostic and Interventional Radiology, University Hospital RWTH Aachen, Aachen, Germany
Abstract
Fairness audits of medical imaging models commonly report the largest performance difference between demographic subgroups and treat any positive value as evidence of bias. Yet a perfectly fair model also produces a positive difference, which grows as subgroups shrink. Some mitigation methods remove demographic information from models because they assume that it produces the difference. Here we introduce Fair-model Reference And Mechanism Evaluation (FRAME). Its first step compares each reported difference with the difference expected from a perfectly fair model at the same subgroup counts. Its second step tests whether candidate causes of any excess over this fair-model reference change the difference when they are injected into model features. We evaluated 36 encoders on nine datasets in three modalities and audited 89 published differences across six modalities. For 10 frozen encoders and 13 chest radiograph findings, the reference is a median 41% of the race difference and 22% of the age difference. It is exceeded by 40 of 53 published differences in sensitivity or false positive rate and by one of 36 in the area under the receiver operating characteristic curve (AUROC). Adding race information to the features of two encoders does not change the race difference significantly. At matched disease performance, mitigation reduces the race difference by less than its spread across three pretraining seeds (medians 0.005 and 0.012) and the age difference by more (0.008 and 0.006). Image-text pretraining raises the worst-group AUROC for race by a median 0.049 over self-supervised pretraining. Reporting the fair-model reference beside every new and published subgroup difference could direct mitigation to the differences above it.
Figures & tables
| Source or subgroup | Images | Train | Validation | Test | Test patients |
|---|---|---|---|---|---|
| Chest radiography, six sites | |||||
| MIMIC-CXR [ 31 ] | 243,345 | 180,300 | 18,409 | 44,636 | 11,179 |
| CheXpert [ 29 ] | 157,865 | 115,449 | 13,098 | 29,318 | 9,810 |
| NIH ChestX-ray14 [ 62 ] | 112,120 | 77,870 | 8,654 | 25,596 | 2,797 |
| PadChest [ 11 ] | 110,525 | 79,697 | 8,783 | 22,045 | 13,438 |
| VinDr-CXR [ 44 ] | 18,000 | 15,000 | 0 | 3,000 | 3,000 |
| Model | Pretraining objective | Domain | Dimension | Role |
| Publicly released encoders and the untrained control | ||||
| RAD-DINO [ 48 ] | Self-supervised | CXR | 768 | Panel, injections, finetuning |
| BiomedCLIP [ 68 ] | Image-text | Biomedical | 512 | Panel |
| TorchXRayVision DenseNet-121 [ 14 ] | Label-supervised | CXR | 1,024 | Panel, injections |
| DINOv3 ViT-L [ 57 ] | Self-supervised | General | 1,024 | Panel |
| DINOv3 ViT-B [ 57 ] | Self-supervised | General | 768 | Panel |
| Attribute | Category | Recorded | Not recorded | Total |
| Race | White | 42,477 | 0 | 42,477 |
| Race | Black | 8,446 | 0 | 8,446 |
| Race | Asian | 4,368 | 0 | 4,368 |
| Race | Hispanic or Latino | 2,180 | 0 | 2,180 |
| Race | Other | 16,483 | 52,038 | 68,521 |
| Insurance | Medicare | 35,014 | 0 | 35,014 |
| Finding | Evaluable | Positive | Prevalence (%) |
|---|---|---|---|
| Atelectasis | 610,323 | 92,977 | 15 |
| Cardiomegaly | 635,437 | 82,311 | 13 |
| Consolidation | 616,837 | 27,617 | 4 |
| Edema | 499,085 | 74,846 | 15 |
| Enlarged cardiomediastinum | 382,768 | 15,444 | 4 |
| Fracture | 418,170 | 11,280 | 3 |
| Attribute | Linear head | Nonlinear head | Median paired change | Largest change |
|---|---|---|---|---|
| Race | 0.075 (0.057–0.103) | 0.072 (0.056–0.102) | 0.088 | |
| Age | 0.067 (0.047–0.094) | 0.074 (0.056–0.097) | 0.061 | |
| Insurance | 0.062 (0.047–0.076) | 0.064 (0.049–0.083) | 0.028 | |
| Sex | 0.012 (0.007–0.018) | 0.012 (0.007–0.024) | 0.055 |
| Dataset | Task | Attribute | Condition | Metric | Groups | Counts | Reported | Reference | |
|---|---|---|---|---|---|---|---|---|---|
| Seyyed-Kalantari et al. [ 55 ] (chest radiograph) | |||||||||
| MIMIC-CXR | No finding | Race sex | N/A | FPR | 4 (1,152) | R | 0.122 | 0.017 [0.005, 0.035] | 0.001 † |
| Glocker et al. [ 23 ] (chest radiograph) | |||||||||
| CheXpert | No finding | Race | N/A | AUROC | 3 (2,746) | R | 0.010 | 0.017 [0.003, 0.038] | 0.864 |
| CheXpert | No finding | Race | N/A | FPR | 3 (2,434) | R | 0.030 | 0.010 [0.002, 0.023] | 0.006 † |
| CheXpert | No finding | Race | N/A | TPR | 3 (312) | R | 0.050 | 0.029 [0.005, 0.065] | 0.149 |
| Method | Race | Age | ||||
|---|---|---|---|---|---|---|
| Median | IQR | Median | IQR | |||
| Group-balanced resampling | 130 | 0.003 | 0.004 to 0.009 | 130 | 0.001 | 0.002 to 0.005 |
| Reweighing | 130 | 0.002 | 0.002 to 0.005 | 130 | 0.002 | 0.001 to 0.005 |
| Group DRO | 130 | 0.004 | 0.010 to 0.017 | 130 | 0.000 | 0.010 to 0.010 |
| Adversarial removal | 130 | 0.005 | 0.013 to 0.023 | 130 | 0.005 | 0.007 to 0.026 |
| Exponentiated gradient | 130 | 0.003 | 0.005 to 0.010 | 130 | 0.007 | 0.001 to 0.013 |
| Finding | Race | Age | ||||||
|---|---|---|---|---|---|---|---|---|
| Observed | Reference | Share | Observed | Reference | Share | |||
| Support devices | 396 | 0.058 | 0.015 | 26 | 3,258 | 0.048 | 0.007 | 15 |
| Cardiomegaly | 392 | 0.079 | 0.019 | 23 | 1,601 | 0.115 | 0.010 | 8 |
| Lung opacity | 384 | 0.080 | 0.019 | 24 | 2,290 | 0.154 | 0.009 | 6 |
| Pleural effusion | 339 | 0.084 | 0.015 | 18 | 1,890 | 0.069 | 0.007 | 10 |
| Atelectasis | 291 | 0.093 | 0.023 | 24 | 1,953 | 0.093 | 0.010 | 11 |
| Modality | Attribute | Observed | Reference | Exceeding | Achievable |
| Dermatology | Age | 0.068 | 0.023 | 9 | 0.055 |
| Dermatology | Skin type | 0.072 | 0.037 | 0 | 0.052 |
| Dermatology | Sex | 0.006 | 0.007 | 0 | 0.004 |
| Fundus | Age | 0.087 | 0.050 | 2 | 0.069 |
| Fundus | Race | 0.067 | 0.038 | 1 | 0.061 |
| Fundus | Ethnicity | 0.063 | 0.038 | 0 | 0.041 |
| Contrast | Attribute | Worst-group AUROC | Equity-scaled AUROC | |||
|---|---|---|---|---|---|---|
| Gain | Significant | Gain | Significant | |||
| Image-text vs self-supervised | Race | 52 | 0.049 | 35 | 0.049 | 32 |
| Image-text vs self-supervised | Age | 52 | 0.054 | 50 | 0.047 | 44 |
| Image-text vs self-supervised | Sex | 52 | 0.044 | 49 | 0.042 | 49 |
| Image-text vs supervised | Race | 52 | 0.046 | 34 | 0.046 | 34 |
| Image-text vs supervised | Age | 52 | 0.050 | 51 | 0.047 | 47 |