Do Pathology Foundation Models Encode Disease Progression? A Pseudotime Analysis of Visual Representations
Pritika Vig, Ren-Chin Wu, William Lotter
TL;DR
This study investigates whether vision pathology foundation models encode continuous disease progression in their embeddings, rather than only discrete class labels. By applying diffusion pseudotime to patch representations from six models across four cancer progression cohorts, the authors show that trajectory-like structure emerges as a low-dimensional manifold, with trajectory fidelity measured by Kendall's $\tau$ correlating with few-shot generalization (mean $\rho$ ≈ 0.92 across held-out tasks). Vision-only pathology models consistently achieve the highest trajectory fidelity, while a natural image baseline performs weaker or variably, indicating domain-specific pretraining is key. The results further reveal biologically plausible shifts in cell-type composition along pseudotime in colorectal progression, illustrating that learned representations capture continuity beyond standard classification, and offering a general framework for analyzing continuous processes in static image data.
Abstract
Vision foundation models trained on discretely sampled images achieve strong performance on classification benchmarks, yet whether their representations encode the continuous processes underlying their training data remains unclear. This question is especially pertinent in computational pathology, where we posit that models whose latent representations implicitly capture continuous disease progression may better reflect underlying biology, support more robust generalization, and enable quantitative analyses of features associated with disease transitions. Using diffusion pseudotime, a method developed to infer developmental trajectories from single-cell transcriptomics, we probe whether foundation models organize disease states along coherent progression directions in representation space. Across four cancer progressions and six models, we find that all pathology-specific models recover trajectory orderings significantly exceeding null baselines, with vision-only models achieving the highest fidelities $(τ> 0.78$ on CRC-Serrated). Model rankings by trajectory fidelity on reference diseases strongly predict few-shot classification performance on held-out diseases ($ρ= 0.92$), and exploratory analysis shows cell-type composition varies smoothly along inferred trajectories in patterns consistent with known stromal remodeling. Together, these results demonstrate that vision foundation models can implicitly learn to represent continuous processes from independent static observations, and that trajectory fidelity provides a complementary measure of representation quality beyond downstream performance. While demonstrated in pathology, this framework could be applied to other domains where continuous processes are observed through static snapshots.
