Anaemia from a phone photo. What survives the move?
A conjunctiva-photo anaemia model kept its ranking when moved between Italy and India. Its probabilities and its clinical usefulness did not.
Two cohorts, same hardware, very different patients
The public Eyes-defy-anemia dataset photographed 214 adults with one capture rig. That removes the camera as an excuse: whatever breaks under transfer is the population, not the phone.
India sits much closer to the WHO cut-off and has almost four times the prevalence. A model trained on one cohort meets a very different base rate in the other.
- Italy
- n = 120, 19.2% anaemic
- India
- n = 94, 71.3% anaemic
- Within 1 g/dL of cut-off
- 25% vs 35%
- Threshold rule
- sensitivity 0.90, set at source
Ranking largely survived the move
A logistic model on conjunctival colour features was trained in one cohort and tested once in the other. Moving from India to Italy it still separated anaemic from non-anaemic people well. From Italy to India the interval reaches down to chance.
- India to Italy AUROC
- 0.887 (0.776 to 0.971)
- Italy to India AUROC
- 0.629 (0.489 to 0.758)
- Photo over age and sex
- no measurable gain
Probabilities did not
A calibration slope of 1 means the risks mean what they say. From Italy to India it fell to 0.17: the model's probabilities were close to uninformative in the new population.
Label-free prevalence correction repaired calibration only where discrimination was already good. It cut expected calibration error from 0.33 to 0.06 from India to Italy, and did nothing in the other direction.
- Slope, India to Italy
- 1.06
- Slope, Italy to India
- 0.17
- ECE after correction
- 0.33 to 0.06
Worse than referring everyone
Trained in Italy and used in India, it missed 46 of 67 anaemic people.
At the threshold chosen in Italy for 90% sensitivity, the model became a poor screen in India. Decision curves show that in the higher-burden direction it gave less net benefit than the simplest policy available: refer every patient.
Small choices, large swings
Two silent pipeline choices moved results more than most modelling decisions. Duplicate images in a public Ghana dataset inflated AUROC by 0.20. A plausible foreground-masking rule raised the within-cohort score and removed up to 0.24 AUROC under transfer. Site also stayed almost perfectly predictable from the images, whatever normalisation was applied.
- Duplicate split vs clean
- 0.893 vs 0.691
- Masking error cost
- up to 0.24 AUROC
- Site predictability
- AUROC near 1.0
Every near-duplicate, checked by eye
Pairs flagged by perceptual hashing and embedding similarity were reviewed manually, alongside their segmentation masks, before any model was trained. The review is published so others can audit it.
Read the full paper
Transfer studies of conjunctiva screening should report calibration and decision curves, not AUROC alone. Every number in the paper is reproducible from the open repository, on CPU, with fixed seeds.