A clinical benchmark of public self-supervised pathology foundation models

Gabriele Campanella, Shengjia Chen, Manbir Singh, Ruchika Verma, Silke Muehlstedt, Jennifer Zeng, Aryeh Stock, Matt Croken, Brandon Veremis, Abdülkadir Elmas, Ivan Shujski, Noora Neittaanmäki, Kuan‐lin Huang, Ricky Kwan, Jane Houldsworth, Adam J. Schoenfeld, Chad Vanderbilt

Abstract

The use of self-supervised learning to train pathology foundation models has increased substantially in the past few years. Notably, several models trained on large quantities of clinical data have been made publicly available in recent months. This will significantly enhance scientific research in computational pathology and help bridge the gap between research and clinical deployment. With the increase in availability of public foundation models of different sizes, trained using different algorithms on different datasets, it becomes important to establish a benchmark to compare the performance of such models on a variety of clinically relevant tasks spanning multiple organs and diseases. In this work, we present a collection of pathology datasets comprising clinical slides associated with clinically relevant endpoints including cancer diagnoses and a variety of biomarkers generated during standard hospital operation from three medical centers. We leverage these datasets to systematically assess the performance of public pathology foundation models and provide insights into best practices for training foundation models and selecting appropriate pretrained models. To enable the community to evaluate their models on our clinical datasets, we make available an automated benchmarking pipeline for external use.

Introduction: Beyond the TCGA Gold Rush

The field of computational pathology is undergoing a paradigm shift. Traditional supervised learning, which requires exhaustive manual labeling by experts, is being superseded by Self-Supervised Learning (SSL). This approach allows "foundation models" (FMs) to learn rich visual representations from millions of unlabeled tissue tiles. While models like UNI, Virchow, and Prov-GigaPath have shown promise, they are frequently evaluated on curated, public datasets like The Cancer Genome Atlas (TCGA). These datasets often fail to capture the "noise" of routine clinical practice—variations in staining, scanning artifacts, and diverse patient demographics. This study addresses this gap by establishing a rigorous clinical benchmark across 22 real-world tasks.

Methodology: The Frozen Encoder Approach

To evaluate the intrinsic quality of the features learned by these FMs, the researchers employed a "frozen encoder" strategy. Each foundation model acts as a feature extractor, converting high-resolution tissue tiles into compact embeddings. These embeddings are then aggregated using a Gated Attention Multiple Instance Learning (GMA) model with a simple linear classifier. By keeping the encoder weights frozen, the benchmark measures the "expressiveness" of the pretrained features without the confounding effects of task-specific fine-tuning. Evaluation was conducted using 20-fold Monte Carlo Cross-Validation to ensure statistical robustness across data from Mount Sinai (MSHS), Sahlgrenska University Hospital (SUH), and Memorial Sloan Kettering (MSKCC).

Benchmarking Results

Disease Detection: A High Baseline

For standard disease detection tasks—identifying malignancy in organs like the breast, prostate, or colon—most pathology-specific FMs performed exceptionally well. As shown in Figure 1, top-tier models consistently achieved Validation AUCs above 0.9. This suggests that for binary cancer vs. non-cancer classification, current foundation models are highly reliable and may be approaching a performance plateau.

Validation AUC across 9 clinical disease detection tasks, showing high performance for most pathology-specific models.

Biomarker Prediction: The "Final Boss"

In contrast to detection, predicting molecular biomarkers (e.g., genetic mutations like EGFR or KRAS) directly from H&E slides remains a significant challenge. These tasks often involve subtle morphological cues that are difficult for even expert pathologists to discern. Figure 3 illustrates the high variability and generally lower performance across these tasks. While models like H-optimus-0 and Prov-GigaPath showed strength here, the "low-signal" nature of tasks like predicting response to Immune Checkpoint Inhibitors (ICI) resulted in AUCs only slightly better than random chance (~0.6).

Validation AUC across 13 biomarker prediction tasks, highlighting the increased difficulty and variability compared to detection.

Key Insights: Efficiency and Composition

The benchmark revealed several counter-intuitive findings regarding model scaling:

  • Bigger isn't always better: There was no strong correlation between the number of parameters or the total volume of training data and downstream performance. Instead, the diversity of tissue types in the pretraining set appeared more influential.
  • Efficiency Disparities: Computational costs varied wildly. Some models, such as SP85M, were found to be up to 14 times faster than larger counterparts while maintaining competitive accuracy on detection tasks.
  • The UNI Sweet Spot: The UNI model emerged as a highly efficient choice, offering a strong balance between high performance in difficult biomarker tasks and manageable memory requirements.

Conclusion and Future Directions

This work provides a much-needed reality check for pathology foundation models. While they excel at routine detection, biomarker prediction remains a frontier. The authors have released their automated benchmarking pipeline on GitHub to foster a "live" benchmark that can evolve with the field. Future research will likely focus on integrating multi-scale analysis (e.g., 40x magnification) and incorporating Immunohistochemistry (IHC) data into the pretraining process to capture even more nuanced biological signals.

Summary updated

BibTeX
@inproceedings{campanella2025clinical,
  author = {Gabriele Campanella and Shengjia Chen and Manbir Singh and Ruchika Verma and Silke Muehlstedt and Jennifer Zeng and Aryeh Stock and Matt Croken and Brandon Veremis and Abdülkadir Elmas and Ivan Shujski and Noora Neittaanmäki and Kuan‐lin Huang and Ricky Kwan and Jane Houldsworth and Adam J. Schoenfeld and Chad Vanderbilt},
  title = {{A clinical benchmark of public self-supervised pathology foundation models}},
  booktitle = {Nature Communications},
  year = {2025},
  doi = {10.1038/s41467-025-58796-1},
}
Figure