AI Can Read Age, Sex, and Race from Biopsy Slides
Original paper: Health-System-Wide Mapping of Demographic Information in Routine Clinical Histopathology
"Just as a carpenter can look at the grain and growth rings of a piece of timber to infer a tree's age, species, and environment, an AI can inspect a standard tissue slide and decode microscopic structural signatures. Even when focusing on diseased cells, the underlying biological 'grain' of the tissue silently reflects the patient's age, sex, and background. Consequently, routine biopsy slides carry a rich demographic barcode embedded deep within their cellular layout."
This finding warns developers that diagnostic AI tools might accidentally rely on hidden demographic shortcuts rather than true disease indicators. Identifying these background signals ensures that future computational pathology tools are fairer, safer, and transparent across diverse patient populations.
- AI extracts age, sex, and race from standard tissue biopsies.
- Demographic patterns were detected across 25 different organ types.
- Highlights critical risks of hidden demographic bias in medical AI.
📑 Original arXiv Technical Abstract
The extent to which demographic-associated information is detectable across organs and disease states in routine clinical histopathology remains unclear. Here, we analyzed 1.3 million hematoxylin and eosin whole-slide images from 257,322 patients across 25 organs, using pathology foundation-model representations and multiple-instance learning to systematically map information associated with sex, age group, and self-reported race. Across 69 organ-demographic combinations, demographic attributes were broadly recoverable, with pan-organ mean AUROCs of 0.828 for sex, 0.733 for age group, and 0.662 for self-reported race, and substantial variation across organs. Demographic-class balancing produced relatively small changes in performance, while evaluation within diagnosis-text clusters showed modest attenuation. Under training with diagnosis-based grouping, demographic-associated signals remained detectable across multiple organs, including sex in gastric tissue (AUROC 0.865), age group in breast (0.816), and self-reported race in skin (0.728). Literature-guided analysis of these settings generated candidate histomorphological and contextual explanations for further investigation. Together, these findings provide a systematic map of demographic-associated information in routine histopathology, informing investigations of its sources, assessments of potential shortcut learning, and the development of more interpretable computational pathology models.
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.