Benchmarking foundation models as feature extractors for weakly-supervised computational pathology

Peter Neidlinger, Omar S. M. El Nahhas, Hannah Sophie Muti, Tim Lenz, Michael Hoffmeister, Hermann Brenner, Marko van Treeck, Rupert Langer, Bastian Dislich, Hans Michael Behrens, Christoph Röcken, Sebastian Foersch, Daniel Truhn, Antonio Marra, Oliver Lester Saldanha, Jakob Nikolas Kather

TL;DR

This paper presents a massive independent benchmark of 19 histopathology foundation models across 31 clinical tasks and 13 patient cohorts. The results reveal that vision-language models like CONCH and highly diverse vision-only models like Virchow2 lead the pack, and that ensembling these models can significantly push the state-of-the-art in weakly-supervised cancer diagnostics.

What Problem Does This Paper Address?

In the world of computational pathology, "Foundation Models" (FMs)—large-scale neural networks pretrained on millions of tissue images—have become the standard starting point for building diagnostic tools. However, the field currently resembles the Wild West: every new model claims "state-of-the-art" performance, often using internal benchmarks or datasets that overlap with their training data (data leakage).

There is a critical lack of independent, head-to-head comparisons on truly external cohorts and clinically relevant tasks. We don't yet know which architectures (vision-only vs. vision-language) are superior, how much data volume actually matters compared to data diversity, or if these models are robust enough for real-world clinical applications like mutation prediction and survival analysis.

Methods

The researchers employed a standardized "weakly-supervised" pipeline called STAMP.

  1. Tessellation: High-resolution Whole Slide Images (WSIs) are broken down into small, non-overlapping patches (tiles).
  2. Feature Extraction: Each of the 19 foundation models acts as a "feature extractor," turning these visual tiles into numerical vectors (embeddings).
  3. Aggregation: These tile-level features are fed into a slide-level aggregator—primarily a Transformer-based model (STAMP) or the widely used Attention-Based Multiple Instance Learning (ABMIL)—to make a final patient-level prediction.

The study also explored ensembling techniques, such as averaging prediction scores from different models or concatenating their feature vectors to see if "two heads are better than one."

Datasets

The scale of this study is impressive, involving 6,818 patients and 9,528 slides across four major cancer types (lung, colorectal, gastric, and breast).

  • Training: The models were trained on the public TCGA (The Cancer Genome Atlas) datasets.
  • External Validation: To ensure real-world utility, the models were tested on entirely independent cohorts, including CPTAC, DACHS (a large German colorectal cohort), and proprietary datasets from Bern, Kiel, and Milan (IEO).
  • Tasks: 31 tasks were evaluated, categorized into Morphology (e.g., subtyping), Biomarkers (e.g., MSI status, BRAF mutations), and Prognosis (e.g., lymph node metastasis).

Key Insights and Ideas

  • Multimodal Training is a Superpower: CONCH, a vision-language model, emerged as the top performer. Even though it saw fewer images than some vision-only giants, the inclusion of text (captions) during pretraining seems to help the model learn more semantically meaningful features.
  • Diversity Over Volume: The success of Virchow2 (which saw 3.1 million slides) suggests that the variety of tissue types (over 200 categories) is more important than just the raw number of slides. Models trained on narrower datasets, even large ones, struggled to generalize as well.
  • Models Have Different "Personalities": Using attention heatmaps, the authors found that different models focus on different tissue regions. Some models were easily distracted by artifacts like pen marks on slides, while others were laser-focused on tumor cells.
  • Ensembling is a Free Lunch: Combining CONCH and Virchow2 outperformed individual models in 55% of tasks. Because these models learn complementary features, their errors don't overlap, making the ensemble more robust.
  • The "Slide Encoder" Paradox: Interestingly, specialized slide-level encoders (like those in Prov-GigaPath) didn't provide a significant advantage over simple tile-level extraction in this specific weakly-supervised setup.

Key Results

  • Top Performers: CONCH achieved the highest overall mean AUROC (0.71), followed closely by Virchow2 (0.71) and Prov-GigaPath (0.69).
  • Task Performance:
    • Morphology: CONCH led with a mean AUROC of 0.77.
  • Biomarkers: Virchow2 and CONCH tied at 0.73.
  • Prognosis: CONCH led at 0.63 (prognosis remains the "final boss" of pathology AI, with lower scores across the board).
  • Ensemble Boost: Concatenating CONCH and Virchow2 features resulted in the highest overall AUROC of 71.9, outperforming the best individual model (71.1).

Limitations and Future Work

While comprehensive, the study only covered four cancer types. The authors acknowledge that expanding to more diverse cancers is necessary. They also noted that they were limited by licensing; some prominent models like PLUTO were not accessible for this research.

A significant hurdle remains: low-prevalence biomarkers. Even the best foundation models struggle when the "positive" cases are rare (e.g., <15% of the cohort). Future work will likely focus on more sophisticated ensembling methods beyond simple concatenation and exploring how to fine-tune general-purpose models (like GPT-4o) for the specific nuances of pathology.

Summary updated

BibTeX
@inproceedings{neidlinger2025benchmarking,
  author = {Peter Neidlinger and Omar S. M. El Nahhas and Hannah Sophie Muti and Tim Lenz and Michael Hoffmeister and Hermann Brenner and Marko van Treeck and Rupert Langer and Bastian Dislich and Hans Michael Behrens and Christoph Röcken and Sebastian Foersch and Daniel Truhn and Antonio Marra and Oliver Lester Saldanha and Jakob Nikolas Kather},
  title = {{Benchmarking foundation models as feature extractors for weakly-supervised computational pathology}},
  booktitle = {Nature Biomedical Engineering},
  year = {2025},
  doi = {10.1038/s41551-025-01516-3},
}
Figure