A gene informed benchmark for BioScoring of pathology foundation models
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
A Gene Informed Benchmark for BioScoring of Pathology Foundation Models Paul Vilars1,2,3 Dimitris Samaras5 1
Vincent Quoc-Huy Trinh4 Stergios Christodoulidis1
Maria Vakalopoulou1 Mahdi S. Hosseini2,3
2 3 CentraleSupélec Concordia University Mila–Quebec AI Institute 4 5 Université de Montréal Stony Brook University
arXiv:2611.34930v1 [cs.LG] 25 Nov 2026
mahdi.hosseini@concordia.ca
Abstract Pathology foundation models are usually compared by their performance on downstream tasks such as classification and retrieval. While such benchmarks measure how useful a model is, they provide no insight into the biology it represents. We introduce BioScore, a benchmark that quantifies how well an image encoder captures cell identities, with spatial transcriptomics of the same tissue as the reference. A sparse autoencoder splits the encoder’s patch embeddings into sparse features, which we cluster into a fixed number of groups. BioScore then measures, for each of 52 cell identities defined by marker genes, how specifically one group follows the identity’s expression over the tissue. Because the autoencoder training is fully unsupervised, a match shows that the model represents the cell identity from the image alone. We score 8 pathology foundation models and 3 natural-image models. Every pathology model scores above every naturalimage model (0.299–0.371 vs. 0.214–0.232), and paired tests separate three tiers among the pathology models. Unlike a supervised probe, BioScore needs no labels, builds its reference from the data and scores even from few sections, yet it ranks the encoders as a probe does. Its per-identity breakdown indicates which cell identities each encoder captures or misses.
1. Introduction Pathology foundation models [6, 38, 41] are trained in a self-supervised manner on millions of H&E patches, then compared on downstream tasks such as patch and slide classification, retrieval and, more recently, prediction of gene expression [5, 22, 29, 30]. Each of these benchmarks trains a probe on the embeddings, reports a performance metric and allow high level understanding. However, it does not elaborate on what the model relies on within the tissue. An accuracy on tumor subtyping, for instance, may come from tumor cells, stroma or immune infiltration.
Figure 1. BioScore overview and encoder ranking. Left: SAE activation map is compared to cell-identity. Right: win rate (%) of row over column across the 52 identities; bold: Holm-corrected Wilcoxon p < 0.05; and compact letter ranking.
Two kinds of tools come closer to asking whether a model has distinct units for biological concepts, but fall short of an explicit comparison between encoders: first, gene-expression regression [22] fits a model on H&E embeddings and measures whether expression can be decoded, not whether the encoder has a unit that tracks a kind of cell; a regression can recover a cell’s markers from a mixture of many directions (i.e. embedding dimensions). Second, sparse autoencoders (SAEs) split an embedding into sparse, interpretable features [3, 13], and have recently been used to find concepts in pathology models [25, 26]. PICASSO trains an SAE on Virchow2 [43] and has pathologists interpret selected concepts to audit and steer the model. Such expert review is not easily scalable, nor provide encoder ranking. Paired histology and in-situ transcriptomics could replace the expert in this loop. Xenium records the position of every transcript on the same section that was stained [21], so the expression of known marker genes can be read in every image patch [15]. We call a cell identity the cell type defined by a set of marker genes (e.g., plasma cells, by MZB1, JCHAIN and SDC1), and map the expression of these markers over the tissue. Our premise is that an encoder has a representation for a cell identity if one of its
SAE features is active where the identity is, and only there. We build BioScore on this premise (Fig. 2). We train one SAE per encoder, group its features, and, for each of 52 cell identities curated from CellMarker [20] markers, keep the group whose activation best follows the identity’s map and not those of other identities (Sec. 3). The mean over identities ranks the encoders, and the per-identity values show which cell identities each encoder represents and which it misses. Because the SAE is trained without labels, a match shows that the encoder represents the identity from the image alone. Code and panel will be released upon publication. We ensure that BioScore is a strong metric (Sec. 4): the ranking is stable over SAE seeds and recipes, and a supervised probe reflects a similar encoder ranking. On 11 encoders (Sec. 5), BioScore clearly separates general vision from pathology models, resolves tiers among pathology models (Fig. 1) and locates the differences between them on specific cell identities. We make three contributions: • BioScore, a label-free benchmark of the cell identities an image encoder represents, with a panel of 52 cell identities built from CellMarker signatures and checked against Xenium transcriptomics (Sec. 3); • Evidence that BioScore measures specific biological signal: the importance of the impurity term, the stability over SAE seeds and recipes, and the agreement with a supervised probe (Sec. 4). • A ranking of 11 encoders by the cell identities they represent: every pathology model scores above every naturalimage model, and a leading group of six pathology models stands above Phikon-v2 and CHIEF; the per-identity scores further show which identities each encoder represents and which it misses (Sec. 5).
2. Related work Evaluating pathology foundation models. Pathology foundation models (e.g., UNI [6], Virchow [38, 43]) are compared on slide-level clinical tasks [5, 27, 30] and tile-level tasks [29] by training a probe or a multiple-instance aggregator on the frozen embedding. CellPath-Bench [42] moves this evaluation to cells, with linear probes that decode cell identities from embeddings sampled at the nuclei of 25 H&E– Xenium sections. These benchmarks measure what can be decoded from an embedding; BioScore uses no probe and no label, and asks whether the encoder has a sparse unit that follows a cell identity. Histology and spatial transcriptomics. ST-Net [19] and HEST-1k [22] predict spatial gene expression from H&E, the latter from the frozen patch embeddings of foundation models, while OmiCLIP [7] and HESCAPE [14] align histology and expression by contrastive training. Xenium-based datasets such as STHELAR [15, 21] give paired H&E and
transcriptomics at subcellular resolution. These works predict transcriptomics or train with it; we use it only to evaluate a frozen encoder. Sparse autoencoders. SAEs decompose the activations of a network into many sparse features that are often easier to interpret than the original dimensions [3, 8], with sparsity enforced by an ℓ1 penalty [3], a top-k per sample [13] or per batch [4], or a learned threshold [33]. In vision, they have been used to align concepts between models [36] and to obtain more stable dictionaries [11]. We borrow from SAE-TM [16] the grouping of features through their decoder atoms. Unlike SAEBench [24], which evaluates SAEs themselves, we use the SAE as a fixed instrument: every encoder goes through the same recipe. Interpreting pathology foundation models. Network Dissection [2] scores the units of a network against segmentation masks of labeled concepts. In pathology, SAE features have been linked to cell counts, absent from a natural-image model [26], and interpreted by pathologists to audit and steer Virchow2 [25]. These works study one model at a time and take the meaning of a unit from human review or cell annotations. BioScore instead scores units against cell identities measured by gene expression on the same tissue, penalizes units that are not specific, and ranks encoders.
3. BioScore For an image encoder f and each of 52 cell identities, BioScore tests whether f has a group of sparse features whose activation over the tissue follows the expression of that identity’s marker genes, and not the markers of other identities. Fig. 2 details how this scoring is performed. An SAE is first trained on the encoder’s patch embeddings (Sec. 3.2). On paired transcriptomics sections (Sec. 3.1), its features are grouped into K feature groups, and each group activation map is compared with the maps of a panel of cell identities built from curated gene signatures (Secs. 3.3 and 3.4). Gene expression enters only at this comparison: neither the encoder nor the SAE is trained with transcripts.
3.1. Data Scoring set. We compute BioScore on the STHELAR dataset [15]: FFPE sections, H&E whole-slide image matched to 10x Xenium in situ transcriptomics [21]. Xenium records the position of every detected transcript, so the expression of an image patch is the transcripts present inside it, counted per gene. We use 27 sections from 13 organs, cancerous and healthy; the gene panel differs between sections, from about 280 to 5,000 genes. We leave out heart, bone-marrow and bone sections (4), for which there were no external slides for the pretraining set. We tile the H&E images into 224 × 224 px patches using AtlasPatch [1] automatically performing tissue detection, at 20× (0.54 µm/px,
Figure 2. Overview of BioScore. (A) An SAE is trained on the frozen patch embeddings of the encoder under test. (B) On the scoring H&E sections, its features are clustered into K feature groups (blue); a curated panel of 52 cell identities is built from CellMarker (yellow); and each identity is credited with the group of best quality Q. Example: the Virchow2 group matched to ovarian carcinoma cells (ρ = 0.81)
patch covers 120 µm); the magnification most of the encoders were pretrained at. A small portion of patches contained no transcripts (scanning artifacts), and could not be used for scoring Sec. A. In total, we use 112,056 patches (Tab. 4). Pretraining. We train the SAE on a tissue-balanced set of 99 whole slides including 27 scoring sections and 72 FFPE diagnostic slides from TCGA [37] and CGCI-BLGSP [17] for the same 13 organs, one slide per patient. For each organ, we add external slides reaching 100k patches at 20×, and keep every patch of each slide, 1.29M total patches (Tab. 4). This pre-training dataset lets the SAE decompose the scoring sections, while enlarging its training to ensure a proper coverage of the original embedding space.
3.2. From embeddings to feature groups Sparse autoencoder. An embedding dimension of a foundation model has been shown to be very polysemantic [3], so asking whether the model has a unit for a cell identity needs a basis in which units are sparse and monosemantic. We train an SAE on the patch embeddings xp = f (Ip ) ∈ Rd of the pretraining set, with 8× expansion factor and the batch-level top-k activation of Bussmann et al. [4], which keeps the kB largest pre-activations of a batch of B patches (k = 64 per
patch on average). zp = BatchTopK Wenc (xp − bdec ) + benc , x̂p = Wdec zp + bdec ,
(1)
The loss is the reconstruction error plus the auxiliary loss of Gao et al. [13], which also reconstructs the residual from features that have not fired for 10M samples. We use an open-source library [28] without changes, with the same recipe for every encoder (Sec. 4.1). Feature groups. BioScore keeps the best match among the candidate units of an encoder (Eq. (6)), so an encoder with more features has mechanically more chances to match. With an 8× expansion, n ranges from 6,144 (CLIP) to 20,480 (Virchow, Virchow2). We therefore choose to group the features of every encoder into the same number K of feature groups. Following SAE-TM [16], which reads SAE features as topics and groups them through their decoder atoms, we cluster the ℓ2 -normalized decoder columns of the features that fire on the scoring set using spherical k-means [9], weighting each feature by its mean activation share over the scoring patches (3 initializations). We define the activation of group g in patch p to be its share of the patch’s total activation, P f ∈g zf (p) ag (p) = P . (2) f zf (p)
Table 1. Symbols used (Sec. 3.3). Symbol Meaning σj (p) Gj Rj cpi Tp Nr Tp′ mi s σs (p)
score of signature j in patch p genes of signature j sections whose panel measures all of Gj number of transcripts Pof gene i in patch p (Sec. A) depth of a patch p: i cpi number of genes in the panel of section r rescaled depth, comparable across panels base frequency of gene i: mean of cqi /Tq′ over the patches of all sections in Rj cell identity, a set of signatures map of identity s in patch p (Eq. (4))
where zf (p) is the activation of SAE feature f on patch p (Eq. (1)). We use K = 3000 for every encoder. Experiments show that grouping equalizes the number of candidates without removing signal (Sec. 4.4).
3.3. Cell-identity panel Known signatures. We score against marker lists from literature with specific meaning (e.g. evidence of B-cell markers) and independent of both the images and the SAE. We start from 1.78M CellMarker 3.0 [20] human biomarkers, each linking one gene to one cell identity in one paper. We keep only entries from single-cell sequencing, experiments and reviews, based on independent studies, and normalize gene names to HGNC symbols (137k entries). Entries are further restricted to the 13 organs of the scoring set or general scope (e.g., blood, vasculature), leaving 99.7k entries, which we group by cell identity and scope using Cell Ontology [10]. A consensus check keeps biomarkers reported by at least 2 papers, and signatures with fewer than 3 such genes are dropped (643 left). Panel compatibility. A signature can only be scored on sections whose panel measures its genes, and a significant portion of signatures contain markers that Xenium panels lack. For each signature we keep the largest set of its genes, ranked by the number of supporting papers and at least 3 long, that is fully measured on at least one section (the whole signature when possible). This leaves 404 signatures. A signature j is scored on the sections Rj that measure all its genes Gj . Presence. A curated marker list is only useful here if the cell identity is present in the data and its markers are captured well enough to show it. We keep the signatures whose 1% highest-scoring patches on their best section reach a mean score (Sec. 3.3) of at least 2 (a four-fold excess of their markers), which leaves 283 signatures. Curation based on localization. CellMarker often describes one cell identity several times, in different tissues or studies,
and on this data such versions give the same map. We cluster the signatures by the correlation of their maps on the sections they share (average linkage) and from a set whose mean correlation is at least 0.6, we retrieve the main identity that most of its signatures describe. This step is data-dependent: on our sections, for instance, a mesothelial signature (WT1, UPK3B, MSLN) follows the ovarian carcinoma and falls into the same set, but it is dropped in favor of the ovarian carcinoma signatures. This process led to the creation of a final panel of 52 cell identities from 104 signatures: immune 31, cancer 9, stromal 4, parenchyma 3, endothelial 2, epithelial 2 and other 1 (Tab. 5). Immune related genes are most often included in Xenium panels, and therefore make up a large part of our cell panel. Inversely, some identities have their main markers absent from every panel (e.g., fibroblasts and hepatocytes, which rely on COL1A2 and ALB) and could not be scored on this cohort. Signature score. The score of signature j in patch p of section r compares the count of each of its genes with an expected count. We take the over-expected count ratio for each of its genes, and apply log geometric mean to compute a signature score (Eq. (3)). σj (p) = max 0,
cpi + 12 1 X , log2 |Gj | mi Tp′ + 21 i∈Gj
(3)
|Gj | Tp′ = Tp , Nr Tab. 1 lists symbols used in this section. The score handles multiple properties of Xenium data. Panels range from about 280 to 5,000 genes, so the rescaled depth Tp′ accounts for the actual signature fraction of a panel. Markers differ in expression level, so each gene is compared with its own base frequency. Additionally, if a gene makes up a fixed share of the transcripts, a patch twice as deep should hold twice as many copies. We account for this, and the expected count is the base frequency mi of gene i, times the depth of the patch Tp′ . The use of the geometric mean ensures activation only when all markers are up together, and the pseudo-count 12 is the standard correction for log-ratios of counts. Finally, the cut-off at 0 shapes the score like a SAE activation, non-negative with 0 for absent. Identity map. The map of an identity s on a section is the per-patch maximum of its measured signatures scores. σs (p) =
max
j∈s, r∈Rj
σj (p),
(4)
and the identity is scored on all the sections of its signatures (from 1 to 26, median 7; Tab. 5). To ensure the quality of our panel, a board-certified pathologist reviewed the cell identity activation maps against the H&E sections to check that their localization is coherent with the identity they describe.
3.4. Matching Score Correlation. The correlation ρ(g, s) is the Pearson correlation between ag and σs , pooled over the sections of s where at least one of the two is not null. It rewards groups whose activation follows patches where the identity is clearly present, in all sections, penalizing groups that follow a general identity (e.g., T cells) in some tissues but not others. Impurity. A high ρ(g, s) does not yet make g a unit for s: the group may follow other cell identities that share some localization with s (e.g., all immune cells, or a whole tumor region). If g were s plus independent noise, its correlation with another identity s′ would equal ρ(s, s′ ) ρ(g, s), the value at which g and s′ have zero partial correlation given s. Correlation above this floor is evidence that g also encodes s′ , and we measure it as 1 X 2 1/2 U (g, s) = ρ(g, s′ ) − ρ(s, s′ ) ρ(g, s) + , ′ |Ss | ′ ′ s ∈Ss
(5) where Ss′ holds identities that share at least one section with s, with correlations computed on the patches of the shared sections. The penalty is one-sided: a group that follows s′ less than the floor is more specific to s than expected. BioScore. We define the quality of group g for identity s, the best group g ⋆ , and the BioScore of an encoder as follows: Q(g, s) = ρ(g, s) − λ U (g, s), g ⋆ (s) = arg max Q(g, s), g
1 X 1 X BioScore = Q g ⋆ (s), s , |C| |Sc | c∈C
(6)
s∈Sc
with λ = 3 (Sec. 4.2). We equalize the mean across lineage using classes C, one for each of immune (31), cancer (9), stromal (4), parenchyma (3) and one class for the remaining five (endothelial, epithelial and the neurovascular unit). This prevents the 31 immune identities from dominating the score. The values Q(g ⋆ (s), s) also give a breakdown by identity. By those means, BioScore provides a comparison metric between encoders: we train five SAEs per encoder (seeds 40– 44), report the mean and standard deviation of BioScore over them, and compare encoders with paired tests over identities (Sec. 5.1).
4. Does BioScore measure biology? We first check that BioScore properly measures biology. It should credit groups that follow one cell identity, not broad activity, and be independent of the SAE training run.
4.1. Encoders and protocol Frozen encoders. We compare 8 pathology foundation models and 3 natural-image models (Tab. 6), all given the
Figure 3. Effect of impurity weight λ. BioScore (left) and distinct matched groups (right); dotted: λ = 3. Full results in Tab. 8.
same 224 × 224 patches. Most pathology models were pretrained on 20× patches; Virchow2 was pretrained on 5×, 10×, 20×, 40× patches, and CHIEF was trained on 10× tiles. DINOv2-L and Prov-GigaPath resize their input to 256 px and crop its center back to 224 px by default; we give them the whole patch instead, so that each encoder sees the same tissue as the transcripts counted for the patch (Sec. C). Protocol. For each encoder, an SAE with expansion rate of 8× and k = 64 is trained for 100 epochs on the 1.29M patches of the pretraining set (Sec. 3.2) with the default settings of the library [28] (batch 2,048, automatic learning rate with warm-up and decay; Sec. C), with five seeds (40– 44). We monitor training metrics to ensure SAEs reconstruct the embeddings well: high reconstruction is reported, with very low dead latents proportion (Tab. 7). Dictionary size and sparsity of the SAE are also varied to ensure that the ranking is not recipe-dependent (Sec. 4.4).
4.2. Correlation and impurity Correlation alone orders the encoders. BioScore without the impurity term (λ = 0) ranks the encoders almost as the default one (Kendall τ = 0.96), and the ranking is identical for 0.25 ≤ λ ≤ 3.75 (Tab. 8). Raising λ lowers every encoder in parallel (Fig. 3, left). Impurity separates the matches. Increasing λ refines which group matches each identity. Without impurity, the best group for an identity can actually follow several colocalized identities, and the 52 identities are matched to only 34 to 43 distinct groups. The number of distinct groups rises with λ until λ ≈ 3, where the 52 identities are matched to 46 to 51 distinct groups, and then levels off (Fig. 3, right; Tab. 8). We therefore use λ = 3, where the number of distinct group plateaus. Choice of correlation. Using a rank correlation (Spearman) instead of Pearson favored groups that are mildly active over much of the tissue; whereas Pearson correlation weighs hotspots where an identity is clearly present, which moti-
Table 2. Supervised probe vs. BioScore. Mean over the 27 identities seen on at least two sections; rank in parentheses. The two rankings agree at Kendall τ = 0.82. Encoder
Probe
BioScore
Virchow H-Optimus-1 Virchow2 UNI2 Phikon-v2 UNI Prov-GigaPath CHIEF
.537 (1) .513 (2) .512 (3) .509 (4) .487 (5) .484 (6) .482 (7) .436 (8)
.295 (1) .289 (2) .286 (4) .287 (3) .256 (7) .267 (6) .274 (5) .241 (8)
DINOv3-L DINOv2-L CLIP
.346 (9) .344 (10) .333 (11)
.171 (9) .156 (11) .165 (10)
Figure 4. Win rate (%) of row over column across the 27 comparison identities of Tab. 2; bold: Holm-corrected Wilcoxon p < 0.05.
vated this selection of correlation metric (Sec. E).
4.3. Comparison with a supervised probe We test whether the encoders’ embeddings carry our identities with a supervised probe, the approach commonly used to measure how well pathology encoders capture spatial expression [22]. For each identity, we train a probe to predict its map σs from the patch embeddings of the scoring set. We use HEST implementation: the frozen embeddings are standardized and reduced to 256 principal components fitted on the training patches, and a ridge regression (no intercept) predicts σs . Each section of the identity is held out once, and the probe is trained on its other sections. We compute the Pearson correlation between the predictions and σs on all patches over its sections as for ρ (Sec. 3.4). This protocol needs the identity present on at least two sections; otherwise the fold that holds out its only hotspot section trains without a positive example. Only 27 of the 52 identities meet this criterion and constitute our comparison basis. The probe gives a supervised reference for the ranking of encoders, which we can compare to the ranking of BioScore. The probe and BioScore agree on encoder ranking. Averaged over 27 identities (Tab. 2), the two orders agree at Kendall τ = 0.82 over 11 encoders, and both place all pathology models above all natural-image models (probe scores 0.44–0.54 for pathology, 0.33–0.35 for natural-image
models). An encoder that decodes the identities well also tends to have feature groups that follow them. The same paired tests as for BioScore (Sec. 5.1), run on the probe correlations (Fig. 4), confirm the superiority of pathology models above natural-image models (win rates 85–100%, all 24 pairs significant) and provide a similar ordering of pathology models to BioScore (τ = 0.71 over the 8 pathology models alone). Both methods rank Virchow, H-Optimus-1, Virchow2 and UNI2 as the strongest models. Probing with a few units is an established test of interpretability [18, 24], and in language models SAE features rarely match a supervised probe [23]. Similarly here, the group chosen through BioScore follows the identity less precisely than the probe does (ρ 0.21–0.37 against 0.33–0.54 on average Tab. 11), but it orders the encoders in the same way, which confirms that BioScore comparisons do translate to prediction performances. Ranking on specific identities. On the other hand, depending on the identity evaluated, the order of the 8 pathology models may vary a lot compared to BioScore (median Spearman 0.33 between probe and BioScore; Tab. 13), implying that the two methods separate the leading models on different identities. On pancreatic islet endocrine cells, BioScore separates the models more clearly than the probe: the groups of Virchow, UNI and H-Optimus-1 follow the islets closely (ρ 0.66–0.71), that of CHIEF much less (0.30), and those of the natural-image models hardly at all (0.06–0.12). The probe scores are all low and overlap between the two families (0.09–0.34 for pathology models against 0.02–0.13 for natural-image models; Tab. 12). On T cells and B cells, the reverse holds: the probe separates pathology from naturalimage models as clearly as on most identities, but no pathology model has a group that follows these identities markedly better than the natural-image models (gap between the two families divided by the spread over encoders: 2.0 and 1.9 for the probe, 0.5 and −0.03 for BioScore) (Tab. 12). Beyond the probe. Both methods rank the encoders alike and differ on single identities. The probe, however, needs labels and held-out sections, so it cannot evaluate the 25 identities seen on a single section (e.g., ovarian carcinoma cells, cDC1). BioScore selects among feature groups learned without labels: it scores every identity and returns a group whose map can be inspected (Fig. 7).
4.4. Independence from the SAE BioScore reads an encoder through an SAE, but its result must be independent from SAE training. We check for seed, dictionary size, sparsity and number of feature groups. Ranking hardly depends on training seed. Over five seeds, the standard deviation of BioScore is 0.003–0.014 per encoder (Fig. 8 and Tab. 15), an order of magnitude below the gap of 0.126 between pathology and natural-image mod-
Table 3. SAE recipe ablation. Mean BioScore over the 11 encoders without grouping (K = n) and Kendall τ against the main recipe; per encoder in Tab. 14. Recipe (K = n)
BioScore
τ
×8, k = 64 (main) ×4, k = 64 ×16, k = 64 ×8, k = 32 ×8, k = 128
.319 .309 .322 .315 .320
– 0.96 0.96 0.89 1.00
4.5. Choice of magnification We build the scoring and pretraining sets at 20× (120 µm patches) and 40× (60 µm), and train the SAE at 20×, 40× or on a mix of both, which gives 4 settings (training / scoring): 20×/20×, 20×/40×, 40×/40× and mixed/40×. We report 20×/20×, the magnification most encoders were pretrained with (Tab. 6). All pathology models score above naturalimage models in all 4 settings; scoring at 40× reorders the leading models (Kendall τ 0.71–0.78 against 20×), whereas the training magnification matters less (Sec. I).
5. What biology do foundation models capture? We score the 11 encoders of Sec. 4.1 with SAEs trained and scored at 20× (K = 3000, λ = 3, five seeds, Tab. 15).
5.1. Ranking
Figure 5. K ablation. BioScore (left) and distinct matched groups (right), plotted against K up to one group per feature (stars); dotted: default K = 3000. Full results in Tab. 9.
els. The ranking itself is largely fixed. Rankings obtained with two different seeds agree at Kendall τ 0.83 on average (Tab. 16), and in every seed Phikon-v2 is 7th, CHIEF 8th and the 3 natural-image models take the last 3 places. Only the order within the 6 strongest pathology models changes from seed to seed, Virchow and H-Optimus-1 always among the first three. Each pathology model also beats each naturalimage model in all 25 pairings of their 5 seeds. Training recipe does not changes the results. We vary the dictionary size (×4 and ×16 instead of ×8) and the sparsity (k = 32 and 128 instead of 64), with five seeds each. A ×4 dictionary of the smaller encoders has fewer than 3,000 active features, so we compare recipes without grouping (K = n): over the 11 encoders, the mean BioScore is 0.309– 0.322 for the four variants against 0.319 for the main recipe, and the rankings agree with the main one at Kendall τ 0.89– 1.00 (Tab. 3; per encoder in Tab. 14). The number of groups is not critical above 2,000. BioScore rises with K up to about 2,000–3,000 groups and then levels off. Without grouping, the score of each encoder changes by at most 0.008, and the ranking is the same as at K = 3000; between K = 500 and 2,000 it agrees with K = 3000 at Kendall τ 0.82–0.93, and it departs further for K ≤ 200 (τ 0.75–0.78; Tab. 9 and Fig. 5). The number of distinct matched groups follows the same curve, from 24–32 at K = 50 to 46–51 at K = 3000.
Pathology model versus natural-image model ranking. The eight pathology foundation models score significantly above natural-image models (0.299–0.371 vs. 0.214–0.232; Fig. 8); the smallest margin, between CHIEF and DINOv3-L (0.067), is several times the seed standard deviation. The strongest pathology models are close. Virchow, HOptimus-1, UNI2, Virchow2, UNI and Prov-GigaPath lie within 0.017 of each other (Fig. 8). To tell which differences hold, we compare encoders identity by identity on the quality averaged over seeds (Fig. 1): the win rate of A over B is the share of the 52 identities on which A has the higher quality, and a Wilcoxon signed-rank test over identities, with a Holm correction for the 55 pairs, decides significance. These tests weigh every identity equally, whereas raw BioScore balances lineages. All 24 pairs of a pathology and a natural-image model differ significantly (win rates 0.77–0.94). Additionally, the compact letter display of Figs. 1 and 8 (encoders that share a letter do not differ significantly) gives three levels among pathology models: Virchow, H-Optimus-1 and Virchow2 (a), UNI2 and Prov-GigaPath (ab) and UNI (abc) form the leading group; Phikon-v2 (bc, 0.331) differs from the top 3; and CHIEF (c, 0.299) differs from every leading model except UNI.
5.2. Breakdown by lineage and cell identity Pathology models gain most outside the immune lineage. Averaged over identities, the quality Q of pathology models exceeds that of natural-image models by 0.20 for parenchymal identities, 0.18 for epithelial, 0.15 for stromal and 0.11 for cancer identities, against 0.08 for immune identities and 0.02 for the two endothelial ones (Tab. 20). Immune identities are harder on average for every encoder (e.g., 0.23 for Virchow against 0.40 on other identities). We hypothesize that many immune cells are too small and scattered to dominate the embedding at 20x.
Figure 6. Correlation per identity. Correlation ρ of the matched group, one scaled axis per identity (range in brackets); immune: selection of 11 identities, all 52 in Fig. 12. Full results in Tab. 19.
Figure 7. Sample of two matched groups with cell identity. H&E, identity map (red) and matched groups (blue) of the best and weakest pathology models and the best natural-image model for that identity; r: correlation on the section.
Figure 8. BioScore per seed and test tiers. BioScore per SAE seed (dots) and mean (bar), with the compact letter display of Fig. 1. Full results in Tab. 15.
At the level of identities, gap between models varies. Fig. 6 shows correlation of the matched group for a selection of single identities (all 52 identities in Fig. 12). We can isolate model differences on single identities: on a pancreatic section, the Virchow group follows the scattered islets (r = 0.67), whereas the CHIEF group is simply broadly active (r = −0.27) and DINOv3-L is silent. On an ovarian section, Virchow2 and DINOv2-L correctly follow the carcinoma, while Phikon-v2 activation is too sparse Fig. 7. On another note, the gap between pathology and natural-image
models is not uniform. The mean correlation of pathology models exceeds that of natural-image models by more than 0.1 for 24 of the 52 identities, most significantly on pancreatic islet endocrine cells (0.57 vs. 0.09), and stem-like cancer cells (e.g., SOX9+ CD44+, 0.54 vs. 0.18). Inversely, the difference is small (max. 0.05) for 14 identities (Tab. 21), for distinct reasons. On 7 of them, both families follow the identity well (ρ ≥ 0.35 ; e.g. T cells, adipocytes, ovarian carcinoma cells). On 4 others, neither model family does: iNOS+ macrophages, mast cells, cDC1 and CD56+ NK cells reach mean correlations of only 0.02–0.04 for pathology models.
6. Conclusion Downstream benchmarks and supervised probes show what can be decoded from an embedding; we asked instead if an encoder has a unit that follows a cell identity over the tissue. With paired H&E and Xenium transcriptomics as the reference, BioScore finds such units without labels, and its ranking of encoders is stable over SAE seeds and recipes and agrees with a supervised probe (Kendall τ = 0.82). Each pathology model represents identities in our panel better than every natural-image model, with largest gap on parenchymal and epithelial identities (0.20 and 0.18 in quality, against
0.08 for immune identities). Among pathology models, the overall score separates tiers rather than a single best model, and the differences lie at the level of single identities. Some identities, such as B cells, T cells and ovarian carcinoma cells, are followed as well by natural-image models; others, such as mast cells and CD56+ NK cells, by no encoder. A score per cell identity thus tells not only which encoder is stronger, but also which biology each encoder misses.
LLM Usage Statement We used Anthropic Claude Opus 5.5 to assist with manuscript polishing, grammar checks, code implementations and debugging. For manuscript polishing and grammar checks, text was reviewed and modified by the LLM, with human detailed proofreading afterwards. For code implementation and debugging, the LLM assisted in implementing BioScore, with human review afterward. We are responsible for all experiments, citations, and interpretation of visual results.
References [1] Ahmed Alagha, Christopher Leclerc, Yousef Kotp, Omar Metwally, Calvin Moras, Peter Rentopoulos, Ghodsiyeh Rostami, Bich Ngoc Nguyen, Jumanah Baig, Abdelhakim Khellaf, Vincent Quoc-Huy Trinh, Rabeb Mizouni, Hadi Otrok, Jamal Bentahar, and Mahdi S. Hosseini. AtlasPatch: Scalable Foundation Model-based Tissue Detection and Patch Extraction for Computational Pathology. arXiv preprint arXiv:2602.03998, 2026. 2 [2] David Bau, Bolei Zhou, Aditya Khosla, Aude Oliva, and Antonio Torralba. Network Dissection: Quantifying Interpretability of Deep Visual Representations. In 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 3319–3327, 2017. 2 [3] Trenton Bricken, Adly Templeton, Joshua Batson, Brian Chen, Adam Jermyn, Tom Conerly, Nick Turner, Cem Anil, Carson Denison, Amanda Askell, Robert Lasenby, Yifan Wu, Shauna Kravec, Nicholas Schiefer, Tim Maxwell, Nicholas Joseph, Zac Hatfield-Dodds, Alex Tamkin, Karina Nguyen, Brayden McLean, Josiah E. Burke, Tristan Hume, Shan Carter, Tom Henighan, and Christopher Olah. Towards monosemanticity: Decomposing language models with dictionary learning. Transformer Circuits Thread, 2023. https://transformer- circuits.pub/ 2023/monosemantic-features. 1, 2, 3 [4] Bart Bussmann, Patrick Leask, and Neel Nanda. BatchTopK sparse autoencoders. In NeurIPS Workshop on Scientific Methods for Understanding Deep Learning, 2024. 2, 3, 4 [5] Gabriele Campanella, Shengjia Chen, Manbir Singh, Ruchika Verma, Silke Muehlstedt, Jennifer Zeng, Aryeh Stock, Matt Croken, Brandon Veremis, Abdulkadir Elmas, Ivan Shujski, Noora Neittaanmäki, Kuan-lin Huang, Ricky Kwan, Jane Houldsworth, Adam J. Schoenfeld, and Chad Vanderbilt. A clinical benchmark of public self-supervised pathology foundation models. Nature Communications, 16(1):3640, 2025. 1, 2
[6] Richard J. Chen, Tong Ding, Ming Y. Lu, Drew F. K. Williamson, Guillaume Jaume, Andrew H. Song, Bowen Chen, Andrew Zhang, Daniel Shao, Muhammad Shaban, Mane Williams, Lukas Oldenburg, Luca L. Weishaupt, Judy J. Wang, Anurag Vaidya, Long Phi Le, Georg Gerber, Sharifa Sahai, Walt Williams, and Faisal Mahmood. Towards a general-purpose foundation model for computational pathology. Nature Medicine, 30(3):850–862, 2024. 1, 2, 4 [7] Weiqing Chen, Pengzhi Zhang, Tu N Tran, Yiwei Xiao, Shengyu Li, Vrutant V. Shah, Hao Cheng, Kristopher W. Brannan, Keith Youker, Li Lai, Longhou Fang, Yu Yang, Nhat-Tu Le, Jun-ichi Abe, Shu-Hsia Chen, Qin Ma, Ken Chen, Qianqian Song, John P. Cooke, and Guangyu Wang. A visual–omics foundation model to bridge histopathology with spatial transcriptomics. Nature Methods, 22(7):1568–1582, 2025. 2 [8] Hoagy Cunningham, Aidan Ewart, Logan Riggs, Robert Huben, and Lee Sharkey. Sparse Autoencoders Find Highly Interpretable Features in Language Models. In International Conference on Learning Representations (ICLR), 2024. 2 [9] Inderjit S. Dhillon and Dharmendra S. Modha. Concept decompositions for large sparse text data using clustering. Machine Learning, 42(1-2):143–175, 2001. 3 [10] Alexander D. Diehl, Terrence F. Meehan, Yvonne M. Bradford, Matthew H. Brush, Wasila M. Dahdul, et al. The Cell Ontology 2016: enhanced content, modularization, and ontology interoperability. Journal of Biomedical Semantics, 7:44, 2016. 4 [11] Thomas Fel, Ekdeep Singh Lubana, Jacob S. Prince, Matthew Kowal, Victor Boutin, Isabel Papadimitriou, Binxu Wang, Martin Wattenberg, Demba Ba, and Talia Konkle. Archetypal SAE: Adaptive and Stable Dictionary Learning for Concept Extraction in Large Vision Models. In International Conference on Machine Learning (ICML), 2025. 2 [12] Alexandre Filiot, Paul Jacob, Alice Mac Kain, and Charlie Saillard. Phikon-v2, A large and public feature extractor for biomarker prediction. arXiv preprint arXiv:2409.09173, 2024. 4 [13] Leo Gao, Tom Dupré la Tour, Henk Tillman, Gabriel Goh, Rajan Troll, Alec Radford, Ilya Sutskever, Jan Leike, and Jeffrey Wu. Scaling and evaluating sparse autoencoders. In International Conference on Learning Representations (ICLR), 2025. 1, 2, 3, 4 [14] Rushin H. Gindra, Giovanni Palla, Mathias Nguyen, Sophia J. Wagner, Manuel Tran, Fabian J Theis, Dieter Saur, Lorin Crawford, and Tingying Peng. A Large-Scale Benchmark of Cross-Modal Learning for Histology and Gene Expression in Spatial Transcriptomics. In IEEE/CVF International Conference on Computer Vision Workshops (ICCVW), pages 1193–1203, 2025. 2 [15] Félicie Giraud-Sauveur, Quentin Blampey, Hakim Benkirane, Arianna Marinello, Paul-Henry Cournède, and Stergios Christodoulidis. STHELAR, a multi-tissue dataset linking spatial transcriptomics and histology for cell type annotation. Scientific Data, 13:665, 2026. 1, 2 [16] Leander Girrbach and Zeynep Akata. Sparse autoencoders are topic models. In International Conference on Machine Learning (ICML), 2026. 2, 3, 4
[17] Bruno M. Grande, Daniela S. Gerhard, Aixiang Jiang, Nicholas B. Griner, Jeremy S. Abramson, Thomas B. Alexander, et al. Genome-wide discovery of somatic coding and noncoding mutations in pediatric endemic and sporadic Burkitt lymphoma. Blood, 133(12):1313–1324, 2019. 3 [18] Wes Gurnee, Neel Nanda, Matthew Pauly, Katherine Harvey, Dmitrii Troitskii, and Dimitris Bertsimas. Finding neurons in a haystack: Case studies with sparse probing. Transactions on Machine Learning Research, 2023. 6 [19] Bryan He, Ludvig Bergenstråhle, Linnea Stenbeck, Abubakar Abid, Alma Andersson, Åke Borg, Jonas Maaskola, Joakim Lundeberg, and James Zou. Integrating spatial gene expression and breast tumour morphology via deep learning. Nature Biomedical Engineering, 4(8):827–834, 2020. 2 [20] Congxue Hu, Tengyue Li, Minghui Zhu, Liyuan Li, Bolin Ren, Kuan Yang, Zhenzhen Wang, Maohao Li, Baobin Qi, Yongjin Long, Na Lv, Xiaoxu Yang, Rui Fu, Jing Bai, Xia Li, and Yunpeng Zhang. CellMarker 3.0: an updated resource of manually curated and computationally predicted cell markers in human/mouse and interactive web tools for single-cell and spatial transcriptomics analysis. Nucleic Acids Research, 2026. 2, 4 [21] Amanda Janesick, Robert Shelansky, Andrew D. Gottscho, Florian Wagner, Stephen R. Williams, et al. High resolution mapping of the tumor microenvironment using integrated single-cell, spatial and in situ analysis. Nature Communications, 14:8353, 2023. 1, 2 [22] Guillaume Jaume, Paul Doucet, Andrew H. Song, Ming Y. Lu, Cristina Almagro-Pérez, Sophia J. Wagner, Anurag J. Vaidya, Richard J. Chen, Drew F. K. Williamson, Ahrong Kim, and Faisal Mahmood. HEST-1k: A Dataset for Spatial Transcriptomics and Histology Image Analysis. In Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track, 2024. 1, 2, 6 [23] Subhash Kantamneni, Joshua Engels, Senthooran Rajamanoharan, Max Tegmark, and Neel Nanda. Are sparse autoencoders useful? a case study in sparse probing. In Proceedings of the 42nd International Conference on Machine Learning, pages 29018–29049, 2025. 6 [24] Adam Karvonen, Can Rager, Johnny Lin, Curt Tigges, Joseph Bloom, David Chanin, Yeu-Tong Lau, Eoin Farrell, Callum McDougall, Kola Ayonrinde, Demian Till, Matthew Wearden, Arthur Conmy, Samuel Marks, and Neel Nanda. SAEBench: A Comprehensive Benchmark for Sparse Autoencoders in Language Model Interpretability. In International Conference on Machine Learning (ICML), 2025. 2, 6 [25] Chanwoo Kim, Jakub Kaczmarzyk, Deepika Savant, Zhen Zhao, Peter K. Koo, and Su-In Lee. Dissecting and directing pathology foundation models. bioRxiv, 2026. 1, 2 [26] Nhat Le, Ciyue Shen, Neel Patel, Chintan Shah, Darpan Sanghavi, Blake Martin, Alfred Eng, Harshith Padigela, Raymond Biju, Sean Grullon, Dinkar Juyal, and Syed Ashar Javed. Evaluating the Utility of Sparse Autoencoders for Interpreting a Pathology Foundation Model. In NeurIPS Workshop on Imageomics: Discovering Biological Knowledge from Images Using AI, 2025. 1, 2 [27] Jiabo Ma, Yingxue Xu, Fengtao Zhou, Yihui Wang, Cheng Jin, Zhengrui Guo, Jianfeng Wu, On Ki Tang, Huajun Zhou,
Xi Wang, Luyang Luo, Zhengyu Zhang, Du Cai, Zizhao Gao, Wei Wang, Yueping Liu, Jiankun He, Jing Cui, Zhenhui Li, Jing Zhang, Feng Gao, Xiuming Zhang, Li Liang, Ronald Cheong Kin Chan, Zhe Wang, and Hao Chen. PathBench: A comprehensive comparison benchmark for pathology foundation models towards precision oncology. arXiv preprint arXiv:2505.20202, 2025. 2 [28] Samuel Marks, Adam Karvonen, and Aaron Mueller. dictionary learning. https://github.com/saprmarks/ dictionary_learning, 2024. 3, 5, 4 [29] Pierre Marza, Leo Fillioux, Sofiène Boutaj, Kunal Mahatha, Christian Desrosiers, Pablo Piantanida, Jose Dolz, Stergios Christodoulidis, and Maria Vakalopoulou. THUNDER: Tile-level Histopathology image UNDERstanding benchmark. In Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track, 2025. 1, 2 [30] 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, and Jakob Nikolas Kather. Benchmarking foundation models as feature extractors for weakly supervised computational pathology. Nature Biomedical Engineering, 10(6):1113–1123, 2025. 1, 2 [31] Maxime Oquab, Timothée Darcet, Théo Moutakanni, Huy Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaaeldin El-Nouby, Mahmoud Assran, Nicolas Ballas, Wojciech Galuba, Russell Howes, Po-Yao Huang, Shang-Wen Li, Ishan Misra, Michael Rabbat, Vasu Sharma, Gabriel Synnaeve, Hu Xu, Hervé Jegou, Julien Mairal, Patrick Labatut, Armand Joulin, and Piotr Bojanowski. DINOv2: Learning Robust Visual Features without Supervision. Transactions on Machine Learning Research, 2024. 4 [32] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning Transferable Visual Models From Natural Language Supervision. In International Conference on Machine Learning (ICML), 2021. 4 [33] Senthooran Rajamanoharan, Tom Lieberum, Nicolas Sonnerat, Arthur Conmy, Vikrant Varma, János Kramár, and Neel Nanda. Jumping Ahead: Improving Reconstruction Fidelity with JumpReLU Sparse Autoencoders. arXiv preprint arXiv:2407.14435, 2024. 2 [34] Marin Scalbert, Charlie Saillard, Thomas Peeters, Liam Gonzalez, Dasha Valter, Felipe Llinares-López, Zelda E. Mariet, and Rodolphe Jenatton. H-optimus-1: A foundation model for computational histopathology. In Proceedings of the American Association for Cancer Research Annual Meeting 2026 (Cancer Research 86(8 Suppl), LB174), 2026. 4 [35] Oriane Siméoni, Huy V. Vo, Maximilian Seitzer, Federico Baldassarre, Maxime Oquab, Cijo Jose, Vasil Khalidov, Marc Szafraniec, Seungeun Yi, Michaël Ramamonjisoa, Francisco Massa, Daniel Haziza, Luca Wehrstedt, Jianyuan Wang, Timothée Darcet, Théo Moutakanni, Leonel Sentana, Claire Roberts, Andrea Vedaldi, Jamie Tolan, John Brandt, Camille
Couprie, Julien Mairal, Hervé Jégou, Patrick Labatut, and Piotr Bojanowski. DINOv3. arXiv preprint arXiv:2508.10104, 2025. 4 [36] Harrish Thasarathan, Julian Forsyth, Thomas Fel, Matthew Kowal, and Konstantinos G. Derpanis. Universal Sparse Autoencoders: Interpretable Cross-Model Concept Alignment. In International Conference on Machine Learning (ICML), pages 59304–59325, 2025. 2 [37] The Cancer Genome Atlas Research Network, John N. Weinstein, Eric A. Collisson, Gordon B. Mills, Kenna R. Mills Shaw, Brad A. Ozenberger, Kyle Ellrott, Ilya Shmulevich, Chris Sander, and Joshua M. Stuart. The Cancer Genome Atlas Pan-Cancer analysis project. Nature Genetics, 45(10): 1113–1120, 2013. 3 [38] Eugene Vorontsov, Alican Bozkurt, Adam Casson, George Shaikovski, Michal Zelechowski, Kristen Severson, Eric Zimmermann, James Hall, Neil Tenenholtz, Nicolo Fusi, Ellen Yang, Philippe Mathieu, Alexander van Eck, Donghun Lee, Julian Viret, Eric Robert, Yi Kan Wang, Jeremy D. Kunz, Matthew C. H. Lee, Jan H. Bernhard, Ran A. Godrich, Gerard Oakley, Ewan Millar, Matthew Hanna, Hannah Wen, Juan A. Retamero, William A. Moye, Razik Yousfi, Christopher Kanan, David S. Klimstra, Brandon Rothrock, Siqi Liu, and Thomas J. Fuchs. A foundation model for clinical-grade computational pathology and rare cancers detection. Nature Medicine, 30(10):2924–2935, 2024. 1, 2, 4 [39] Xiyue Wang, Sen Yang, Jun Zhang, Minghui Wang, Jing Zhang, Wei Yang, Junzhou Huang, and Xiao Han. Transformer-based unsupervised contrastive learning for histopathological image classification. Medical Image Analysis, 81:102559, 2022. 4 [40] Xiyue Wang, Junhan Zhao, Eliana Marostica, Wei Yuan, Jietian Jin, Jiayu Zhang, Ruijiang Li, Hongping Tang, Kanran Wang, Yu Li, Fang Wang, Yulong Peng, Junyou Zhu, Jing Zhang, Christopher R. Jackson, Jun Zhang, Deborah Dillon, Nancy U. Lin, Lynette Sholl, Thomas Denize, David Meredith, Keith L. Ligon, Sabina Signoretti, Shuji Ogino, Jeffrey A. Golden, MacLean P. Nasrallah, Xiao Han, Sen Yang, and KunHsing Yu. A pathology foundation model for cancer diagnosis and prognosis prediction. Nature, 634(8035):970–978, 2024. 4 [41] Hanwen Xu, Naoto Usuyama, Jaspreet Bagga, Sheng Zhang, Rajesh Rao, Tristan Naumann, Cliff Wong, Zelalem Gero, Javier González, Yu Gu, Yanbo Xu, Mu Wei, Wenhui Wang, Shuming Ma, Furu Wei, Jianwei Yang, Chunyuan Li, Jianfeng Gao, Jaylen Rosemon, Tucker Bower, Soohee Lee, Roshanthi Weerasinghe, Bill J. Wright, Ari Robicsek, Brian Piening, Carlo Bifulco, Sheng Wang, and Hoifung Poon. A wholeslide foundation model for digital pathology from real-world data. Nature, 630(8015):181–188, 2024. 1, 4 [42] Bokai Zhao, Yiyang Zhang, Hanqing Chao, Yawei Ma, Long Bai, Tai Ma, Minfeng Xu, Ming Song, and Tianzi Jiang. CellPath-Bench: A Multidimensional Benchmark for WholeSlide Cellular Representations in Pathology Foundation Models. arXiv preprint arXiv:2608.21060, 2026. 2 [43] Eric Zimmermann, Eugene Vorontsov, Julian Viret, Adam Casson, Michal Zelechowski, George Shaikovski, Neil Tenenholtz, James Hall, David Klimstra, Razik Yousfi, Thomas
Fuchs, Nicolo Fusi, Siqi Liu, and Kristen Severson. Virchow2: Scaling Self-Supervised Mixed Magnification Models in Pathology. arXiv preprint arXiv:2408.00738, 2024. 1, 2, 4
A Gene Informed Benchmark for BioScoring of Pathology Foundation Models Supplementary Material
A. Sets construction Gene data construction. For patch p and gene i, the count cpi is the number of Xenium transcripts of gene i whose position, projected onto the H&E image, falls inside p; we keep transcripts with P reported quality value ≥ 20, assigned to a cell or not, negative-control and blank codewords excluded. The patch depth Tp = i cpi measures how much RNA was captured in the patch, which varies with cell density and tissue quality. We use in the score only patches with at least 20 genes (Tp ≥ 20), since patches with few transcripts give unstable ratios, leading to the exclusion of 3.6% of the 20× patches. Pretraining set construction. Table 4 details the content of the pretraining set (Sec. 3.1).
B. Cell-identity panel construction Cell-identity panel breakdown. Table 5 lists the 52 cell identities of BioScore (Sec. 3.3), with, for each, its number of CellMarker signatures, the number of sections on which it is scored, and a sample of its strongest biomarkers. We additionally provide a detailed table of the curation steps of this panel from the original CellMarker 3.0 data (Tab. 22), described in Sec. 3.3.
Table 4. Pretraining set. Scoring sections (STHELAR), TCGA / CGCI slides and their projects (BLGSP: CGCI), and patches at 20× per organ. Organ
STHELAR TCGA/CGCI TCGA/CGCI source
Brain Breast Cervix Colon Kidney Liver Lung Lymph node Ovary Pancreas Prostate Skin Tonsil
1 4 1 2 2 2 2 1 2 3 1 4 2
9 3 7 7 4 5 5 8 4 5 5 4 6
Total
27
72
GBM, LGG BRCA CESC COAD KICH, KIRC, KIRP LIHC LUAD, LUSC BLGSP, DLBC, SKCM OV PAAD PRAD SKCM HNSC
Table 22. Curation funnel of the panel. Curation steps are detailed in Sec. 3.3.
Patches
Step
99,976 101,630 102,122 100,000 94,732 99,045 99,526 100,385 98,033 99,368 99,125 99,401 99,778
CellMarker 3.0 biomarkers Source filtering Organ restriction Consensus Panel compatibility Presence Localization curation
Remaining 1.78M entries 137k entries 99.7k entries 643 signatures 404 signatures 283 signatures 104 signatures, 52 identities
1,293,121
Table 27. Signature sets lineage breakdown per localization threshold. Lineage breakdown of the sets formed at each co-localization threshold: number of signatures left, number of single-signature sets, size of the largest set, and number of sets per majority lineage.
Sets per majority lineage Threshold Sets Signatures Singletons Largest Immune Cancer Stromal Endothelial Epithelial Parenchyma Other 0.2 0.3 0.4 0.5 0.6 (ours) 0.7 0.8
24 30 35 44 55 68 93
133 133 133 135 139 147 157
13 16 19 24 33 46 71
59 54 44 24 19 12 11
11 13 17 23 32 43 64
3 6 6 7 8 10 10
3 3 3 5 6 6 7
1 1 2 2 2 2 3
3 3 3 3 3 3 4
3 3 3 3 3 3 3
0 1 1 1 1 1 2
Co-localization threshold ablation. To ensure having only separable cell identities in our panel, the last step of our curation protocol groups signatures into sets whose maps correlate at r ≥ 0.6 (Sec. 3.3). This threshold sets how finely the panel splits spatially similar identities. At 0.2, 0.3, 0.4, 0.5, 0.6, 0.7 and 0.8, the 283 present signatures form 24, 30, 35, 44, 55, 68 and 93 sets (Tab. 27), and the immune lineage undergoes the most grouping (from 11 at 0.2 up to 64 at 0.8). We argue that 0.6 allows for a proper compromise between grouping identities too coarsely and keeping many almost-duplicate identities. Between 0.6 and 0.4, related identities whose maps peak in different places merge, which we find undesirable. Below 0.4, merges start to cross lineages. Above 0.6, identities that act in practice as duplicates appear, and they become frequent at 0.8. Figure 15 gives an example of each case. Table 5. Cell-identity panel. Lineage, number of CellMarker signatures merged into the identity, number of sections on which it is scored, inclusion in the supervised-probe comparison of Sec. 4.3 (∗: hotspot on at least two sections, 27 identities), and the genes of its strongest signature (highest hotspot score). Rows grouped as in Fig. 12. Cell identity
Lineage
Sign.
Sect.
Probe
Lymphoid (13) Antibody-secreting plasma cell B cell CD138+ BCMA+ plasma cell CD56+ NK cell Checkpoint-high exhausted T cell Cytotoxic T cell Regulatory T cell T cell T follicular helper cell T helper17 cell Tissue-resident memory T cell TOX-driven exhausted T cell Tumor-reactive exhausted T cell
immune immune immune immune immune immune immune immune immune immune immune immune immune
2 5 1 1 1 3 4 19 2 1 1 1 2
5 24 5 8 26 9 25 26 13 8 1 13 14
∗ ∗ ∗
Myeloid (12) CD16+ monocyte Inflammatory IL-1B macrophage iNOS+ classically activated macrophage Interferon-activated macrophage Lipid-associated macrophage M2-like macrophage Mast cell Mature neutrophil Monocyte-derived macrophage Perivascular C1Q+ macrophage S100A8/A9+ inflammatory neutrophil Tissue-resident macrophage
immune immune immune immune immune immune immune immune immune immune immune immune
1 1 1 1 3 8 1 1 1 1 1 2
7 12 7 12 5 21 3 7 5 3 1 15
Dendritic cells (6) cDC1 cDC2 Langerhans cell Mature regulatory DC (mregDC) pDC, interferon-producing pDC, lineage program
immune immune immune immune immune immune
2 1 1 1 2 1
7 13 1 21 6 7
Cancer (9) CD44+ KIT+ cancer stem cell Epithelial cancer stem cell Hormone-receptor+ carcinoma cell Neural stem-like cancer cell Neural-crest-like tumor cell Ovarian carcinoma cell Pluripotency-like cancer stem cell Proliferating glial-like tumor cell SOX9+ CD44+ stem-like cancer cell
cancer cancer cancer cancer cancer cancer cancer cancer cancer
1 1 1 1 1 1 2 1 1
7 7 24 7 7 7 7 6 7
Other (12) Adipocyte Basal cell Capillary pericyte Endothelial cell FOXI1+ ionocyte Lymphatic endothelial cell MYH11+ perivascular cell Neurovascular unit (endothelium + pericyte) Pancreatic islet endocrine cell RGS5+ mural cell Schwann cell Smooth muscle cell
parenchyma epithelial stromal endothelial epithelial endothelial stromal other parenchyma stromal parenchyma stromal
2 2 1 4 1 1 1 1 1 1 1 5
9 5 7 17 9 3 3 3 10 5 1 14
∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗
∗
∗ ∗ ∗ ∗
Genes of the strongest signature MZB1, IGKC, JCHAIN MS4A1, CD79A, CD19 SDC1, CD38, MZB1, TNFRSF17 NCAM1, NKG7, GNLY PDCD1, CTLA4, HAVCR2 CD8A, GZMB, PRF1, IFNG, GZMA FOXP3, IL2RA, CTLA4, TIGIT CCR7, SELL, TCF7 CXCR5, PDCD1, CXCL13 RORC, CCR6, IL7R, KLRB1 CD3E, CD3D, IL7R, CD4, PTPRC, CD8A, . . . TOX, LAG3, PDCD1 PDCD1, TIGIT, CTLA4, LAG3, TOX, CXCL13, . . . FCGR3B, FCGR3A, CD14 CD80, CD86, IL1B NOS2, CD86, CXCL10 CD86, CD68, CXCL10, CD80 CD14, CD74, FCGR3A, CD163, CD68 CD163, CD68, MRC1 TPSAB1, KIT, CPA3 CEACAM8, FCGR3B, MME CD14, CD68, CD74, PTPRC, ITGAM, AIF1 C1QC, MRC1, F13A1, FMN1 CEACAM8, S100A12, S100A9 CD68, CD163, TIMD4, CD14, MARCO CD1C, LAMP3, CLEC9A, XCR1 CD1C, ITGAX, FCER1A, CLEC10A CD207, CD1A, S100B LAMP3, CD1C, CCL19 CLEC4C, IL3RA, LILRA4 IRF8, BCL11A, CLEC4C CD44, PROM1, KIT PROM1, CD44, ALCAM, EPCAM ERBB2, EPCAM, ESR1 NES, PROM1, SOX2 CSPG4, MCAM, NGFR MUC16, PAX8, EPCAM PROM1, CTNNB1, SOX2 EGFR, SOX2, TOP2A, CDK4, PTPRZ1 SOX2, PROM1, SOX9, CD44
∗ ∗ ∗ ∗ ∗ ∗ ∗
PLIN1, PPARG, ADIPOQ KRT14, KRT5, ACTA2, MYLK PDGFRB, RGS5, CSPG4, MCAM, TRPC6 PECAM1, VWF, CD34 CFTR, FOXI1, ASCL3 PROX1, CCL21, LYVE1 MYH11, MCAM, PDGFRB, RGS5 FLT1, CLDN5, PDGFRB CHGA, INS, SST PDGFRB, RGS5, ACTA2 S100B, MPZ, PLP1 ACTA2, TAGLN, MYH11
Figure 15. Examples of grouping behaviors across co-localization thresholds. Maps of signature sets, with the number of signatures in parentheses and genes of the strongest signature. (a) Below 0.4, unrelated lineages start to merge despite clear spatial differences: smooth muscle and endothelial cells (merged at 0.3), and the T and B cell set with plasmacytoid dendritic cells (merged at 0.2). (b) Between 0.6 and 0.4, related identities with specific localizations start to merge. Although they share a similar spatial structure, their high-activation spots remain markedly distinct. CD8+ T cells, with clear hotspots over the lymph node, merge at 0.5 with the broadly active regulatory T cells. Likewise, B cells and T follicular helper cells merge at 0.5, although only the latter are active at the bottom of the section. The merged identities lose the spatial specificity of their parents. (c) Conversely, above 0.6, spatially near-duplicate identities start to appear. Macrophages and M2 macrophages are split despite sharing the same spatial structure and high-activation spots. Their merged version loses no signal and removes a duplicate from the panel.
C. Encoders and SAE training Encoders. All encoders receive the same 224×224 px patches and their embeddings are stored as 16-bit floating-point numbers (float16). DINOv2-L and Prov-GigaPath originally resize their input to 256 px and crop its center back to 224 px, which would keep only the central ∼196 px of our patches. Since gene count is based on the whole patch, to ensure equal treatment between models we choose to remove this preprocessing step. Pathology encoders are trained at varying magnifications, reported in Tab. 6. We compute BioScore at 20×, the magnification at which most models are trained. The magnification study is in Sec. I. SAE training and well-posedness. We use the BatchTopK SAE [4] architecture as implemented in the dictionary learning library [28], with ×8 expansion factor, k = 64, batch 2,048, 100 epochs, learning rate p 2 · 10−4 / n/214 with 1,000 warm-up steps and a decay over the last 20% of training, decoder bias initialized at the geometric median, and the auxiliary loss of Gao et al. [13] (α = 1/32, kaux = d/2) on features that have not fired for 10M samples. Table 7 reports, for the SAEs trained at 20×, the share of dead features (never active over the 1.29M training patches), of dense features (active on more than 10% of the patches) and of rare features (active on fewer than 10−5 of them), with the fraction of variance explained R2 and the mean number of active features L0 . The clustering procedure, based on decoder weights (Sec. 3.2), follows SAE-TM [16], which computes the selection of features that fire and their weights in the clustering from the corpus being analyzed. Table 6. Encoders. Dimension of embedding space d, dimension of SAE latent space n (×8 expansion factor), pretraining data and magnification of pretraining as reported by the authors (n.s.: not stated). Encoder UNI [6] UNI2-h [6] Virchow [38] Virchow2 [43] Prov-GigaPath [41] Phikon-v2 [12] H-Optimus-1 [34] CHIEF [39, 40]
d
n Pretraining
Magn.
1024 8192 pathology 1536 12288 pathology 2560 20480 pathology 2560 20480 pathology 1536 12288 pathology 1024 8192 pathology 1536 12288 pathology 768 6144 pathology
20× n.s. 20× 5–40× 20× 20× 20× 10×
CLIP ViT-L/14 [32] 768 DINOv2 ViT-L/14 [31] 1024 DINOv3 ViT-L/16 [35] 1024
6144 natural images – 8192 natural images – 8192 natural images –
Table 7. Well-posedness of SAE training. Dead, dense (>10% of patches) and rare (<10−5 ) features, variance explained R2 and mean number of active features L0 . Encoder
Dead% Dense% Rare%
R2
L0
0.94 0.86 0.83 0.95 0.80 0.84 0.89 0.94
64.0 64.0 64.0 64.0 64.0 64.0 64.0 64.0
Virchow H-Optimus-1 UNI2 Virchow2 UNI Prov-GigaPath Phikon-v2 CHIEF
1.96 0.00 0.00 8.36 0.00 0.00 0.00 4.66
0.22 0.45 0.98 0.17 0.63 0.09 0.64 2.94
2.75 0.00 0.00 2.55 0.00 0.00 0.00 1.46
DINOv3-L DINOv2-L CLIP
2.79 8.46 1.08
1.87 1.49 2.65
23.09 0.92 64.0 23.92 0.93 64.0 8.33 0.92 64.0
D. Sensitivity to K and λ BioScore has two hyperparameters: the number K of feature groups into which the SAE features are clustered (Sec. 3.2), and the weight λ of the impurity penalty in the quality Q (Sec. 3.4). The main setting uses K = 3000 and λ = 3, and Secs. 4.2 and 4.4 study how BioScore and the ranking of the encoders change with each. We provide the tabular results of the λ and K ablations of Figs. 3 and 5 in Tabs. 8 and 9.
Table 8. Effect of λ. Mean BioScore, Kendall rank correlation τ against λ = 3, and range of the distinct matched groups over encoders. λ
BioScore
τ
Distinct groups
0 0.25 0.5 1 1.5 2 2.5 3 (default) 3.5 3.75 4
0.382 0.374 0.366 0.353 0.341 0.331 0.323 0.315 0.308 0.305 0.302
0.96 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 0.96
34–43 35–44 36–45 38–46 40–47 43–49 45–51 46–51 48–51 48–51 48–51
Table 9. Effect of K. Mean BioScore, Kendall rank correlation τ against K = 3000, and range of the distinct matched groups. n means no clustering, one group per original SAE feature. K
BioScore
τ
Distinct groups
0.084 0.123 0.162 0.230 0.276 0.309 0.315 0.319
0.75 0.78 0.78 0.82 0.93 0.82 – 1.00
24–32 26–39 29–40 36–44 40–48 44–50 46–51 47–51
50 100 200 500 1000 2000 3000 (main) n (no grouping)
E. Choice of correlation Table 10 compares BioScore computed with the Pearson correlation (ours) and with a Spearman rank correlation over all patches (for both the correlation ρ and the impurity U ). With the rank correlation, the matched groups are more broadly active (Fig. 13; median active on 5.1% of an identity’s patches, against 1.7% for Pearson). Additionally, the gap between pathology and natural-image models drops from 0.126 to 0.072. The actual ranking of the encoders changes little (Kendall τ = 0.82 over the 11 encoders, 0.71 among pathology models). We also provide examples of matched group activations in Fig. 13. Table 10. Pearson vs. Spearman correlation. BioScore, mean (standard deviation) over seeds, rank, and compact letter display of the paired tests, with the Pearson correlation on active patches (ours) and the Spearman correlation over all patches. Pearson, active Encoder
Spearman, all
BioScore Rank Tests BioScore Rank Tests
Virchow .371 (.004) H-Optimus-1 .369 (.005) UNI2 .361 (.007) Virchow2 .356 (.006) UNI .356 (.003) Prov-GigaPath .354 (.007) Phikon-v2 .331 (.004) CHIEF .299 (.012)
1 2 3 4 5 6 7 8
a a ab a abc ab bc c
.301 (.004) .289 (.008) .282 (.007) .293 (.005) .269 (.008) .264 (.004) .276 (.006) .251 (.002)
1 3 4 2 6 7 5 8
ab abc ac b cd c abc d
DINOv3-L DINOv2-L CLIP
9 10 11
d d d
.209 (.005) .205 (.005) .205 (.004)
9 11 10
e e e
.232 (.007) .223 (.006) .214 (.014)
Figure 13. Groups matched with Pearson vs. Spearman. Sample of four identities: H&E, identity spatial score map (red), and the matched group of SAE features (blue) with Pearson and with Spearman correlation. Percentage in each panel is the share of the section’s patches where the group is active, in addition to the coverage ratio (row caption): share of the Spearman-matched group active patches, divided by the same share for the Pearson-matched group. The Pearson-based Q rewards groups following hotspots of the identity map, whereas the Spearman-matched groups tend to be broader. We find the first behavior to be more desirable.
F. Supervised probe per identity Table 11 compares, on the 27 identities of Tab. 2, the probe correlation with the correlation ρ of the BioScore matched group (0.21–0.37 against 0.33–0.54). The two rankings agree at Kendall τ = 0.82 (0.79 among pathology models). Table 12 details the correlations ρ behind the examples of Sec. 4.3. Table 11. Probe and matched-group correlation on the 27 comparison identities. Mean over the 27 comparison identities of the probe correlation, BioScore matched-group correlation ρ, and of its quality Q (as in Tab. 2); rank in parentheses. Encoder
Probe
ρ
Q
Virchow H-Optimus-1 Virchow2 UNI2 Phikon-v2 UNI Prov-GigaPath CHIEF
.537 (1) .513 (2) .512 (3) .509 (4) .487 (5) .484 (6) .482 (7) .436 (8)
.373 (.008) (1) .364 (.011) (2) .359 (.011) (4) .360 (.007) (3) .341 (.010) (7) .344 (.004) (5) .343 (.008) (6) .310 (.008) (8)
.295 (1) .289 (2) .286 (4) .287 (3) .256 (7) .267 (6) .274 (5) .241 (8)
DINOv3-L DINOv2-L CLIP
.346 (9) .222 (.009) (10) .171 (9) .344 (10) .206 (.009) (11) .156 (11) .333 (11) .227 (.008) (9) .165 (10)
Table 12. Probe vs BioScore on three example identities. Probe: Pearson correlation of the out-of-fold predictions; BioScore: correlation ρ of the matched group (mean over seeds). Gap: mean of the pathology minus mean of the naturalimage models; effect size: gap over the standard deviation across the 11 encoders. Islet endocrine
T cell
B cell
Encoder
Probe BioScore Probe BioScore Probe BioScore
Virchow H-Optimus-1 UNI2 Virchow2 UNI Prov-GigaPath Phikon-v2 CHIEF
.29 .22 .34 .09 .33 .10 .24 .16
.71 .66 .62 .54 .67 .51 .56 .30
.90 .89 .90 .90 .87 .88 .88 .83
.66 .53 .56 .64 .51 .56 .71 .73
.87 .88 .90 .88 .84 .88 .86 .81
.56 .47 .47 .51 .42 .47 .59 .69
DINOv3-L DINOv2-L CLIP
.02 .13 .08
.12 .08 .06
.76 .74 .76
.65 .53 .52
.77 .75 .77
.52 .46 .59
Gap Effect size
.15 1.33
.49 1.94
.13 2.04
.04 0.54
.10 1.90
.00 −0.03
Table 13 provides the complete probe results for each of the 27 comparison identities and 11 encoders. Table 13. Probe and BioScore per identity. For each of the 27 identities and each encoder, correlation of the probe’s out-of-fold predictions with the identity map. Additionally, Spearman correlation between the orders of the 8 pathology models by the probe and by BioScore, i.e. the quality Q of the matched group (median 0.26). In bold, the examples of Sec. 4.3. Rows grouped as in Fig. 12. Identity
Pathology model Virchow H-Opt.-1 UNI2 Virchow2 UNI GigaPath Phikon-v2 CHIEF DINOv3 DINOv2 CLIP ranking agreement
Lymphoid (10) Antibody-secreting plasma cell B cell CD138+ BCMA+ plasma cell Checkpoint-high exhausted T cell Cytotoxic T cell Regulatory T cell T cell T follicular helper cell TOX-driven exhausted T cell Tumour-reactive exhausted T cell
.70 .87 .59 .61 .59 .77 .90 .66 .45 .66
.60 .88 .46 .56 .61 .75 .89 .57 .44 .63
.58 .90 .49 .60 .58 .76 .90 .63 .51 .63
.59 .88 .39 .57 .60 .76 .90 .66 .47 .65
.64 .84 .49 .59 .60 .73 .87 .56 .41 .57
.49 .88 .54 .57 .60 .75 .88 .60 .44 .63
.52 .86 .54 .58 .56 .73 .88 .64 .53 .62
.52 .81 .35 .54 .54 .68 .83 .57 .37 .50
.23 .77 .03 .46 .52 .60 .76 .39 .26 .41
.27 .75 .06 .45 .52 .60 .74 .38 .28 .39
.24 .77 .11 .46 .51 .62 .76 .38 .22 .36
.50 −.31 .62 .26 −.07 −.12 −.12 .31 .02 .93
Myeloid (6) CD16+ monocyte Inflammatory IL-1B macrophage Interferon-activated macrophage M2-like macrophage Mast cell Tissue-resident macrophage
.29 .40 .20 .45 .17 .26
.27 .38 .14 .47 .26 .21
.30 .29 .15 .39 .15 .13
.29 .31 .17 .47 .17 .21
.19 .24 .12 .40 .17 .19
.21 .33 .18 .41 .16 .15
.22 .28 .25 .34 .11 .24
.21 .27 .15 .28 .14 .18
.19 .18 .07 .34 .15 .09
.18 .13 .08 .31 .16 .11
.11 .15 .03 .34 .17 .10
.50 .43 −.24 −.24 −.50 −.38
Dendritic cells (4) Mature regulatory DC (mregDC) cDC2 pDC, interferon-producing pDC, lineage program
.73 .35 .53 .76
.75 .33 .55 .68
.74 .32 .53 .73
.74 .32 .54 .73
.67 .26 .52 .70
.70 .30 .53 .74
.70 .30 .53 .75
.67 .31 .46 .77
.63 .24 .41 .67
.65 .22 .42 .63
.64 .13 .39 .66
.60 .74 .24 −.52
Other (7) Adipocyte Basal cell Endothelial cell FOXI1+ ionocyte MYH11+ perivascular cell Pancreatic islet endocrine cell Smooth muscle cell
.68 .71 .42 .23 .62 .29 .61
.72 .71 .49 .12 .59 .22 .57
.72 .68 .46 .10 .65 .34 .52
.68 .71 .52 .20 .64 .09 .57
.59 .59 .50 .14 .63 .33 .54
.67 .55 .43 .11 .62 .10 .45
.64 .53 .43 .14 .59 .24 .41
.60 .28 .45 .05 .60 .16 .47
.61 .29 .37 −.09 .37 .02 .34
.63 .28 .36 −.06 .30 .13 .28
.64 .18 .33 −.07 .27 .08 .42
−.07 .55 .45 .05 .62 .69 .74
G. SAE recipes Table 14 gives the BioScore of each encoder for each SAE recipe of Tab. 3, without grouping (K = n, since the ×4 expansion factor is not compatible with K = 3000 for all encoders). Changing training hyperparameters moves individual encoders by at most a few hundredths and does not change which family leads. Per identity (Tabs. 23 and 24), the recipe moves BioScore no more than the seed does (standard deviation 0.020 over recipes, against 0.025 over seeds) and the encoder ranking on a single identity often agrees (mean Kendall τ 0.66). Table 24. Variation over SAE recipes per identity. Standard deviation over the recipes of the BioScore of each identity (without grouping, K = n, mean over the five seeds), per encoder, with its mean and maximum over the 11 encoders, and the mean Kendall τ between the rankings of the 11 encoders on this identity in the 10 pairs of recipes, range of the identity’s BioScore (mean over recipes) over the 11 encoders for comparison with std; rows sorted by the mean standard deviation within each group. Cell identity
Virchow H-Opt.-1 UNI2 Virchow2 UNI GigaPath Phikon-v2 CHIEF DINOv3 DINOv2 CLIP Mean Max
τ
BioScore range
Lymphoid (13) T cell Cytotoxic T cell Antibody-secreting plasma cell B cell CD138+ BCMA+ plasma cell T helper17 cell T follicular helper cell Checkpoint-high exhausted T cell CD56+ NK cell Tumour-reactive exhausted T cell Regulatory T cell TOX-driven exhausted T cell Tissue-resident memory T cell
.017 .007 .035 .030 .017 .019 .013 .003 .001 .003 .006 .006 .006
.034 .016 .025 .025 .022 .015 .030 .013 .010 .009 .007 .005 .006
.054 .028 .027 .046 .023 .018 .034 .017 .007 .024 .006 .006 .006
.020 .014 .050 .032 .030 .009 .038 .004 .011 .004 .007 .009 .005
.068 .032 .041 .027 .029 .027 .029 .025 .004 .013 .011 .008 .012
.055 .012 .007 .055 .013 .015 .036 .015 .016 .008 .010 .008 .005
.045 .026 .012 .030 .013 .014 .030 .026 .042 .015 .014 .022 .002
.014 .027 .012 .026 .025 .021 .018 .015 .004 .027 .009 .011 .010
.039 .074 .046 .031 .041 .030 .015 .025 .013 .005 .012 .007 .008
.025 .038 .036 .014 .030 .062 .028 .031 .010 .014 .024 .012 .012
.013 .071 .037 .009 .061 .059 .016 .039 .036 .009 .021 .004 .006
.035 .031 .030 .030 .028 .026 .026 .019 .014 .012 .012 .009 .007
.068 .074 .050 .055 .061 .062 .038 .039 .042 .027 .024 .022 .012
.61 0.473–0.665 .48 0.203–0.427 .73 0.175–0.421 .59 0.363–0.477 .75 0.107–0.391 .56 0.149–0.296 .80 0.140–0.479 .56 0.076–0.148 .38 0.040–0.087 .68 0.026–0.139 .73 0.088–0.194 .82 0.027–0.158 .69 0.064–0.108
Myeloid (12) Inflammatory IL-1B macrophage Interferon-activated macrophage Monocyte-derived macrophage Perivascular C1Q+ macrophage S100A8/A9+ inflammatory neutrophil M2-like macrophage Lipid-associated macrophage CD16+ monocyte Tissue-resident macrophage Mast cell Mature neutrophil iNOS+ classically activated macrophage
.012 .023 .010 .014 .010 .020 .020 .010 .025 .008 .007 .004
.008 .025 .015 .007 .013 .018 .011 .005 .005 .003 .007 .004
.012 .040 .014 .021 .017 .005 .018 .013 .006 .006 .004 .006
.016 .028 .016 .013 .017 .009 .015 .006 .010 .013 .008 .003
.008 .007 .015 .015 .015 .016 .015 .011 .010 .003 .002 .005
.018 .036 .017 .015 .014 .013 .003 .010 .006 .009 .010 .005
.033 .029 .010 .019 .019 .029 .018 .007 .033 .014 .009 .005
.014 .014 .016 .013 .025 .014 .007 .023 .010 .012 .006 .009
.028 .009 .025 .039 .037 .010 .014 .029 .010 .005 .006 .010
.044 .009 .037 .030 .028 .017 .009 .013 .004 .007 .005 .010
.052 .006 .040 .024 .011 .013 .029 .025 .006 .011 .006 .006
.022 .021 .020 .019 .019 .015 .015 .014 .011 .008 .007 .006
.052 .040 .040 .039 .037 .029 .029 .029 .033 .014 .010 .010
.61 0.126–0.275 .62 0.017–0.108 .67 0.216–0.489 .63 0.142–0.278 .79 0.197–0.413 .66 0.157–0.258 .72 0.176–0.359 .50 0.071–0.196 .85 0.018–0.255 .51 0.032–0.065 .55 0.026–0.062 .65 0.014–0.036
Dendritic cells (6) Langerhans cell Mature regulatory DC (mregDC) pDC, lineage program pDC, interferon-producing cDC1 cDC2
.014 .008 .017 .014 .008 .002
.010 .016 .027 .009 .006 .004
.034 .023 .011 .011 .006 .003
.022 .023 .016 .007 .005 .004
.019 .022 .022 .011 .007 .005
.013 .017 .011 .013 .009 .007
.031 .028 .017 .007 .004 .004
.016 .016 .007 .005 .005 .004
.015 .019 .014 .007 .007 .005
.020 .013 .008 .005 .003 .009
.022 .016 .003 .004 .005 .003
.020 .018 .014 .009 .006 .005
.034 .028 .027 .014 .009 .009
.59 0.214–0.367 .74 0.110–0.267 .79 0.339–0.471 .80 0.030–0.218 .41 0.025–0.041 .69 0.017–0.035
Cancer (9) Neural-crest-like tumour cell Ovarian carcinoma cell Epithelial cancer stem cell Proliferating glial-like tumour cell Pluripotency-like cancer stem cell Hormone-receptor+ carcinoma cell CD44+ KIT+ cancer stem cell Neural stem-like cancer cell SOX9+ CD44+ stem-like cancer cell
.013 .026 .005 .026 .010 .026 .009 .004 .004
.012 .042 .012 .038 .029 .013 .010 .005 .003
.029 .034 .023 .028 .014 .032 .010 .011 .004
.015 .031 .019 .015 .018 .021 .017 .010 .002
.007 .064 .023 .023 .006 .010 .017 .009 .003
.033 .033 .021 .034 .023 .018 .007 .003 .009
.027 .039 .025 .032 .013 .038 .017 .007 .002
.022 .035 .032 .040 .029 .019 .008 .032 .011
.164 .046 .033 .018 .029 .009 .026 .009 .018
.088 .018 .114 .065 .017 .006 .021 .019 .014
.023 .054 .064 .036 .017 .010 .030 .019 .014
.039 .038 .034 .032 .019 .018 .016 .012 .008
.164 .064 .114 .065 .029 .038 .030 .032 .018
.63 0.276–0.593 .67 0.517–0.792 .17 0.520–0.592 .62 0.415–0.701 .76 0.204–0.446 .77 0.212–0.369 .75 0.046–0.171 .82 0.065–0.276 .73 0.041–0.218
Other (12) Pancreatic islet endocrine cell Smooth muscle cell Capillary pericyte RGS5+ mural cell Basal cell Lymphatic endothelial cell Schwann cell MYH11+ perivascular cell Neurovascular unit (endothelium + pericyte) Adipocyte FOXI1+ ionocyte Endothelial cell
.016 .019 .011 .016 .038 .021 .027 .013 .040 .024 .009 .005
.020 .019 .018 .029 .047 .037 .034 .015 .013 .024 .007 .005
.021 .033 .017 .022 .037 .020 .012 .019 .033 .017 .005 .005
.022 .032 .016 .022 .016 .010 .016 .010 .047 .016 .003 .003
.035 .016 .017 .013 .019 .028 .023 .016 .030 .010 .007 .005
.046 .029 .029 .005 .031 .029 .026 .015 .023 .020 .002 .007
.041 .012 .042 .025 .020 .026 .016 .046 .020 .030 .011 .005
.125 .013 .064 .007 .036 .014 .029 .039 .010 .016 .012 .008
.030 .049 .022 .053 .024 .022 .025 .011 .006 .013 .031 .008
.033 .074 .018 .067 .008 .019 .015 .025 .005 .009 .024 .006
.012 .032 .046 .032 .002 .029 .027 .023 .004 .039 .032 .021
.036 .030 .027 .026 .025 .023 .023 .021 .021 .020 .013 .007
.125 .074 .064 .067 .047 .037 .034 .046 .047 .039 .032 .021
.88 0.073–0.703 .67 0.387–0.568 .66 0.105–0.432 .64 0.356–0.508 .74 0.079–0.439 .69 0.110–0.251 .80 0.206–0.398 .65 0.124–0.326 .77 0.032–0.171 .24 0.473–0.534 .65 0.127–0.233 .70 0.202–0.265
Mean over identities
.014
.016
.019
.016
.018
.018
.021
.020
.025
.024
.024
.020 .043 .66
Table 14. SAE recipes per encoder. BioScore without grouping (K = n) per dictionary size and sparsity k.
×8, 64 ×4, 64 ×16, 64 ×8, 32 ×8, 128 Virchow H-Optimus-1 UNI2 Virchow2 UNI Prov-GigaPath Phikon-v2 CHIEF
.378 .369 .365 .362 .360 .357 .334 .302
.378 .377 .372 .366 .357 .349 .330 .277
.378 .374 .361 .365 .355 .351 .331 .315
.366 .365 .352 .362 .351 .353 .337 .301
.391 .383 .374 .372 .366 .363 .336 .287
DINOv3-L DINOv2-L CLIP
.235 .227 .217
.208 .188 .194
.249 .238 .226
.245 .223 .212
.225 .216 .207
H. Main results and SAE seeds Table 15 gives BioScore in the main setting, mean and standard deviation over the five SAE seeds, and Tab. 16 the rank of each encoder in each seed; the spread over seeds is shown in Fig. 8. Per identity, the seed has more influence than on BioScore (Tab. 23). The standard deviation over seeds is 0.025 on average over identities and encoders, against 0.003–0.014 for BioScore (Tab. 15), and reaches 0.11–0.12 for a few rare identities and single encoders: CHIEF on pancreatic islet cells ranges from 0.14 to 0.43 over seeds, seemingly because a dedicated feature emerges in some seeds only. The ranking of the encoders on a single identity is accordingly less stable across seeds (mean Kendall τ 0.52) than their ranking by BioScore (0.83, Tab. 16). Per-identity results should therefore be read as means over seeds, as a single seed value is unreliable for one identity. We also provide a wider selection of activation maps (Figs. 16 and 17), extending Fig. 7 to 8 more maps. Table 15. Main results. BioScore, mean Table 16. BioScore per SAE seed. BioScore of each encoder per seed (rank in parentheses), (standard deviation) over seeds, and com- and mean over seeds; two seeds agree at Kendall τ = 0.83 on average. pact letter display of the paired tests Encoder 40 41 42 43 44 Mean (Fig. 1). Every pathology model scores above every natural-image model. Virchow .366 (2) .368 (1) .377 (1) .373 (1) .369 (1) .371
Encoder
BioScore
Tests
Virchow H-Optimus-1 UNI2 Virchow2 UNI Prov-GigaPath Phikon-v2 CHIEF
.371 (.004) .369 (.005) .361 (.007) .356 (.006) .356 (.003) .354 (.007) .331 (.004) .299 (.012)
a a ab a abc ab bc c
DINOv3-L DINOv2-L CLIP
.232 (.007) .223 (.006) .214 (.014)
d d d
H-Optimus-1 UNI2 Virchow2 UNI Prov-GigaPath Phikon-v2 CHIEF
.373 (1) .358 (3) .347 (6) .355 (4) .347 (5) .329 (7) .292 (8)
.363 (3) .366 (2) .357 (6) .360 (4) .358 (5) .326 (7) .316 (8)
.373 (2) .351 (6) .365 (3) .357 (4) .353 (5) .335 (7) .288 (8)
.371 (2) .366 (3) .358 (5) .352 (6) .362 (4) .336 (7) .294 (8)
.364 (3) .365 (2) .355 (4) .355 (5) .347 (6) .327 (7) .305 (8)
.369 .361 .356 .356 .354 .331 .299
DINOv3-L DINOv2-L CLIP
.225 (10) .241 (9) .235 (9) .236 (9) .226 (9) .232 .234 (9) .222 (10) .217 (11) .220 (11) .224 (10) .223 .209 (11) .220 (11) .224 (10) .226 (10) .192 (11) .214
Table 23. Variation over seeds per identity. Standard deviation over the five SAE seeds of the BioScore of each identity (quality Q of its matched group), per encoder, with its mean and maximum over the 11 encoders, the mean Kendall τ between the rankings of the 11 encoders on this identity in the 10 pairs of seeds, and the range of the identity’s BioScore (mean over seeds) over the 11 encoders; grouped as in Fig. 12 and sorted by the mean standard deviation within each group. Cell identity
Virchow H-Opt.-1 UNI2 Virchow2 UNI GigaPath Phikon-v2 CHIEF DINOv3 DINOv2 CLIP Mean Max
τ
BioScore range
Lymphoid (13) T helper17 cell T follicular helper cell CD138+ BCMA+ plasma cell T cell Cytotoxic T cell B cell Regulatory T cell Antibody-secreting plasma cell Checkpoint-high exhausted T cell CD56+ NK cell Tumour-reactive exhausted T cell Tissue-resident memory T cell TOX-driven exhausted T cell
.017 .016 .023 .022 .021 .058 .005 .005 .012 .016 .011 .012 .005
.040 .054 .031 .050 .041 .012 .019 .021 .019 .015 .023 .033 .016
.049 .079 .051 .033 .027 .028 .017 .019 .019 .017 .023 .024 .008
.022 .037 .065 .012 .042 .021 .050 .017 .021 .029 .023 .017 .013
.067 .040 .026 .021 .037 .019 .026 .004 .032 .018 .023 .014 .006
.043 .052 .055 .028 .027 .014 .003 .023 .014 .012 .022 .008 .012
.030 .050 .006 .063 .034 .027 .014 .023 .014 .052 .015 .009 .007
.066 .050 .017 .015 .013 .033 .024 .018 .013 .012 .015 .007 .013
.099 .037 .043 .087 .032 .037 .029 .067 .027 .023 .007 .014 .018
.110 .034 .038 .032 .071 .016 .041 .030 .035 .018 .018 .021 .019
.011 .030 .047 .016 .011 .020 .029 .030 .024 .017 .011 .010 .009
.050 .044 .037 .034 .032 .026 .023 .023 .021 .021 .018 .015 .012
.110 .079 .065 .087 .071 .058 .050 .067 .035 .052 .023 .033 .019
.18 0.160–0.298 .72 0.141–0.458 .60 0.088–0.395 .51 0.479–0.670 .64 0.168–0.445 .53 0.355–0.477 .37 0.094–0.188 .82 0.159–0.429 .50 0.066–0.154 .55 −0.019–0.082 .58 0.015–0.138 .33 0.060–0.099 .79 0.019–0.164
Myeloid (12) S100A8/A9+ inflammatory neutrophil Perivascular C1Q+ macrophage Monocyte-derived macrophage Interferon-activated macrophage Inflammatory IL-1B macrophage Lipid-associated macrophage M2-like macrophage Tissue-resident macrophage CD16+ monocyte Mast cell Mature neutrophil iNOS+ classically activated macrophage
.039 .036 .030 .033 .017 .022 .032 .025 .011 .014 .008 .008
.022 .045 .023 .038 .021 .022 .019 .038 .003 .007 .003 .007
.017 .030 .014 .043 .017 .022 .018 .012 .027 .010 .004 .010
.050 .016 .033 .048 .014 .022 .015 .025 .014 .012 .022 .010
.044 .014 .051 .007 .031 .028 .022 .039 .014 .008 .006 .006
.036 .021 .030 .042 .027 .023 .024 .016 .003 .017 .013 .011
.018 .037 .016 .014 .026 .017 .013 .020 .002 .021 .009 .010
.046 .031 .045 .047 .015 .023 .028 .014 .016 .019 .015 .006
.034 .055 .065 .006 .033 .012 .017 .012 .024 .011 .003 .011
.028 .065 .007 .006 .049 .032 .026 .006 .026 .021 .019 .007
.038 .020 .030 .005 .033 .030 .027 .007 .035 .010 .010 .011
.034 .034 .031 .026 .026 .023 .022 .019 .016 .014 .010 .009
.050 .065 .065 .048 .049 .032 .032 .039 .035 .021 .022 .011
.45 0.202–0.393 .40 0.172–0.286 .59 0.216–0.505 .53 −0.000–0.096 .52 0.138–0.270 .75 0.174–0.363 .45 0.152–0.269 .64 0.002–0.259 .55 0.054–0.210 .12 0.010–0.041 .30 0.019–0.059 .33 −0.015–0.013
Dendritic cells (6) Langerhans cell Mature regulatory DC (mregDC) pDC, lineage program pDC, interferon-producing cDC1 cDC2
.052 .007 .038 .021 .011 .005
.059 .030 .014 .008 .023 .003
.016 .023 .040 .041 .004 .001
.023 .024 .019 .024 .018 .002
.029 .021 .031 .013 .014 .005
.052 .027 .027 .033 .017 .004
.050 .014 .027 .011 .001 .005
.036 .031 .016 .018 .007 .005
.039 .037 .016 .009 .013 .004
.011 .024 .006 .009 .006 .012
.034 .023 .020 .012 .009 .007
.037 .024 .023 .018 .011 .005
.059 .037 .040 .041 .023 .012
.36 0.195–0.336 .65 0.114–0.269 .53 0.342–0.484 .40 0.025–0.226 .17 −0.007–0.021 .53 0.008–0.033
Cancer (9) Ovarian carcinoma cell Proliferating glial-like tumour cell Neural-crest-like tumour cell CD44+ KIT+ cancer stem cell Hormone-receptor+ carcinoma cell Pluripotency-like cancer stem cell Epithelial cancer stem cell SOX9+ CD44+ stem-like cancer cell Neural stem-like cancer cell
.049 .015 .009 .026 .025 .013 .016 .003 .007
.069 .025 .015 .016 .026 .005 .013 .016 .011
.038 .039 .012 .032 .018 .015 .012 .004 .011
.014 .026 .012 .005 .029 .018 .024 .007 .028
.020 .016 .019 .023 .015 .009 .014 .003 .007
.028 .024 .015 .004 .029 .002 .014 .006 .019
.031 .031 .021 .028 .064 .009 .019 .005 .003
.051 .060 .011 .025 .046 .025 .018 .033 .008
.072 .017 .122 .042 .008 .056 .049 .024 .017
.032 .068 .066 .043 .016 .016 .018 .031 .014
.073 .037 .014 .037 .004 .052 .015 .020 .024
.043 .033 .029 .026 .026 .020 .019 .014 .014
.073 .068 .122 .043 .064 .056 .049 .033 .028
.57 .45 .70 .61 .61 .72 .29 .67 .71
0.528–0.803 0.388–0.705 0.276–0.592 0.049–0.175 0.208–0.366 0.226–0.445 0.531–0.581 0.040–0.222 0.067–0.269
Other (12) Schwann cell Pancreatic islet endocrine cell Capillary pericyte Smooth muscle cell Neurovascular unit (endothelium + pericyte) MYH11+ perivascular cell Basal cell Lymphatic endothelial cell RGS5+ mural cell Adipocyte FOXI1+ ionocyte Endothelial cell
.035 .016 .031 .020 .034 .015 .022 .029 .017 .016 .011 .004
.112 .015 .012 .013 .033 .023 .032 .021 .020 .008 .009 .008
.033 .028 .029 .017 .065 .013 .020 .015 .020 .013 .007 .014
.057 .116 .033 .021 .045 .009 .030 .036 .018 .016 .005 .007
.035 .023 .025 .022 .039 .022 .015 .024 .022 .015 .005 .008
.055 .046 .011 .017 .032 .020 .022 .033 .033 .019 .007 .006
.035 .042 .029 .033 .015 .032 .013 .033 .022 .038 .013 .013
.021 .124 .080 .043 .010 .019 .072 .031 .019 .023 .012 .019
.021 .040 .061 .040 .019 .030 .042 .011 .043 .034 .013 .007
.062 .028 .030 .018 .014 .033 .017 .033 .014 .022 .025 .014
.045 .022 .065 .106 .006 .086 .006 .022 .047 .047 .066 .023
.046 .045 .037 .032 .028 .028 .026 .026 .025 .023 .016 .011
.112 .124 .080 .106 .065 .086 .072 .036 .047 .047 .066 .023
.51 .84 .56 .42 .56 .62 .82 .42 .58 .23 .50 .43
0.189–0.388 0.063–0.695 0.125–0.451 0.375–0.574 0.020–0.184 0.142–0.338 0.079–0.456 0.071–0.255 0.375–0.523 0.473–0.530 0.129–0.232 0.216–0.261
Mean over identities
.020
.024
.023
.025
.021
.023
.023
.028
.032
.028
.028
.025 .054 .52
Figure 16. More activation maps (1/2). As Fig. 7: H&E, identity map (red), and the matched groups (blue) of the best and the weakest pathology models and of the best natural-image model for the identity. Their correlation r on the section is indicated; inactive meaning the group does not fire on the section.
Figure 17. More activation maps (2/2). As Fig. 7: H&E, identity map (red), and the matched groups (blue) of the best and the weakest pathology models and of the best natural-image model for the identity. Their correlation r on the section is indicated; inactive meaning the group does not fire on the section.
I. Magnification At 40×, the scoring set holds 443,004 patches of 60 µm. We study magnification through four settings, named by the magnification of the SAE training data and of the scoring set: 20×/20× (main setting), 20×/40× (the same SAEs, scored on 40× patches), 40×/40×, and mixed/40×. The 40× pretraining set uses the same 99 slides as the 20× one (Tab. 4): each 20× patch contains four 40× patches, of which we draw one at random, so that both sets hold the same number of patches at the same positions. The mixed set keeps, on each slide, a random half of the 20× patches and replaces the other half by their drawn 40× patch. Impact of scoring magnification vs training magnification. We compare the settings in two steps. First, the scoring magnification, with the same SAEs (20×/20× against 20×/40×): scored on 40× patches (60 µm), every encoder loses BioScore, but unevenly. Prov-GigaPath, CHIEF and Virchow lose 0.12–0.13, whereas UNI2 and Virchow2 lose 0.06–0.07 (Virchow2 was pretrained on a range of magnifications, 5–40×). Second, the training magnification, with a fixed scoring at 40× (20×/40×, 40×/40× and mixed/40×): the three settings give similar rankings (Kendall τ 0.89–0.93; Tab. 18), although training at 40× raises most pathology models (by up to 0.04). In all three 40× settings, the best scores are 0.297–0.312 (Tab. 17), the pathology models stay well ahead of the natural-image models (gap 0.119–0.149) and UNI2 ranks first, but their rankings agree only moderately with the 20×/20× one (Kendall τ 0.71–0.78): the scoring magnification matters more than the training magnification. Figure 9 repeats Fig. 8 in the four settings, with the paired tests recomputed in each. The tests separate more pairs when scoring at 40× (41–44 of 55, against 32 at 20×/20×), and every pathology model differs significantly from every natural-image model in all four settings.
Figure 9. BioScore per seed and test tiers in the four settings. As Fig. 8, per setting (training / scoring magnification); rows ordered by mean BioScore, letters from the paired tests of each setting. Additionally, the number of significantly different encoder pairs is reported.
Table 18 compares the rankings of the four settings. Per identity, the correlation of the matched group is lower at 40× for 78% of the (identity, encoder) pairs, and the pathology models keep a higher mean correlation than the natural-image models on 47 of the 52 identities (45 at 20×). Table 26 gives the BioScore of each identity at 40×/40× and its difference with 20×/20×, per encoder. Averaged over the encoders, the BioScore of 25 identities changes by less than 0.05 between the two settings. The other 25 lose more than 0.05, most of all structural identities that the encoders recognized well at 20×/20×: adipocytes (−0.19, from 0.51), RGS5+ mural cells (−0.16, from 0.46), pancreatic islet cells (−0.16, from 0.44) and smooth muscle cells (−0.15, from 0.52). Only two identities gain more than 0.05, CD56+ NK cells (+0.07) and FOXI1+ ionocytes (+0.05).
Table 17. BioScore across magnification settings. Mean (standard deviation) over seeds, by training and scoring magnification; best per column in bold. Training Scoring
20× 20×
20× 40×
40× 40×
mixed 40×
Virchow .371 (.004) .256 (.003) .290 (.005) .283 (.014) H-Optimus-1 .369 (.005) .277 (.006) .295 (.009) .311 (.007) UNI2 .361 (.007) .297 (.005) .311 (.007) .312 (.009) Virchow2 .356 (.006) .284 (.004) .298 (.004) .302 (.010) UNI .356 (.003) .263 (.011) .258 (.010) .261 (.014) Prov-GigaPath .354 (.007) .219 (.009) .262 (.006) .255 (.007) Phikon-v2 .331 (.004) .247 (.009) .272 (.009) .268 (.008) CHIEF .299 (.012) .182 (.005) .212 (.014) .197 (.010) DINOv3-L DINOv2-L CLIP
Table 18. Ranking agreement across magnification settings. Kendall τ between the encoder rankings of the four settings (training / scoring magnification). 20×/20× 20×/40× 40×/40× mixed/40× 20×/20× 20×/40× 40×/40× mixed/40×
– 0.75 0.71 0.78
0.75 – 0.89 0.89
0.71 0.89 – 0.93
0.78 0.89 0.93 –
.232 (.007) .146 (.011) .140 (.013) .157 (.008) .223 (.006) .143 (.004) .123 (.010) .136 (.005) .214 (.014) .115 (.008) .116 (.010) .121 (.007)
Table 26. Identities at 40×/40×. BioScore of each identity (quality Q of the matched group, mean over five seeds) at 40×/40×, with its difference with 20×/20× in parentheses, per encoder, and the mean difference over the 11 encoders. Rows grouped as in Fig. 12. Identity
Virchow
H-Opt.-1
UNI2
Virchow2
UNI
GigaPath
Phikon-v2
CHIEF
Lymphoid (13) Antibody-secreting plasma cell B cell CD138+ BCMA+ plasma cell CD56+ NK cell Checkpoint-high exhausted T cell Cytotoxic T cell Regulatory T cell T cell T follicular helper cell T helper17 cell TOX-driven exhausted T cell Tissue-resident memory T cell Tumour-reactive exhausted T cell
DINOv3
DINOv2
CLIP
Mean diff.
.45 (+.04) .44 (−.02) .44 (+.08) .03 (+.02) .15 (.00) .40 (+.06) .17 (+.01) .61 (−.03) .41 (−.05) .23 (−.03) .13 (−.03) .04 (−.04) .10 (−.04)
.41 (+.07) .40 (+.02) .44 (+.10) .06 (+.05) .14 (+.03) .42 (+.01) .15 (−.04) .59 (+.09) .37 (−.04) .24 (−.04) .09 (−.04) .03 (−.06) .06 (−.08)
.44 (+.06) .38 (.00) .43 (+.13) .01 (.00) .12 (−.01) .40 (+.02) .14 (−.03) .54 (+.01) .27 (−.09) .22 (−.07) .08 (−.08) .04 (−.05) .07 (−.04)
.44 (+.02) .46 (+.05) .51 (+.17) .10 (+.05) .14 (.00) .41 (+.09) .16 (−.02) .64 (+.03) .34 (−.06) .22 (−.07) .09 (−.03) .03 (−.07) .05 (−.09)
.47 (+.04) .42 (+.07) .41 (+.09) .07 (+.07) .13 (+.01) .41 (+.07) .11 (−.08) .57 (+.09) .19 (−.09) .21 (−.08) .09 (−.04) .03 (−.06) .03 (−.06)
.40 (+.03) .43 (+.04) .47 (+.07) .01 (+.02) .11 (−.01) .43 (+.05) .13 (−.04) .61 (+.08) .20 (−.20) .22 (−.08) .06 (−.06) .03 (−.06) .05 (−.08)
.45 (+.06) .44 (−.03) .41 (+.07) .13 (+.10) .16 (+.01) .40 (+.02) .10 (−.08) .58 (−.06) .18 (−.06) .20 (−.10) .04 (−.02) .04 (−.05) .07 (−.04)
.25 (−.02) .46 (−.02) .28 (.00) .23 (+.15) .13 (−.01) .41 (−.03) .10 (−.07) .65 (−.02) .17 (−.11) .18 (−.06) .04 (−.01) .04 (−.02) .07 (−.03)
.06 (−.11) .06 (−.10) .02 (−.17) .36 (−.01) .39 (+.02) .37 (−.01) .08 (−.02) .05 (−.04) .04 (−.12) .17 (+.11) .12 (+.04) .14 (+.09) .08 (.00) −.01 (−.08) .04 (−.02) .23 (+.06) .15 (−.03) .39 (+.10) .07 (−.03) .08 (−.02) .06 (−.07) .54 (−.08) .53 (+.03) .52 (+.01) .09 (−.07) .11 (−.05) .14 (.00) .11 (−.05) .08 (−.08) .11 (−.13) −.01 (−.03) −.01 (−.03) .00 (−.02) .03 (−.04) .03 (−.04) .04 (−.03) .00 (−.02) .00 (−.02) .00 (−.03)
−.01 +.01 +.05 +.07 −.01 +.04 −.04 +.02 −.08 −.07 −.04 −.05 −.05
Myeloid (12) CD16+ monocyte Inflammatory IL-1B macrophage Interferon-activated macrophage Lipid-associated macrophage M2-like macrophage Mast cell Mature neutrophil Monocyte-derived macrophage Perivascular C1Q+ macrophage S100A8/A9+ inflammatory neutrophil Tissue-resident macrophage iNOS+ classically activated macrophage
.14 (−.05) .22 (−.02) .02 (−.04) .32 (−.05) .07 (−.13) .02 (.00) .11 (+.07) .48 (.00) .08 (−.18) .26 (−.11) .22 (.00) .00 (−.01)
.13 (−.04) .14 (−.05) .17 (−.02) .07 (−.11) .10 (−.07) .12 (−.06) .21 (−.03) .21 (−.03) .25 (−.02) .17 (−.04) .22 (−.04) .24 (−.02) .01 (−.09) .04 (−.06) .02 (−.06) −.01 (−.01) −.01 (−.04) .01 (−.02) .34 (−.02) .33 (+.02) .35 (+.01) .29 (−.03) .29 (−.05) .29 (−.02) .11 (−.13) .11 (−.16) .10 (−.13) .07 (−.17) .08 (−.17) .06 (−.18) .00 (−.02) .00 (−.02) .01 (−.01) .00 (−.01) .00 (−.02) .02 (−.02) .12 (+.07) .11 (+.07) .14 (+.09) .08 (+.04) .10 (+.05) .13 (+.08) .45 (−.05) .49 (.00) .51 (+.06) .46 (−.01) .44 (−.05) .47 (.00) .10 (−.15) .10 (−.18) .13 (−.15) .12 (−.16) .11 (−.16) .06 (−.17) .31 (−.08) .26 (−.12) .26 (−.12) .22 (−.14) .23 (−.16) .23 (−.12) .22 (−.02) .32 (+.06) .33 (+.07) .14 (−.03) .08 (−.14) .00 (−.01) .00 (.00) −.01 (−.02) −.01 (−.02) −.01 (.00) −.01 (.00) −.01 (−.01)
.12 (−.09) .20 (.00) .02 (−.05) .22 (−.02) .06 (−.16) .01 (−.03) .08 (+.04) .31 (−.04) .09 (−.15) .24 (−.08) .06 (+.05) .01 (.00)
.02 (−.05) .12 (−.07) .00 (.00) .21 (+.04) .03 (−.15) .00 (−.02) .01 (−.01) .26 (−.03) .03 (−.15) .16 (−.10) .00 (−.01) .00 (−.01)
.02 (−.04) .07 (−.07) −.01 (−.01) .21 (.00) .01 (−.14) .00 (−.03) .01 (−.02) .24 (+.02) .03 (−.14) .15 (−.08) −.01 (−.01) .00 (.00)
.01 (−.07) .03 (−.15) .00 (−.01) .11 (−.06) .03 (−.13) .01 (−.02) .01 (−.02) .15 (−.07) .03 (−.15) .11 (−.09) .00 (−.01) .00 (−.01)
−.06 −.04 −.03 −.02 −.15 −.02 +.04 −.02 −.16 −.11 .00 −.01
Dendritic cells (6) Langerhans cell Mature regulatory DC (mregDC) cDC1 cDC2 pDC, interferon-producing pDC, lineage program
.23 (−.08) .17 (−.06) .00 (−.01) .03 (.00) .00 (−.04) .36 (−.07)
.24 (−.10) .25 (−.04) .19 (−.08) .18 (−.08) .00 (−.01) −.01 (−.01) .02 (−.01) .03 (.00) .02 (−.20) −.01 (−.10) .35 (−.11) .34 (−.08)
.28 (+.01) .12 (−.13) .01 (−.01) .03 (.00) .00 (−.05) .35 (−.13)
.23 (−.05) .10 (−.15) .00 (−.01) .01 (.00) .00 (−.04) .29 (−.10)
.12 (−.09) .07 (−.15) −.01 (.00) .02 (.00) −.01 (−.07) .31 (−.13)
.20 (−.05) .08 (−.07) .00 (.00) .02 (.00) .00 (−.03) .31 (−.07)
.13 (−.09) .05 (−.09) .01 (.00) .02 (.00) .01 (−.04) .30 (−.07)
.13 (−.10) .02 (−.10) .00 (−.02) .00 (−.02) .00 (−.03) .27 (−.07)
.11 (−.09) .03 (−.08) .00 (−.01) −.01 (−.01) .00 (−.03) .26 (−.12)
.12 (−.11) .05 (−.08) .00 (−.01) .00 (−.01) .00 (−.04) .28 (−.08)
−.07 −.10 −.01 −.01 −.06 −.09
Cancer (9) CD44+ KIT+ cancer stem cell Epithelial cancer stem cell Hormone-receptor+ carcinoma cell Neural stem-like cancer cell Neural-crest-like tumour cell Ovarian carcinoma cell Pluripotency-like cancer stem cell Proliferating glial-like tumour cell SOX9+ CD44+ stem-like cancer cell
.01 (−.09) .52 (−.06) .26 (−.08) .12 (−.13) .51 (−.07) .71 (+.08) .35 (−.09) .54 (−.17) .13 (−.08)
.02 (−.15) .52 (−.04) .27 (−.01) .13 (−.13) .55 (−.03) .67 (+.02) .39 (−.04) .61 (−.01) .12 (−.10)
.04 (−.13) .48 (−.06) .29 (−.04) .14 (−.12) .51 (−.04) .63 (+.03) .37 (−.05) .61 (−.03) .13 (−.08)
.03 (−.15) .54 (−.03) .27 (−.03) .13 (−.14) .53 (−.03) .70 (−.11) .38 (−.06) .53 (−.11) .13 (−.09)
.03 (−.12) .59 (+.06) .29 (+.03) .13 (−.13) .47 (−.12) .67 (+.07) .34 (−.08) .57 (−.09) .12 (−.10)
.01 (−.15) .53 (−.02) .30 (.00) .14 (−.11) .51 (−.04) .64 (+.06) .36 (−.05) .55 (−.07) .12 (−.09)
.02 (−.12) .51 (−.03) .27 (−.09) .12 (−.12) .51 (−.04) .62 (+.09) .37 (−.06) .56 (−.04) .10 (−.11)
.02 (−.09) .53 (.00) .27 (−.02) .05 (−.16) .45 (−.13) .67 (+.12) .29 (−.11) .43 (−.18) .03 (−.14)
.00 (−.05) .45 (−.09) .23 (+.01) .03 (−.04) .07 (−.20) .66 (+.11) .19 (−.08) .55 (−.11) .01 (−.08)
.00 (−.05) .28 (−.29) .22 (.00) .03 (−.09) .21 (−.13) .63 (−.06) .19 (−.12) .45 (−.15) .00 (−.07)
.01 (−.04) .18 (−.39) .28 (+.07) .01 (−.06) .15 (−.35) .57 (+.01) .09 (−.13) .38 (−.01) .01 (−.03)
−.10 −.09 −.02 −.11 −.11 +.04 −.08 −.09 −.09
Other (12) Adipocyte Basal cell Capillary pericyte Endothelial cell FOXI1+ ionocyte Lymphatic endothelial cell MYH11+ perivascular cell Neurovascular unit (endothelium + pericyte) Pancreatic islet endocrine cell RGS5+ mural cell Schwann cell Smooth muscle cell
.30 (−.23) .39 (−.07) .28 (−.11) .14 (−.11) .38 (+.16) .09 (−.03) .31 (−.01) .13 (−.03) .42 (−.27) .25 (−.19) .32 (−.03) .46 (−.10)
.30 (−.19) .46 (+.08) .32 (−.12) .13 (−.12) .36 (+.14) .14 (−.01) .32 (+.01) .13 (−.06) .38 (−.28) .34 (−.12) .24 (−.15) .48 (−.08)
.31 (−.21) .45 (.00) .32 (−.12) .14 (−.11) .34 (+.11) .16 (+.07) .30 (−.01) .14 (−.02) .60 (−.03) .37 (−.14) .27 (−.04) .47 (−.06)
.33 (−.17) .31 (−.07) .32 (−.10) .14 (−.12) .36 (+.13) .08 (−.01) .28 (−.02) .17 (+.02) .46 (−.08) .33 (−.15) .25 (−.05) .51 (−.07)
.32 (−.20) .28 (−.17) .23 (−.17) .10 (−.14) .33 (+.10) .04 (−.03) .33 (.00) .06 (−.01) .22 (−.44) .34 (−.18) .23 (−.08) .46 (−.09)
.31 (−.20) .22 (−.20) .31 (−.14) .10 (−.14) .31 (+.09) .02 (−.23) .28 (.00) .08 (−.01) .40 (−.12) .33 (−.15) .20 (−.16) .43 (−.11)
.46 (−.02) .28 (−.06) .26 (−.18) .11 (−.14) .34 (+.12) .04 (−.04) .28 (+.01) .07 (+.02) .36 (−.20) .33 (−.12) .26 (−.02) .40 (−.14)
.35 (−.18) .14 (−.05) .21 (−.13) .10 (−.13) .24 (+.02) .04 (−.07) .16 (−.12) .01 (−.03) .16 (−.15) .32 (−.16) .18 (−.06) .36 (−.15)
.28 (−.24) .09 (.00) .02 (−.12) .06 (−.17) .06 (−.14) .05 (−.07) .08 (−.07) .01 (−.04) .03 (−.08) .20 (−.17) .17 (−.07) .25 (−.24)
.23 (−.24) .09 (.00) .04 (−.09) .04 (−.18) .07 (−.06) .05 (−.06) .06 (−.08) .01 (−.01) .01 (−.07) .18 (−.25) .18 (−.01) .18 (−.33)
.30 (−.22) .07 (−.01) .02 (−.11) .03 (−.19) .07 (−.08) .07 (−.03) .07 (−.07) .01 (−.02) .02 (−.04) .24 (−.18) .13 (−.08) .08 (−.29)
−.19 −.05 −.13 −.14 +.05 −.05 −.03 −.02 −.16 −.16 −.07 −.15
Mean
.25 (−.05) .25 (−.05)
.25 (−.04)
.26 (−.04)
.22 (−.06)
.22 (−.06)
.22 (−.04)
.19 (−.06)
.13 (−.06)
.11 (−.07)
.11 (−.07)
−.05
Figures 10 and 11 show BioScore and ablation of K and λ in the four settings. BioScore levels off above K ≈ 2,000 in every setting, and the gap between pathology and natural-image models is present at every K and λ.
Figure 10. Effect of K in every setting. BioScore (top) and distinct matched groups (bottom) against K; stars: K = n.
Figure 11. Effect of λ in every setting. BioScore (top) and distinct matched groups (bottom) against λ.
J. Full results per identity The quality Q selects the matched group and penalizes its impurity; here we first report the correlation ρ of that group, which shows more directly how closely it follows a given cell identity. Figure 12 and Tab. 19 show the correlation of the matched group for all 52 identities, of which Fig. 6 shows a selection. Figure 18 and Tab. 28 give the same results with the quality Q.
Figure 12. All 52 identities. As Fig. 6, with the immune identities split into lymphoid, myeloid and dendritic cells; values in Tab. 19.
Table 19. All 52 identities, per encoder. Correlation ρ of the matched group, mean over five seeds; bold: best encoder. Identity
Virchow
H-Opt.-1
Lymphoid (13) Antibody-secreting plasma cell B cell CD138+ BCMA+ plasma cell CD56+ NK cell Checkpoint-high exhausted T cell Cytotoxic T cell Regulatory T cell T cell T follicular helper cell T helper17 cell TOX-driven exhausted T cell Tissue-resident memory T cell Tumour-reactive exhausted T cell
UNI2 Virchow2 UNI GigaPath
Phikon-v2 CHIEF
DINOv3
DINOv2
CLIP
.52 .56 .50 .00 .18 .39 .27 .66 .54 .45 .26 .10 .20
.41 .47 .46 .02 .17 .47 .23 .53 .47 .51 .22 .10 .23
.45 .47 .44 .01 .18 .44 .23 .56 .43 .49 .25 .10 .19
.51 .51 .46 .07 .19 .37 .27 .64 .48 .45 .19 .11 .19
.59 .42 .46 .00 .18 .42 .28 .51 .36 .54 .22 .09 .22
.45 .47 .53 −.02 .17 .43 .23 .56 .49 .50 .17 .10 .19
.54 .59 .52 .06 .19 .43 .25 .71 .41 .52 .18 .10 .17
.34 .69 .40 .15 .17 .47 .26 .73 .41 .41 .19 .09 .14
.20 .52 .15 .09 .13 .19 .15 .65 .21 .31 .08 .08 .05
.17 .46 .14 .09 .09 .22 .20 .53 .26 .30 .09 .08 .04
.25 .59 .24 .04 .10 .35 .22 .52 .29 .42 .05 .08 .06
Myeloid (12) CD16+ monocyte Inflammatory IL-1B macrophage Interferon-activated macrophage Lipid-associated macrophage M2-like macrophage Mast cell Mature neutrophil Monocyte-derived macrophage Perivascular C1Q+ macrophage S100A8/A9+ inflammatory neutrophil Tissue-resident macrophage iNOS+ classically activated macrophage
.30 .29 .19 .50 .21 .03 .11 .58 .26 .49 .45 .03
.26 .34 .27 .53 .29 .02 .15 .62 .25 .48 .40 .00
.29 .37 .24 .48 .28 .02 .10 .60 .28 .43 .48 .02
.29 .35 .18 .47 .24 .02 .16 .54 .28 .45 .47 .06
.26 .33 .01 .44 .27 .01 .17 .55 .29 .44 .45 .00
.25 .32 .18 .49 .26 .01 .14 .59 .27 .41 .46 −.01
.27 .39 .16 .42 .27 .07 .10 .57 .23 .45 .10 .02
.29 .32 .12 .30 .25 .05 .10 .42 .24 .35 .03 .03
.10 .31 .02 .25 .20 .03 .04 .33 .17 .31 .02 .02
.08 .24 .02 .28 .17 .04 .05 .27 .17 .29 .01 .00
.10 .25 .03 .22 .16 .03 .03 .25 .19 .24 .02 .02
Dendritic cells (6) Langerhans cell Mature regulatory DC (mregDC) cDC1 cDC2 pDC, interferon-producing pDC, lineage program
.31 .36 .02 .18 .17 .57
.34 .39 .08 .20 .36 .59
.29 .35 .01 .18 .18 .57
.29 .40 .06 .18 .15 .61
.29 .34 .02 .16 .10 .57
.22 .33 .01 .16 .15 .59
.27 .31 .01 .19 .12 .59
.22 .33 .04 .17 .10 .59
.25 .31 .04 .11 .05 .61
.20 .31 .02 .12 .06 .62
.23 .54 .03 .07 .08 .59
Cancer (9) CD44+ KIT+ cancer stem cell Epithelial cancer stem cell Hormone-receptor+ carcinoma cell Neural stem-like cancer cell Neural-crest-like tumour cell Ovarian carcinoma cell Pluripotency-like cancer stem cell Proliferating glial-like tumour cell SOX9+ CD44+ stem-like cancer cell
.15 .58 .34 .54 .60 .66 .53 .70 .57
.25 .57 .28 .57 .60 .67 .53 .62 .55
.23 .54 .32 .53 .56 .62 .61 .64 .54
.22 .57 .30 .53 .57 .81 .63 .64 .57
.19 .55 .27 .54 .64 .62 .58 .66 .58
.26 .55 .31 .51 .58 .61 .62 .63 .55
.21 .55 .37 .54 .57 .55 .61 .59 .53
.14 .53 .35 .51 .61 .57 .59 .62 .47
.11 .56 .22 .19 .32 .55 .32 .66 .23
.07 .59 .21 .26 .41 .70 .35 .59 .21
.06 .58 .21 .14 .54 .56 .24 .39 .10
Other (12) Adipocyte Basal cell Capillary pericyte Endothelial cell FOXI1+ ionocyte Lymphatic endothelial cell MYH11+ perivascular cell Neurovascular unit (endothelium + pericyte) Pancreatic islet endocrine cell RGS5+ mural cell Schwann cell Smooth muscle cell
.53 .49 .43 .26 .26 .13 .42 .17 .71 .44 .51 .57
.50 .42 .49 .25 .27 .16 .39 .18 .66 .47 .43 .57
.52 .48 .49 .26 .27 .10 .42 .16 .62 .50 .37 .53
.50 .40 .48 .26 .28 .10 .40 .14 .54 .47 .35 .58
.53 .48 .42 .25 .25 .08 .41 .08 .67 .52 .34 .58
.51 .44 .49 .24 .25 .25 .35 .09 .51 .49 .39 .54
.49 .37 .47 .25 .25 .10 .29 .07 .56 .45 .31 .54
.53 .20 .37 .24 .24 .11 .29 .06 .30 .48 .27 .51
.56 .11 .15 .24 .20 .13 .16 .05 .12 .39 .28 .49
.49 .09 .15 .23 .14 .11 .16 .02 .08 .43 .21 .51
.53 .08 .13 .22 .16 .11 .16 .03 .06 .42 .23 .38
Figure 18. All 52 identities, quality Q. Quality Q of the matched group per identity; values in Tab. 28.
Table 28. All 52 identities per encoder, quality Q. Quality Q of the matched group per identity, mean over five seeds; bold: best encoder. Identity
Virchow
H-Opt.-1
Lymphoid (13) Antibody-secreting plasma cell B cell CD138+ BCMA+ plasma cell CD56+ NK cell Checkpoint-high exhausted T cell Cytotoxic T cell Regulatory T cell T cell T follicular helper cell T helper17 cell TOX-driven exhausted T cell Tissue-resident memory T cell Tumour-reactive exhausted T cell
UNI2 Virchow2
UNI
.41 .46 .36 .00 .15 .34 .16 .63 .46 .26 .16 .08 .14
Myeloid (12) CD16+ monocyte Inflammatory IL-1B macrophage Interferon-activated macrophage Lipid-associated macrophage M2-like macrophage Mast cell Mature neutrophil Monocyte-derived macrophage Perivascular C1Q+ macrophage S100A8/A9+ inflammatory neutrophil Tissue-resident macrophage iNOS+ classically activated macrophage
GigaPath Phikon-v2
CHIEF
DINOv3 DINOv2
CLIP
.34 .38 .34 .01 .11 .41 .18 .50 .41 .28 .14 .09 .14
.38 .39 .29 .01 .14 .38 .18 .53 .36 .29 .16 .09 .11
.42 .41 .34 .05 .14 .32 .18 .61 .40 .29 .12 .10 .14
.43 .36 .31 −.01 .12 .35 .19 .48 .28 .29 .13 .09 .09
.36 .39 .39 −.02 .12 .38 .17 .53 .39 .30 .12 .09 .13
.39 .47 .34 .03 .15 .38 .17 .64 .24 .30 .05 .09 .11
.28 .48 .28 .08 .14 .45 .17 .67 .29 .23 .05 .06 .11
.17 .37 .10 .06 .09 .17 .09 .62 .17 .16 .03 .07 .02
.16 .38 .09 .08 .07 .19 .10 .50 .16 .16 .02 .06 .01
.19 .37 .16 .04 .07 .30 .13 .51 .14 .24 .02 .07 .03
.19 .24 .06 .36 .20 .03 .04 .48 .26 .37 .22 .01
.17 .25 .10 .36 .24 .02 .05 .50 .25 .39 .24 −.01
.19 .24 .09 .32 .27 .02 .04 .48 .28 .38 .26 .01
.18 .27 .07 .34 .23 .02 .06 .46 .28 .38 .26 .01
.18 .21 .00 .32 .25 .01 .04 .47 .29 .36 .17 −.01
.17 .25 .04 .34 .25 .01 .04 .49 .27 .39 .22 −.02
.18 .26 .02 .31 .24 .04 .04 .47 .23 .35 .00 .00
.21 .20 .06 .24 .22 .04 .04 .35 .24 .32 .02 .01
.07 .19 .00 .17 .19 .02 .02 .29 .17 .26 .01 .01
.05 .14 .00 .22 .15 .03 .03 .22 .17 .24 .00 .00
.08 .18 .01 .18 .16 .03 .02 .22 .19 .20 .01 .01
Dendritic cells (6) Langerhans cell Mature regulatory DC (mregDC) cDC1 cDC2 pDC, interferon-producing pDC, lineage program
.30 .23 .01 .03 .04 .44
.34 .27 .01 .03 .23 .46
.28 .26 .00 .03 .09 .43
.27 .25 .02 .03 .05 .48
.29 .25 .01 .02 .04 .38
.21 .22 −.01 .02 .06 .44
.25 .15 .00 .02 .03 .38
.21 .15 .02 .02 .05 .37
.23 .12 .02 .02 .03 .34
.20 .11 .01 .01 .02 .38
.22 .13 .02 .01 .04 .35
Cancer (9) CD44+ KIT+ cancer stem cell Epithelial cancer stem cell Hormone-receptor+ carcinoma cell Neural stem-like cancer cell Neural-crest-like tumour cell Ovarian carcinoma cell Pluripotency-like cancer stem cell Proliferating glial-like tumour cell SOX9+ CD44+ stem-like cancer cell
.10 .58 .34 .25 .58 .63 .44 .70 .21
.17 .57 .28 .27 .58 .65 .43 .62 .22
.16 .54 .32 .26 .54 .60 .42 .64 .21
.17 .56 .30 .27 .55 .80 .44 .64 .22
.15 .53 .27 .26 .59 .60 .42 .66 .22
.16 .55 .31 .26 .55 .58 .41 .63 .21
.14 .54 .37 .24 .55 .53 .43 .59 .21
.11 .53 .28 .21 .59 .54 .40 .60 .17
.05 .54 .22 .07 .28 .55 .27 .66 .09
.05 .57 .21 .11 .34 .69 .30 .59 .08
.05 .57 .21 .07 .50 .55 .23 .39 .04
Other (12) Adipocyte Basal cell Capillary pericyte Endothelial cell FOXI1+ ionocyte Lymphatic endothelial cell MYH11+ perivascular cell Neurovascular unit (endothelium + pericyte) Pancreatic islet endocrine cell RGS5+ mural cell Schwann cell Smooth muscle cell
.53 .45 .39 .25 .22 .12 .32 .17 .69 .44 .35 .56
.49 .37 .44 .25 .22 .16 .30 .18 .66 .46 .39 .55
.52 .46 .43 .25 .23 .09 .31 .16 .62 .50 .32 .53
.49 .38 .42 .26 .23 .09 .30 .14 .54 .47 .30 .57
.52 .45 .40 .24 .23 .07 .34 .08 .66 .52 .32 .55
.51 .42 .45 .24 .22 .25 .28 .09 .51 .49 .36 .54
.49 .34 .44 .24 .21 .08 .27 .04 .56 .45 .27 .54
.52 .19 .35 .23 .22 .10 .27 .04 .30 .48 .25 .51
.52 .10 .14 .23 .20 .12 .15 .04 .11 .38 .25 .49
.47 .09 .13 .22 .13 .10 .14 .02 .08 .43 .19 .51
.52 .08 .13 .22 .15 .09 .14 .03 .06 .42 .21 .37
K. Natural-image vs. pathology gap breakdown Tables 20 and 21 detail the gaps between pathology and natural-image models per lineage and per identity, behind Sec. 5.2. Tab. 21 (continued)
Table 21. Gap between the two families per identity. Mean ρ of the matched group over pathology (Path.) and natural-image (Nat.) Cell identity Lineage models, their gap, and the encoder with the best Q. Rows grouped as Cancer (9) SOX9+ CD44+ stem-like cancer cell cancer in Fig. 12.
Path. Nat. Gap Best (Q)
0.54 0.18 0.36 Virchow2 (0.22) Neural stem-like cancer cell cancer 0.53 0.20 0.34 H-Optimus-1 (0.27) Pluripotency-like cancer stem cell cancer 0.59 0.30 0.28 Virchow (0.44) Cell identity Lineage Path. Nat. Gap Best (Q) Neural-crest-like tumour cell cancer 0.59 0.42 0.17 UNI (0.59) Lymphoid (13) CD44+ KIT+ cancer stem cell cancer 0.21 0.08 0.13 Virchow2 (0.17) CD138+ BCMA+ plasma cell immune 0.47 0.18 0.30 Prov-GigaPath (0.39) Hormone-receptor+ carcinoma cell cancer 0.32 0.22 0.10 Phikon-v2 (0.37) Antibody-secreting plasma cell immune 0.48 0.21 0.27 UNI (0.43) Proliferating glial-like tumour cell cancer 0.64 0.55 0.09 Virchow (0.70) T follicular helper cell immune 0.45 0.25 0.19 Virchow (0.46) Ovarian carcinoma cell cancer 0.64 0.60 0.04 Virchow2 (0.80) Cytotoxic T cell immune 0.43 0.25 0.18 CHIEF (0.45) Epithelial cancer stem cell cancer 0.55 0.58 -0.02 Virchow (0.58) Tumor-reactive exhausted T cell immune 0.19 0.05 0.14 Virchow2 (0.14) Other (12) TOX-driven exhausted T cell immune 0.21 0.07 0.14 Virchow (0.16) parenchyma 0.57 0.09 0.49 Virchow (0.69) T helper17 cell immune 0.48 0.35 0.14 Prov-GigaPath (0.30) Pancreatic islet endocrine cell Basal cell epithelial 0.41 0.09 0.32 UNI2 (0.46) Checkpoint-high exhausted T cell immune 0.18 0.11 0.07 Phikon-v2 (0.15) Capillary pericyte stromal 0.46 0.14 0.31 Prov-GigaPath (0.45) Regulatory T cell immune 0.25 0.19 0.06 UNI (0.19) MYH11+ perivascular cell stromal 0.37 0.16 0.21 UNI (0.34) T cell immune 0.61 0.57 0.04 CHIEF (0.67) Schwann cell parenchyma 0.37 0.24 0.14 H-Optimus-1 (0.39) Tissue-resident memory T cell immune 0.10 0.08 0.02 Virchow2 (0.10) FOXI1+ ionocyte epithelial 0.26 0.17 0.09 Virchow2 (0.23) B cell immune 0.52 0.52 -0.00 CHIEF (0.48) Neurovascular unit other 0.12 0.03 0.09 H-Optimus-1 (0.18) CD56+ NK cell immune 0.04 0.07 -0.04 CHIEF (0.08) (endothelium + pericyte) Myeloid (12) Smooth muscle cell stromal 0.55 0.46 0.09 Virchow2 (0.57) Tissue-resident macrophage immune 0.35 0.02 0.34 UNI2 (0.26) RGS5+ mural cell stromal 0.48 0.41 0.07 UNI (0.52) Monocyte-derived macrophage immune 0.56 0.28 0.28 H-Optimus-1 (0.50) Endothelial cell endothelial 0.25 0.23 0.02 Virchow2 (0.26) Lipid-associated macrophage immune 0.45 0.25 0.20 Virchow (0.36) Lymphatic endothelial cell endothelial 0.13 0.12 0.01 Prov-GigaPath (0.25) CD16+ monocyte immune 0.28 0.09 0.18 CHIEF (0.21) Adipocyte parenchyma 0.51 0.52 -0.01 Virchow (0.53) S100A8/A9+ inflammatory neutrophil immune 0.44 0.28 0.16 Prov-GigaPath (0.39) Interferon-activated macrophage immune 0.17 0.02 0.15 H-Optimus-1 (0.10) Perivascular C1Q+ macrophage immune 0.26 0.18 0.09 UNI (0.29) Table 20. Quality per lineage. Mean quality Q per lineage (number Mature neutrophil immune 0.13 0.04 0.09 Virchow2 (0.06) of identities in parentheses). M2-like macrophage immune 0.26 0.18 0.08 UNI2 (0.27) Inflammatory IL-1B macrophage immune 0.34 0.27 0.07 Virchow2 (0.27) Imm. Canc. Strom. Par. Endo. Epi. Oth. iNOS+ classically activated macrophage immune 0.02 0.01 0.01 Virchow2 (0.01) (31) (9) (4) (3) (2) (2) (1) Mast cell immune 0.03 0.03 -0.00 CHIEF (0.04) Virchow .23 .43 .43 .53 .19 .34 .17 Dendritic cells (6) H-Optimus-1 .23 .42 .44 .51 .20 .30 .18 pDC, interferon-producing immune 0.17 0.06 0.10 H-Optimus-1 (0.23) UNI2 .23 .41 .44 .49 .17 .34 .16 cDC2 immune 0.18 0.10 0.08 Virchow2 (0.03) Virchow2 .23 .44 .44 .45 .18 .31 .14 Langerhans cell immune 0.28 0.22 0.05 H-Optimus-1 (0.34) UNI .21 .41 .45 .50 .16 .34 .08 cDC1 immune 0.03 0.03 0.00 DINOv3-L (0.02) Prov-GigaPath .22 .41 .44 .46 .25 .32 .09 pDC, lineage program immune 0.58 0.60 -0.02 Virchow2 (0.48) Phikon-v2 .21 .40 .42 .44 .16 .28 .04 Mature regulatory DC (mregDC) immune 0.35 0.39 -0.04 H-Optimus-1 (0.27) CHIEF .20 .38 .40 .36 .17 .20 .04 DINOv3-L DINOv2-L CLIP
.14 .13 .14
.30 .33 .29
.29 .30 .26
.29 .18 .15 .04 .25 .16 .11 .02 .27 .16 .11 .03
L. BioScore on raw embedding To assert the utility of the SAE step, we compute BioScore on the raw embeddings, without SAE or grouping. With all raw dimensions, BioScore follows the number of units, which grows with the embedding size (Spearman correlation 0.88 between BioScore and embedding size, from 768 to 2560). We therefore give every encoder the same number of units, as the probe of Sec. 4.3 does: each embedding is projected on the top 768 principal components (the smallest embedding size) of the 20× embeddings the SAE is trained on, and each component, scaled to unit variance, is split by sign into two non-negative units, max(0, z) and max(0, −z). These 1,536 units per encoder enter BioScore as the feature groups do (20×/20×, λ = 3). Without seeds, the paired tests use one value per identity and encoder. The raw embeddings lead to the same conclusions as the SAE (Fig. 14 and Tab. 25): every pathology model scores significantly above every natural-image model, the ranking of the encoders stays close to the one with the SAE (Kendall τ = 0.75), and the paired tests separate as many pairs of encoders (31 of 55, against 32). Most notably, the gap between pathology and natural-image models is smaller on the raw embeddings (0.100, against 0.126 with the SAE), and the ranking transitions more smoothly from the top encoders to the worst ones. We argue that the SAE variant, on top of a more confident separation between models, brings value with its interpretability: the unit matched to an identity is a group of sparse features whose activation map can be plotted and reviewed (Fig. 7), whereas a principal component mixes the whole embedding.
Figure 14. Raw embedding dimensions. (a) BioScore on the raw embeddings (top 768 principal components, split by sign), with the compact letter display of the paired tests. (b) Win rate of the row encoder over the column encoder on the raw embeddings (share of the 52 identities with the higher BioScore); bold: Wilcoxon signed-rank, Holm-corrected p < 0.05. Table 25. BioScore per identity on the raw embeddings. Quality Q of the best unit (top 768 principal components, split by sign) for each identity and encoder (20×/20×, λ = 3), and BioScore. Rows grouped as in Fig. 12. Cell identity
Virchow H-Opt.-1
UNI2
Virchow2
UNI
GigaPath Phikon-v2 CHIEF DINOv3 DINOv2
CLIP
Lymphoid (13) Antibody-secreting plasma cell B cell CD138+ BCMA+ plasma cell CD56+ NK cell Checkpoint-high exhausted T cell Cytotoxic T cell Regulatory T cell T cell T follicular helper cell T helper17 cell TOX-driven exhausted T cell Tissue-resident memory T cell Tumour-reactive exhausted T cell
.331 .447 .255 .082 −.014 −.034 .142 .554 .116 .162 .012 .033 .103
.320 .367 .178 .117 .047 −.003 .106 .311 .076 .198 −.003 .043 .020
.264 .364 .198 .169 −.011 .011 .069 .640 .080 .089 −.003 .062 .053
.361 .365 .216 .146 .070 .010 .166 .355 .174 .079 .022 .061 −.017
.216 .240 .176 .122 .004 .019 .031 .323 .087 .046 −.004 .083 −.019
.214 .342 .240 .111 −.012 −.018 .084 .323 .113 .077 −.022 .094 .009
.311 .386 .138 .082 .078 .105 .248 .412 .124 .057 −.019 .066 −.030
.252 .347 .149 .063 .008 −.036 .051 .537 .084 .073 −.046 .010 −.055
.109 .162 .074 .031 −.016 .086 .064 .164 .012 .007 .006 .007 −.045
.111 .245 .014 .070 .010 .009 .063 .228 .039 .032 −.016 −.027 −.034
.152 .258 .141 .150 −.002 −.042 .029 .238 .012 .033 −.034 .021 −.076
Myeloid (12) CD16+ monocyte Inflammatory IL-1B macrophage Interferon-activated macrophage Lipid-associated macrophage M2-like macrophage Mast cell Mature neutrophil Monocyte-derived macrophage Perivascular C1Q+ macrophage S100A8/A9+ inflammatory neutrophil Tissue-resident macrophage iNOS+ classically activated macrophage
−.044 .004 −.063 .020 .018 .047 −.046 .187 .134 .123 −.003 −.068
.032 −.011 −.005 .139 .021 .057 −.002 .310 .153 .245 −.013 −.022
−.018 .012 −.035 .153 −.002 .022 −.008 .322 .108 −.019 −.019 −.065
.059 −.011 −.001 .139 −.006 .065 .028 .275 .142 .235 .009 −.030
.021 −.025 .003 .105 .036 .102 .006 .253 .122 .087 .028 −.032
.163 .004 −.009 .154 −.017 .142 .013 .273 .148 .118 −.021 −.026
.016 .020 .038 .171 .053 .074 .008 .272 .150 .193 −.064 −.035
.022 −.037 −.056 .105 .021 .040 −.053 .095 .178 .235 −.024 .021
−.054 −.071 −.069 .089 .042 .042 −.027 .197 .056 −.030 −.035 −.078
−.023 −.057 −.069 .104 .007 .003 −.042 .127 .033 .041 −.050 −.042
−.038 −.039 −.042 .032 .018 .022 −.043 .088 .042 −.023 −.005 −.074
Dendritic cells (6) Langerhans cell Mature regulatory DC (mregDC) cDC1 cDC2 pDC, interferon-producing pDC, lineage program
.186 .210 −.035 −.035 .008 .367
.298 .143 −.019 −.018 .044 .392
.236 .203 −.041 −.055 .003 .326
.200 .136 −.051 −.022 .036 .318
.140 .155 −.024 −.025 .023 .314
.094 .187 −.022 −.021 −.000 .321
.166 .185 −.059 −.063 .007 .388
.135 .114 −.044 −.059 .016 .350
.091 .044 −.015 −.046 .017 .185
.121 .067 −.061 −.061 −.022 .164
.109 .093 −.053 −.042 −.011 .198
Cancer (9) CD44+ KIT+ cancer stem cell Epithelial cancer stem cell Hormone-receptor+ carcinoma cell Neural stem-like cancer cell Neural-crest-like tumour cell Ovarian carcinoma cell Pluripotency-like cancer stem cell Proliferating glial-like tumour cell SOX9+ CD44+ stem-like cancer cell
.028 .138 .254 .081 −.027 .487 .153 .648 .107
.082 .347 .253 .084 .323 .481 .163 .521 .060
.026 .302 .246 −.008 .256 .411 .087 .648 .055
.076 .246 .146 .086 .083 .642 .114 .393 .124
.038 .267 .193 .015 .108 .582 .040 .809 .021
.026 .240 .204 .001 .143 .541 .087 .669 .063
.034 .235 .310 −.051 .116 .400 .045 .453 .040
.075 .213 .172 −.055 .127 .360 .011 .533 −.020
−.037 .089 .024 −.030 −.003 .338 .011 .318 −.017
−.045 .087 .071 −.053 −.066 .110 .007 .104 −.022
−.022 .084 .021 −.037 .034 .213 −.028 .134 −.004
Other (12) Adipocyte Basal cell Capillary pericyte Endothelial cell FOXI1+ ionocyte Lymphatic endothelial cell MYH11+ perivascular cell Neurovascular unit (endothelium + pericyte) Pancreatic islet endocrine cell RGS5+ mural cell Schwann cell Smooth muscle cell
.281 .293 .077 .070 .093 .085 .346 .101 .132 .148 .252 .082
.464 .246 .118 .174 .081 .162 .417 .043 .206 .074 .245 .236
.429 .309 .039 .084 .077 .076 .411 .101 .195 .242 .322 .160
.298 .224 .155 .100 .114 .126 .434 .091 .160 .103 .297 .162
.291 .219 .025 .201 .095 .086 .258 .028 .159 .072 .281 .064
.318 .081 .040 .059 .085 .086 .260 .101 .140 .075 .285 .135
.385 .115 .096 .069 .077 .103 .294 .064 .237 .138 .304 .131
.416 .029 .054 .095 .051 .066 .206 .042 .117 .036 .173 .051
.530 .008 .001 .108 .029 .081 .213 −.005 .002 .033 .136 .098
.413 −.013 .030 −.011 −.001 .064 .056 −.010 .055 .001 .083 .017
.267 .010 −.010 .015 −.001 .067 .111 .003 .065 .057 .122 .116
BioScore
.165
.206
.197
.184
.158
.155
.169
.123
.092
.054
.064
Related documents
- A gene informed benchmark for BioScoring of pathology foundation models#1775696
- GeneICL: A Tabular Foundation Model for Bulk Transcriptomics#1218486
- GeneICL: A Tabular Foundation Model for Bulk Transcriptomics#1210290
- COMBIO: Automated Discovery of a Compact Composite Biomarker from Routine Laboratory Panels#1625264
- Establishment and Standardization of a Platform for In-depth Tumour Profiling (TUPRO) in Patients With Melanoma#967468
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive