TL;DR
While pathology foundation models (PFMs) excel at clinical prediction tasks, we rarely evaluate whether their underlying embeddings truly understand tissue architecture. To fix this, the authors introduce SpaPath-Bench, a new representation-level benchmark that uses paired whole-slide images and spatial transcriptomics to evaluate how well 19 different PFMs capture spatial relationships and tissue regions. The benchmark reveals that different pretraining paradigms (pure vision vs. vision-language) capture fundamentally distinct aspects of tissue biology.
What Problem Does This Paper Address?
Pathology foundation models (PFMs) like UNI, Virchow, and GigaPath have revolutionized computational pathology by learning powerful representations from millions of histology images. Typically, these models are evaluated on downstream clinical endpoints such as tumor subtyping, mutation prediction, or survival modeling.
However, these task-level evaluations act as a black box. They don't tell us if the model's embeddings inherently understand the spatial architecture of a tissue section—such as distinguishing epithelial from stromal regions or respecting spatial continuity. To bridge this gap, the authors propose evaluating PFMs at the representation level using Spatial Domain Identification (SDI), a task borrowed from spatial transcriptomics that partitions tissue sections into biologically meaningful, contiguous regions.
Methods
The authors developed SpaPath-Bench, a standardized diagnostic pipeline that repurposes spatial transcriptomics (ST) data to test pathology models.
The pipeline consists of five main steps:
- Spot-aligned WSI sampling: Extracting histology image patches centered at the exact physical coordinates where spatial transcriptomics were measured.
- Foundation model embedding: Passing these patches through a frozen PFM to generate a feature matrix, treating the embedding dimensions as "pseudo-expression" variables (analogous to genes).
- Spatial representation module: Processing these features either through a baseline (PCA) or one of seven graph-based SDI algorithms (e.g., SpaGCN, CCST, SEDR) that explicitly model tissue topology.
- Controlled partition readout: Clustering the spatial representations using standard algorithms (K-means, Louvain, Leiden).
- Metric computation: Evaluating the resulting tissue partitions across three axes:
- Reference-free metrics: Measuring spatial smoothness and cluster separation (CHAOS, PAS, ASW).
- Transcriptomics-referenced agreement: Comparing the image-derived clusters against clusters derived from actual highly variable genes (HVGs).
- Expert-referenced agreement: Comparing clusters against manual anatomical annotations.
Datasets
SpaPath-Bench curates 42 public paired WSI and spatial transcriptomics slides, split into two cohorts:
- Expert-annotated cohort: 12 human dorsolateral prefrontal cortex (DLPFC) slides. These contain spot-level expert annotations mapping out 7 distinct anatomical layers, serving as a ground truth for human-interpretable boundaries.
- Unlabeled HE–ST cohort: 30 slides spanning multiple human and mouse tissues without expert annotations, used to evaluate morphology-molecule consistency via a proxy gene-expression reference.
The benchmark evaluates a massive suite of 19 foundation models spanning pure vision models, vision-language models, and vision-omics models.
Key Insights and Ideas
- Pretraining Paradigms Dictate Spatial Strengths: Pure vision models (e.g., H-Optimus-1) excel at capturing fine-grained molecular heterogeneity, aligning closely with transcriptomic data. Conversely, vision-language models (e.g., MUSK) align better with human-defined macro-architectural semantics (expert labels).
- The Power of Context: Graph-based SDI methods—particularly CCST, which integrates whole-slide spatial contrastive learning—consistently outperform non-spatial baselines like PCA. This proves that integrating regional context is essential for holistic tissue comprehension.
- The Patch-Level Alignment Bottleneck: Strict patch-level text-image alignment in vision-language models might actually limit the macroscopic spatial coherence needed for tissue-level clustering, explaining why they don't universally outperform pure vision models on molecular alignment.
Key Results
Across more than 83,000 evaluation runs, SpaPath-Bench established clear model rankings:
- Top Performers: When evaluated against the molecular (transcriptomic) proxy, H-Optimus-1 achieved the highest overall rank. When evaluated against expert manual annotations on the DLPFC dataset, MUSK recorded the highest performance.
- Optimal Configuration: Combining the CCST spatial representation method with Leiden clustering yielded the best aggregate performance across the board.
- Qualitative Differences: In tissues with pronounced structural heterogeneity (like ovarian carcinoma), PFM-based domains successfully mapped out distinct microenvironments that aligned beautifully with visually apparent macro-scale boundaries.
Limitations and Future Work
The authors note that in tissues like the cerebral cortex (DLPFC), where morphological transitions between layers are incredibly subtle and gradual, histology-driven partitions only partially agree with expert annotations. This is because expert labels rely heavily on high-level neuroanatomical context that cannot be deduced from local H&E appearance alone.
The authors suggest that future research should focus on developing next-generation, context-aware pathology foundation models that natively integrate morphology with spatial omics during pretraining, rather than relying purely on isolated patch-level visual features.
Summary updated