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 CampanellaarXiv 2026 · arXiv

TL;DR

AI models can accurately predict a patient’s sex, age, and self-reported race directly from routine H&E-stained pathology slides across nearly every organ in the body. This "hidden" demographic signal persists even when controlling for disease type and class imbalance, highlighting a major potential source of "shortcut learning" bias in clinical AI and opening new doors for studying how demographics manifest in human tissue.

What Problem Does This Paper Address?

In recent years, researchers have discovered that deep learning models can "see" demographic information in medical images—like X-rays or CT scans—that are invisible to human experts. This raises a critical concern in Computational Pathology (CPath): if a model can tell a patient's race or age just by looking at a tissue slide, it might learn to predict disease outcomes based on demographic proxies rather than actual pathology. This is known as shortcut learning, and it can lead to models that perform well in the lab but fail or exhibit bias when deployed in diverse real-world settings.

While scattered studies have shown demographic signals in specific organs (like the skin or brain), we haven't known how universal this phenomenon is. This paper provides the first health-system-wide map of demographic information across 25 different organs, investigating whether these signals are intrinsic to the tissue or merely artifacts of disease prevalence and cohort composition.

Methods

The researchers conducted a massive retrospective study using data from the Mount Sinai Health System. Their pipeline involved several sophisticated steps:

  1. Feature Extraction: They used a pathology-specific "foundation model" (a Vision Transformer called SP22M) to convert small tiles of whole-slide images into numerical embeddings.
  2. Multiple-Instance Learning (MIL): They employed an attention-based MIL framework to aggregate these tile-level features into slide-level predictions for sex, age group, and race.
  3. NLP-Driven Contextualization: To control for disease-related confounding, they used GPT-5 mini to parse hundreds of thousands of pathology reports, clustering cases by their specific diagnostic text (e.g., grouping all "invasive ductal carcinoma" breast cases together).
  4. Controlled Training Regimes: They compared three training strategies:
  5. S1 (Real-world): Training on the observed distribution.
  6. S2 (Balanced): Balancing demographic classes to remove frequency biases.
  7. S3 (Diagnosis-constrained): Training on groups of patients with the same diagnosis to force the model to find demographic signals that aren't just proxies for disease.
Experimental framework and pan-organ demographic signal across organs.

Datasets

The study utilized an enormous, diverse dataset from the Mount Sinai Health System (MSHS) in New York City:

  • 1.3 million hematoxylin and eosin (H&E) whole-slide images.
  • 257,322 unique patients.
  • 25 organ groups (ranging from brain and breast to gastric and skin).
  • Demographic labels: Sex (Male/Female), Age (6 groups from 20 to 75+), and Self-reported Race (White, Black, Hispanic, Asian, Other).
Scale and diversity of the MSHS routine histopathology cohort.

Key Insights and Ideas

  • Demographics are Systemic: The ability to recover demographic info isn't limited to a few organs; it is a broad, pan-organ phenomenon. Sex was the most detectable attribute, followed by age, then race.
  • It’s Not Just Confounding: Even when the model is forced to compare patients with the exact same diagnosis (e.g., two patients with the same type of stomach cancer), it can still distinguish their sex and age with high accuracy. This suggests the signal is at least partially rooted in the tissue morphology itself.
  • U-Shaped Age Predictability: Models were significantly better at identifying the youngest (20–34) and oldest (75+) age groups, suggesting that "morphologic aging" may be most distinct at the extremes of the adult lifespan.
  • Organ-Specific Variation: Some organs are much "louder" than others. For example, gastric tissue showed an incredibly high AUROC of 0.970 for sex prediction, while the pancreas was among the most difficult for all targets.

Key Results

  • Pan-organ Performance (S1): The mean AUROCs across all 25 organs were 0.828 for sex, 0.733 for age group, and 0.662 for self-reported race.
  • Persistence under Controls: In the most rigorous training regime (S3, diagnosis-constrained), substantial signals remained:
  • Sex in Gastric tissue: AUROC 0.865.
  • Age in Breast tissue: AUROC 0.816.
  • Race in Skin tissue: AUROC 0.728.
  • Breast Case Study: Using diagnosis clustering, the authors showed that while certain ages are enriched in specific diagnoses (like younger patients in fibroadenoma clusters), the age signal remains detectable even within those specific clusters.
Breast as a worked example of diagnosis-context stratification.

Limitations and Future Work

  • Single Health System: The data comes entirely from Mount Sinai. While large and diverse, the results need validation in independent cohorts to ensure they aren't reflecting site-specific imaging or processing artifacts.
  • Race vs. Ancestry: The study uses self-reported race, which is a social construct. Future work incorporating genetic ancestry could help disentangle biological variation from social and environmental factors.
  • Feature Localization: The current study identifies that the signal exists but doesn't perfectly localize what the model is looking at (e.g., specific cell shapes or stromal patterns). The authors suggest further "tile-level" and "cell-level" analyses are needed.
  • Shortcut Learning Impact: While this study proves demographic info is available to models, it doesn't prove that all clinical models use it as a shortcut. Testing that specific link is a vital next step for the field.

Summary updated

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.
BibTeX
@misc{chen2026health,
  author = {Shengjia Chen and Ruchika Verma and Kevin Clare and Paula Restrepo and Jannes Jegminat and Eugenia Alleva and Kuan-lin Huang and Aryeh Stock and Brandon Veremis and Thomas Fuchs and Gabriele Campanella},
  title = {{Health-System-Wide Mapping of Demographic Information in Routine Clinical Histopathology}},
  year = {2026},
  eprint = {2611.09851},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.09851},
}
Figure