About & methods
What this is
PathBench reports how published foundation models perform as frozen feature extractors for computational pathology. Four kinds of model are compared under one protocol: pathology-specific vision models (Path-VM), pathology-specific vision–language models (Path-VLM), general vision models (VM) and general vision–language models (VLM). Every model is evaluated on every task, so each task score compares like with like. Numbers here are the ones reported in the accompanying manuscript.
Models
Path-VM = pathology vision model · Path-VLM = pathology vision–language model · VM = general vision model · VLM = general vision–language model. Parameters in millions; pretraining data in millions of patches and slides where reported (— where not).
Cohorts
TCGA, CPTAC and out-of-domain tasks are slide-level; external benchmarks are patch-level public datasets, each counted as its own cohort. The Stanford out-of-domain cohorts are institutional and contributed evaluation results only — no images or patient-level data are distributed by this site or its repository.
Tasks
The Tasks tab lists all 41 tasks by tissue, with each task's cohort, cancer type, category and class definition.
Metrics
Evaluation protocol
Each model's encoder is frozen and used as a feature extractor, and a linear classifier is trained on its features. For slide-level tasks (TCGA, CPTAC and out-of-domain), tile features are averaged within a slide before the linear layer, and data are split 70/30 at the patient level into training and held-out test sets. External benchmarks are patch-level. Every metric is the mean over 1,000 bootstrap replicates of the test set, with a 95% confidence interval.
How the numbers are pooled
Each raw cell is one model × task × metric. The default per-task aggregation averages tasks with equal weight. Per cohort averages tasks within a cohort first, then averages cohorts — so TCGA's nineteen tasks count once, the same as a single external benchmark.
Confidence intervals on an aggregate are the spread across the averaged units (mean ± 1.96·SE) when at least two units contribute. This interval reflects how much performance varies between tasks; it is close to, but not the same as, the manuscript's bootstrap interval for a mean. When a filter narrows the view to a single task, the interval falls back to that task's own bootstrap CI.
Caveats
- Pretraining overlap. Several pathology models were pretrained on TCGA slides, so TCGA scores may overstate how well they transfer; the CPTAC, out-of-domain and external sets are the check on that. Use the Benchmark set filter to separate them.
- AUROC axis floor. Charts start the AUROC axis at 0.5 (chance); a below-chance result therefore sits on the floor rather than extending below it.
- Unequal task sizes. Tasks differ in cohort size and number of classes, and an equal-weight average does not account for this.
- Labels are the reference, not truth. Task labels come from each cohort's clinical, molecular or annotation data and differ in definition and rigour.
Reproducibility
The site is a pure derivative of a single results table produced by the analysis pipeline; the browser only does the pooling described above. The build stamps the source signature below into the data files, so any figure here can be traced to an exact upstream state.
How to cite
Please cite the article in Nature Communications.