arXiv:2611.09851cs.CVNov 2026

Manuscript Offprint

arXiv:2611.09851

Health-System-Wide Mapping of Demographic Information in Routine Clinical Histopathology

Shengjia Chen, Ruchika Verma, Kevin Clare, Paula Restrepo, Jannes Jegminat, Eugenia Alleva, Kuan-lin Huang, Aryeh Stock, Brandon Veremis, Thomas Fuchs, Gabriele Campanella

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

1 Introduction

Despite more than a century of microscopic examination of human tissue, it remains unknown whether demographic-associated morphologic variation is systematically detectable across organs and disease states. Scattered observations suggest that such variation exists. Sex-associated nuclear features were described in neurons and neutrophils more than 70 years ago 1,2^{1,2}, and machine-learning models have since estimated chronological age from the histology of healthy tissues and brain 3,4^{3,4}. More broadly, structural aging mapped from hematoxylin and eosin (H&E) histology of 40 post-mortem tissues in the Genotype-Tissue Expression project followed tissue-specific, nonlinear trajectories, with coordinated deterioration across organs 5^{5}. Race-associated histopathologic and molecular differences have also been reported in organs including skin and prostate 6−8^{6-8}. These observations establish that demographic-associated variation can have histologic correlates, but the evidence remains fragmented across demographic attributes, organs, and clinical settings. It is therefore unknown how broadly sex, age, and self-reported race are associated with detectable information in routine clinical histopathology across tissues and disease states.

Deep learning provides a means to investigate this question at a scale and sensitivity not readily achievable through conventional morphologic assessment. Computational pathology (CPath) models applied to digitized H&E whole-slide images (WSIs) can identify information associated with disease and tumor grade 9,10^{9,10}, molecular biomarkers and outcomes 11−13^{11-13}, and cellular phenotypes 14,15^{14,15}. Foundation models (FMs) pretrained on large collections of digitized pathology images 16−20^{16-20} have further enabled representations that transfer across tasks and centers 21,22^{21,22}. The ability of these models to recover complex information from routine H&E images raises a fundamental question beyond disease prediction: what information about the patient is encoded in tissue images, including information that may not be apparent to human observers?

Evidence from medical imaging suggests that demographic information can indeed be recovered from images and learned representations 23^{23}. In radiology, self-reported race can be predicted across imaging modalities and external cohorts even when the relevant image features are not apparent to human observers 24^{24}; medical-imaging FMs likewise encode sex, age, and race in their representations 25^{25}. Evidence in histopathology is more limited. Vaidya et al. showed that representations learned for breast and lung cancer subtyping and glioma IDH1 mutation prediction retained information about patient race 26^{26}. In our prior work in dermatopathology, self-reported race remained predictable under the evaluated disease-distribution controls, with attention and ablation analyses implicating the epidermis as one source of predictive signal 27^{27}; pigmentation-related epidermal features are one plausible candidate correlate 6^{6}. Together, these findings indicate that demographic information can be present in medical images and learned representations, but they do not establish how broadly such information is detectable across routine histopathology or which histologic features carry it.

Establishing the extent of demographic predictability also has important implications for the development and evaluation of CPath models. If demographic attributes are recoverable from H&E images or their learned representations, this information is potentially available to models even when demographic variables are not explicitly provided as inputs. Models may then exploit demographic-associated information when it correlates with a prediction target, creating the possibility of shortcut learning 28,29^{28,29}. Performance disparities have been documented in medical imaging and CPath 25,26,30^{25,26,30}; a pan-cancer analysis, for example, reported significant disparities across self-reported race, gender, or age groups in 29.3% of diagnostic tasks 31^{31}. Self-reported race may serve as an imperfect proxy for genetic ancestry, while also capturing social, environmental, and healthcare-related factors. Demographic predictability does not by itself demonstrate that a clinical model uses demographic information, just as an observed performance disparity does not establish demographic proxy use. Rather, determining where demographic information is recoverable identifies settings in which such use is possible and can be tested directly.

A central challenge is that demographic predictability need not arise from intrinsic tissue morphology. Demographic groups can differ in disease prevalence, specimen and case mix, healthcare context, and other cohort characteristics, while tissue processing, staining, scanning, and image acquisition can introduce additional correlations 28,29,32^{28,29,32}. The Cancer Genome Atlas illustrates this problem: contributing sites differ in clinical and demographic composition, while their digital slides carry site-specific visual signatures arising from both biological differences and non-biological batch effects 26,32,33^{26,32,33}. Deep learning models can recover the submitting site from digitized slide images, and these signatures remain detectable after commonly used stain normalization and augmentation 32,34^{32,34}. When the same cohort structure is represented in training and validation data, such associations can remain hidden and produce optimistic estimates of performance that deteriorate when site, case mix, or acquisition conditions change 28,29,32,35^{28,29,32,35}. Consequently, mapping demographic-associated image information requires testing whether predictability persists when major sources of cohort structure, particularly demographic-class imbalance and diagnosis context, are constrained. Even when it persists, predictability alone does not identify its causal source; residual signals may reflect tissue-associated features, clinical or sampling context, acquisition effects, or combinations of these factors.

Here, we address a fundamental question: to what extent are basic demographic attributes encoded in tissue morphology across the human body? To that end, we analyzed 1,302,440 H&E WSIs from 257,322 patients across 25 organs in the Mount Sinai Health System to systematically map demographic-associated information in routine clinical histopathology. Using pathology FM features and attention-based multiple-instance learning (MIL), we evaluated sex, age group, and self-reported race across 69 organ-demographic combinations. Complementary controls assessed demographic-class exposure balancing, diagnosis-constrained versus non-stratified grouped training, and within-diagnosis evaluation. These comparisons characterize the sensitivity of demographic predictability to the evaluated controls without partitioning the signal into causal components. Selected residual signals were further examined through targeted literature searching to generate testable hypotheses for subsequent morphologic investigation. This study maps where demographic information is image-predictable, where it persists under diagnosis and cohort controls, and which residual signals warrant further morphologic investigation. It thereby provides a systematic foundation for studying demographic-associated variation in human histopathology and its implications for downstream CPath models.

References (55)