Manuscript Offprint
arXiv:2610.25904Multi-scale Fusion of Fast Vision Mamba and Foundation Model Features for Patch-Level Gleason Grading in Computational Pathology
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Zihe Zhang , Weimiao Yu , and Piumi Don Simonge
Nanyang Technological University, Singapore
Bioinformatics institute, Agency for Science Technology and Research, Singapore
yu_weimiao@a-star.edu.sg, piumi_simonge@a-star.edu.sg
Abstract. Automated Gleason grading of prostate whole slide images (WSIs) enables faster and more consistent cancer risk stratification. However, it remains a challenging task due to the subtle morphological differences between grades, the severe class imbalance arising from rare patterns, and the diagnostic features that span multiple spatial scales. Pathology foundation models (FMs) extract strong patch representations but often operate at a single-scale, which limits spatial context and disproportionately affects classes that depend on broader context. The challenge of fusing multiple scales and complementary models, with minimal data and computational resources, remains unresolved. We propose a multi-scale classifier built on state-space models. Our method combines two complementary feature sources: a frozen foundation model, and a lightweight FastVim, pre-trained on ImageNet and distilled from the foundation model, that reads the raw image crops. At each scale, a Mamba model encodes the features from both sources with linear-time spatial context, and a jointly trained head fuses the encoded representations into one prediction. On the PANDA dataset, our method reaches macro F1 of 0.894 and Gleason 5 F1 of 0.802 under 5-fold cross-validation, a 12% and 21% relative improvement over the best single-scale model. A controlled study over 5 foundation models, 5 base classifiers and 3 scales confirms that the gain holds across encoders, with larger improvements observed at smaller scales.
Keywords: Computational pathology · State-space models · Gleason grading · Foundation models · Multi-scale fusion
1 Introduction
Prostate cancer is the second most commonly diagnosed cancer in men worldwide [17]. Gleason grading of biopsy tissue provides essential prognostic information that guides treatment decisions [4], but it is labour intensive and shows considerable inter-observer variability [10]. Gleason grading assigns prostate cancer tissue into 3 main architectural patterns: Gleason pattern 3, 4, and 5, where
Z. Zhang et al.
higher patterns correspond to progressively poorer glandular differentiation, accompanied by more pronounced cellular atypia [4]. Reliable and reproducible automation of this assessment is therefore clinically valuable.
Deep learning is the standard tool for histopathology image analysis [10], and pathology foundation models (FMs) have become its dominant approach. Pre-trained with heavy self-supervision on large datasets, FMs produce rich patch representations that transfer across downstream tasks. UNI [2] pre-trains a ViT-L/16 with DINOv2 [16] on over 100,000 whole slide images (WSIs), and its successor UNI2 scales further. Virchow [19] scales to a 632M parameter ViT-H/14 trained on 1.5M slides, Virchow2 [21] adds mixed magnification training, and CONCH [13] adds vision-language pre-training.
State-of-the-art FMs are trained at a pre-determined patch size and lose accuracy at substantially different scales [14]. However, Gleason grading is intrinsically multi-scale, relying on cues from cellular detail to glandular and tissue architecture. Since WSIs contain hundreds of thousands of patches, modelling spatial context with attention is quadratic and quickly becomes computationally prohibitive. State-space models (SSMs) such as Mamba [5] process long token sequences in linear time. The vision counterpart of Mamba, Vision Mamba (ViM) [20], extends this architecture to natural image understanding, while pathology-specific variant Vim4Path [15] adapts this architecture for computational pathology. FastVim [8] improves on ViM, maintaining accuracy while achieving up to 72.5% faster inference even at high resolution (2048 × 2048). Beyond efficient context modelling, the remaining question is how to combine scales. Prior multi-scale analysis examines several patch sizes but typically combines the single-scale predictions by ensembling or averaging [3,9], which treats the scales independently and discards their joint structure. Multi-scale fusion of histopathology images in an end-to-end model still remains an open challenge.
To close this gap, we formulate multi-scale patch classification as a single, jointly trained network. Our method draws features from two complementary sources: a frozen FM, and a lightweight FastVim, pre-trained on ImageNet and distilled from the FM, that reads the raw image crops the pooled FM features miss. At each scale, a Mamba encoder adds spatial context, and a jointly trained head fuses the representations from both sources into one prediction, rather than averaging or voting on single-scale outputs. Full details are given in Sec. 2.
We validate our method on the PANDA dataset [1], a large-scale public prostate cohort with pixel-level masks, on a 5-class tissue classification task (see Sec. 3.1). Under 5-fold cross-validation, our method increases macro F1 from 0.796 for the best single-scale model to 0.894, a 12% relative gain, and Gleason 5 F1 from 0.661 to 0.802, a 21% relative gain (Table 1). With minimal resources, our FastVim branch reaches higher throughput than a same-size vision transformer at these input sizes (Table 2), and it is trained on the target cohort alone.

Fig. 1. Overview of the proposed method. Since Virchow2 accepts only its native 256 px input, the 512 px and 1024 px scale representations are formed by averaging the embeddings of the and constituent tiles, respectively. In contrast, the FastVim branch encodes native crops at all three scales directly. The representations from both branches are each encoded by a Mamba encoder and fused into one patch-level prediction, and a per-scale classification head supplies an auxiliary training signal (deep supervision). Only the Mamba encoders, the per-scale classification heads and the fusion head are trained, and the two feature encoders are kept frozen.
2.1 Overview
We frame patch classification as a multi-scale problem, describing each patch at three spatial scales. Our method (Fig. 1) has three parts. Two frozen encoders produce patch features at every scale: a pretrained foundation model, and a lightweight FastVim distilled from it that reads the raw image crops (Sec. 2.2 and 2.3). A Mamba encoder at each scale then adds spatial context from neighbouring patches (Sec. 2.4). Finally, a fusion head combines the encoded representations into a patch-level prediction, and a per-scale classification head provides deep supervision (Sec. 2.5).
2.2 Multi-scale Feature Extraction
The FM branch uses Virchow2 [21], which achieved best performance among 5 state-of-the-art FMs (more details in Sec. 3.3). We feed it patches at its recommended input size of 256 px (0.48 m/pixel, 20×) and each patch is converted to a 1280-dimensional embedding. The larger scales (512 and 1024 px) are defined as the mean of these 256 px embeddings over non-overlapping 2 × 2 and 4 × 4 grids. Let S denote the number of scales, with S=3 throughout. Together, the scales capture local cellular detail, glandular structure, and broader tissue architecture.
Z. Zhang et al.
2.3 FastVim Branch
The pooling above discards fine morphological detail present in the original crops, which cannot be recovered downstream. We therefore add a second branch that reads the image crops directly. To keep it computationally feasible, we use a lightweight ViM, FastVim [8], pre-trained on ImageNet. Among the backbones we compared, FastVim offers the best trade-off between accuracy and throughput at larger inputs (Sec. 3.3, Table 2). It is trained on crops at S scales, each fed at its native size except the smallest patch size (256 px), which is resized to 224 px.
We distill Virchow2 into this branch via knowledge distillation [7], applied independently at each scale. The teacher is the frozen FM with an MLP classifier trained on the same patches, which gives soft targets at each scale and temperature , with so the targets reflect relative class probabilities rather than a hard label. The student, with logits , is trained from its ImageNet initialisation with the loss . This is calculated as the weighted sum of a cross-entropy term (CE) and a Kullback-Leibler divergence term (KL), with weight and ground truth label .
Once trained, the student is frozen and never updated again. We take its penultimate pooled features, of dimension against for the FM branch. Both branches then stay frozen for the remainder of training (Sec. 2.4).
2.4 Scale Encoders and Fusion Head
Each branch provides a -dimensional feature for every patch at each scale . We tile each slide into fixed-length sequences of patches in row-major order, where is unrelated to the patch size, and repeat the coarser-scale features across the finest-scale patches they cover so that all sequences are aligned on the same patch grid.
Each branch and scale has its own Mamba encoder [5] , with , which adds spatial context from neighbouring patches in time and memory. Weights are not shared across scales or across branches, since the two branches differ in feature dimension. We write for the row of the output that corresponds to a given patch.
These representations are concatenated into z, where
and a two-layer fusion head maps to a distribution over the classes. A per-scale classification head predicts from alone, giving deep supervision during training (Sec. 2.5).
Because the fusion head combines the full representations before any single-scale decision, it is more expressive than a fixed scale. A uniform average of predictions weights every class and scale equally, whereas the fusion head learns weights that depend on the class and the scale. Sec. 3.2 reports its margin over this uniform average baseline. The fusion head adds under 1% of the parameters and inference time of the Mamba encoders.
2.5 Training and Computational Cost
We first train FastVim on image crops with distillation from the frozen FM, using temperature T=4 and distillation weight . We then train the Mamba encoders, the classification heads and the fusion head with the loss , computed as the sum of a focal loss on the fused prediction and focal losses on the individual predictions at each scale,
where is the fused prediction, is the prediction of the classification head at scale , and . Both terms are focal losses ( ) with class weights , where is the number of patches of class , to counter the class imbalance. We optimise with AdamW [12] at learning rate , weight decay , batch size 32, for 50 epochs with cosine scheduling, and keep the checkpoint with the best validation balanced accuracy. Each Mamba encoder has four layers with hidden dimension 256 and state size 16, and the fusion head is a two-layer MLP with hidden dimension 128.
3 Experiments and Results
3.1 Dataset and Evaluation
Unless otherwise stated, all experiments use Virchow2, the strongest of the 5 FMs we compare (Sec. 3.4). We evaluate our method on the PANDA dataset [1], which provides 10,508 slides, of which 10,497 have pixel-level tissue masks. We hold out a fixed test set of 2,100 slides and split the remaining 8,397 into 5 folds. Each fold trains on 4 parts and validates on the fifth, giving 5 models that we evaluate on the same held-out test set and average. Splitting is stratified at the slide level by each slide's major Gleason grade, preserving the class distribution. From each slide we extract patches at the 256, 512, and 1024 px scales (Sec. 2.2) and label each patch by the majority class above a 70% threshold, giving about 3.8M patches at the 256 scale. The dataset is severely imbalanced, with 79% normal, 16% stroma, 1.8% Gleason 3 (G3), 3.4% Gleason 4 (G4), and 0.5% Gleason 5 (G5). Fig. S1 in the supplementary material shows the data splits across main experiment and ablation studies (Sec. 3.3) as well as the class distribution across each split. We report balanced accuracy, macro F1, and per-class F1. F1 of the minority class (Gleason 5) is a primary criterion for assessing performance under class imbalance.
Z. Zhang et al.
Table 1. Performance of our multi-scale method compared with single-scale baselines and a multi-scale uniform average. All experiments use the best-performing foundation model, Virchow2, where applicable. Results are mean standard deviation over the 5 folds on the held-out test set. Best value per column in bold.
| Model | Macro F1 | F1 (G5) | Bal. Acc |
|---|---|---|---|
| Single-scale, 256 | 0.794±0.012 | 0.636±0.044 | 0.916±0.003 |
| Single-scale, 512 | 0.796±0.016 | 0.661±0.036 | 0.922±0.004 |
| Single-scale, 1024 | 0.768±0.028 | 0.626±0.080 | 0.929±0.003 |
| Multi-scale (uniform average) | 0.747±0.003 | 0.535±0.019 | 0.923±0.001 |
| Multi-scale (ours) | 0.874±0.001 | 0.784±0.005 | 0.860±0.005 |
| Multi-scale + FastVim (ours) | 0.894±0.002 | 0.802±0.003 | 0.926±0.004 |
3.2 Multi-scale Fusion Results
Table 1 compares the performance of our method with single-scale baselines and a multi-scale uniform average, which averages the class probabilities of the three single-scale models and weights every scale and class equally. The best single-scale reaches macro F1 of 0.796 and Gleason 5 F1 of 0.661, and the uniform average does not improve on this (macro F1 = 0.747), being dominated by the majority-heavy coarse scale. Our method increases macro F1 to 0.874 and Gleason 5 F1 to 0.784, with consistent improvements ( and ) across all folds. However, this improvement is accompanied by a marginal reduction of majority-class recall, resulting in a slightly reduced balanced accuracy of 0.860. By adding the FastVim branch, balanced accuracy is restored to 0.926, on par with the best single-scale, while macro F1 and Gleason 5 F1 increase further to 0.894 and 0.802. The confusion matrix (Fig. 2) shows the remaining errors fall mostly between adjacent Gleason patterns. Further visual inspection shows that some high-grade patches predicted as normal lie at tumour boundaries and appear to be affected by annotation noise, suggesting that part of the balanced accuracy gap reflects label noise rather than model error.
3.3 Ablation Studies
This subsection evaluates two design choices in the absence of the FM branch, comparing candidate backbones for the FastVim branch (Table 2) and testing whether multi-scale fusion generalises across different image encoders (Table 3). To limit the computational cost, the ablation experiments use a single stratified train/validation/test split (70/15/15), which ensures the patch-level class proportion is within 0.54 percentage points of the whole cohort. Since the ablation experiments use a different dataset split from Sec. 3.2, absolute values are not comparable across the two protocols.
Table 2 compares candidate backbones for the FastVim branch at single-scale (1024 crops). The candidates cover the vision transformer, state-space and efficient state-space models at parameters, so the comparison isolates

Fig. 2. Confusion matrix showing that our method classifies most patches correctly and that the remaining errors fall between adjacent Gleason patterns. Each cell is the proportion of a true class (row) predicted as each class (column), so the diagonal gives per-class recall.
Table 2. Backbones for the FastVim branch at 1024 crops (70/15/15 split, not comparable with Table 1). Throughput is measured in patches per second on an A100 GPU.
| Backbone | Macro F1 | QWK | Throughput | #Params |
|---|---|---|---|---|
| DeiT-S (ViT) [18] | 0.621 | 0.597 | 47 | 22M |
| ViM-S [20] | 0.625 | 0.598 | 43 | 26M |
| FastVim-S [8] | 0.665 | 0.631 | 63 | 26M |
| FastVim-S with distillation | 0.700 | 0.672 | 63 | 26M |
the architecture rather than the capacity. Since the Gleason patterns follow a graded histological severity, we report quadratic weighted kappa (QWK), which penalises misclassifications in proportion to their distance from the true grade. We also report throughput, as this branch reads the crops natively and its cost grows with scale. FastVim-S reaches the highest macro F1 and QWK at about 1.5× the throughput of ViM-S. Distilling Virchow2 into FastVim-S increases its macro F1 from 0.665 to 0.700 and QWK from 0.631 to 0.672.
Table 3 shows that applying the proposed multi-scale fusion to four image encoders consistently improves both macro F1 and Gleason 5 F1. Each encoder is frozen and provides features on the 256 px patches. In Table 3 single-scale column uses these features alone, and the fusion column adds the pooled 512 and 1024 px scales. All downstream components remain unchanged. For Virchow2, macro F1 and Gleason 5 F1 increase from 0.717 to 0.852 and from 0.514 to 0.730, respectively. Similar improvements are observed across the vision transformer [18], the convolutional neural network [6], and the state-space [8] encoder. Therefore, we conclude that the fusion improves minority-class performance regardless of the underlying encoder.
Z. Zhang et al.
Table 3. Multi-scale fusion applied to different image encoders, on the 70/15/15 split. Best results per metric in bold.
| Encoder | Macro F1 | F1 (G5) | ||||
|---|---|---|---|---|---|---|
| Single-scale | Fusion | Δ (abs) | Single-scale | Fusion | Δ (abs) | |
| Virchow2 [21] | 0.717 | 0.852 | +0.135 | 0.514 | 0.730 | +0.216 |
| DeiT-S (ViT) [18] | 0.635 | 0.799 | +0.164 | 0.466 | 0.661 | +0.195 |
| ResNet-50 (CNN) [6] | 0.547 | 0.781 | +0.234 | 0.401 | 0.592 | +0.191 |
| FastVim-S (ViM) [8] | 0.649 | 0.824 | +0.175 | 0.524 | 0.656 | +0.132 |
(abs): absolute improvement (Fusion – Single-scale).
a) Base classifier: Mamba

b) Base classifier: patch-level attention

Fig. 3. Change in evaluation metrics across different scales and foundation models, for two base classifiers. (a) Mamba base classifier. (b) Patch-level attention base classifier. Each line is one foundation model, with the mean across models shown in black excluding CONCH, which lacks a 256 px run.
3.4 Effect of Scale, Foundation Model, and Base Classifier
This subsection examines the effects of image scale, the foundation model, and the base classifier on single-scale performance. The 5 base classifiers are a single- and a 3-layer MLP, a Mamba3 [11], and a patch-level attention encoder, each replacing the Mamba encoder. For Virchow2 with the Mamba base classifier, balanced accuracy increases with scale, from 0.916 at 256 to 0.929 at 1024, while macro F1 peaks at 512 (0.796) and falls at 1024 (0.768), because pooling over larger regions separates the majority classes but dilutes the fine detail the minority classes rely on. The Mamba base classifier gives the highest balanced accuracy at every scale and the highest macro F1 at 256 and 512px, which is where the minority classes are best separated, so we adopt it in the fused model. The advantage of the Mamba base classifier over a single MLP shrinks from 0.048 balanced accuracy at 256 to 0.012 at 1024, as larger-scale features already carry regional context. Table S1 in the supplementary material reports balanced accuracy, macro F1, and Gleason 5 F1 across all FM-classifier-scale combinations.
4 Conclusion
We present a computational method for patch-level Gleason grading that encodes FM features at 256, 512, and 1024 scales with Mamba encoders and fuses their representations in one jointly trained network, extended by a distilled FastVim branch that reads the raw image crops. On the PANDA dataset, our method substantially improves macro F1 and minority-class performance over the best single-scale model while keeping balanced accuracy competitive.
Our method has two practical advantages. First, the same fusion improves macro F1 and Gleason 5 F1 for foundation model, vision transformer, convolutional and ViM encoders (Table 3), so it is agnostic to the underlying encoder. Second, current pathology FMs typically operate on a fixed input size, preventing direct encoding of multiple image scales. Our FastVim branch instead processes the native image crops at each scale and improves over the FM branch on every metric, while running faster than a vision transformer of the same size (Table 2) and requiring far less training data and computation than building an FM.
The main limitation is a slightly lower balanced accuracy than the best single-scale, as our model trades some majority-class recall for large gains on the minority (Gleason 5) class. Upon inspection, part of this drop comes from boundary patches that are mislabelled as cancer regions (Sec. 3.2), so we prioritise macro F1 and minority-class F1, which better reflect performance on the rare high-grade tissue. Our method can be further extended in future work to include validation across additional cohorts and scanners, and to develop a self-supervised pathology state-space feature extractor that eliminates the mean pooling step.
Acknowledgments. This work is supported by the Agency for Science, Technology and Research (A*STAR), Singapore with Grant ID H25J6a0011 under the Industrial Alignment Fund Pre-positioning Programme (AIF-PP). The computational work is performed on resources provided by the National Supercomputing Centre, Singapore.
Disclosure of Interests. The authors have no competing interests to declare that are relevant to the content of this article.
Z. Zhang et al.
References
-
Bulten, W., Kartasalo, K., Chen, P.H.C., et al.: Artificial intelligence for diagnosis and Gleason grading of prostate cancer: the PANDA challenge. Nature Medicine 28(1), 154–163 (2022). https://doi.org/10.1038/s41591-021-01620-2
-
Chen, R.J., Ding, T., Lu, M.Y., et al.: Towards a general-purpose foundation model for computational pathology. Nature Medicine 30, 850–862 (2024). https://doi.org/10.1038/s41591-024-02857-3
-
Das, A., Karri, S., Guha Roy, A., Chatterjee, J., Sheet, D.: Classifying histopathology whole-slides using fusion of decisions from deep convolutional network on a collection of random multi-views at multi-magnification. In: IEEE International Symposium on Biomedical Imaging (ISBI). pp. 1024–1027 (2017). https://doi.org/10.1109/ISBI.2017.7950690
-
Epstein, J.I., Egevad, L., Amin, M.B., et al.: The 2014 International Society of Urological Pathology (ISUP) consensus conference on Gleason grading of prostatic carcinoma. American Journal of Surgical Pathology 40(2), 244–252 (2016), https://pubmed.ncbi.nlm.nih.gov/26492179/
-
Gu, A., Dao, T.: Mamba: Linear-time sequence modeling with selective state spaces (2024), https://arxiv.org/abs/2312.00752
-
He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). pp. 770–778 (2016). https://doi.org/10.1109/CVPR.2016.90
-
Hinton, G., Vinyals, O., Dean, J.: Distilling the knowledge in a neural network (2015), https://arxiv.org/abs/1503.02531
-
Kapse, S., Betz, P., Sivanandan, S., et al.: FastVim: Efficient vision Mamba by token pooling (2025), https://arxiv.org/abs/2502.00594
-
Koziarski, M., Cyganek, B., Niedziela, P., et al.: DiagSet: a dataset for prostate cancer histopathological image classification. Scientific Reports 14, 6780 (2024). https://doi.org/10.1038/s41598-024-52183-4
-
van der Laak, J., Litjens, G., Ciompi, F.: Deep learning in histopathology: the path to the clinic. Nature Medicine 27(5), 775–784 (2021). https://doi.org/10.1038/s41591-021-01343-4
-
Lahoti, A., Li, K.Y., Chen, B., Wang, C., Bick, A., Kolter, J.Z., Dao, T., Gu, A.: Mamba-3: Improved sequence modeling using state space principles (2026), https://arxiv.org/abs/2603.15569
-
Loshchilov, I., Hutter, F.: Decoupled weight decay regularization. In: 7th International Conference on Learning Representations (2019), https://arxiv.org/abs/1711.05101
-
Lu, M.Y., Chen, B., Williamson, D.F.K., et al.: A visual-language foundation model for computational pathology. Nature Medicine 30, 863–874 (2024). https://doi.org/10.1038/s41591-024-02856-4
-
Möllers, A., Hense, J., Schulz, F., et al.: Mind the gap: Continuous magnification sampling for pathology foundation models (2026), https://arxiv.org/abs/2601.02198
-
Nasiri-Sarvi, A., Trinh, V.Q.H., Rivaz, H., Hosseini, M.S.: Vim4Path: Self-supervised vision Mamba for histopathology images. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops. pp. 6894–6903 (June 2024), https://arxiv.org/abs/2404.13222
-
Oquab, M., Darcet, T., Moutakanni, T., et al.: DINOv2: Learning robust visual features without supervision. Transactions on Machine Learning Research (2024), https://arxiv.org/abs/2304.07193
-
Sung, H., Ferlay, J., Siegel, R.L., et al.: Global cancer statistics 2020: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA: A Cancer Journal for Clinicians 71(3), 209–249 (2021), https://doi.org/10.3322/caac.21660
-
Touvron, H., Cord, M., Douze, M., et al.: Training data-efficient image transformers & distillation through attention. In: Proceedings of the 38th International Conference on Machine Learning. Proceedings of Machine Learning Research, vol. 139, pp. 10347–10357 (18–24 Jul 2021), https://proceedings.mlr.press/v139/touvron21a.html
-
Vorontsov, E., Bozkurt, A., Casson, A., et al.: A foundation model for clinical-grade computational pathology and rare cancers detection. Nature Medicine 30, 2924–2935 (2024). https://doi.org/10.1038/s41591-024-03141-0
-
Zhu, L., Liao, B., Zhang, Q., et al.: Vision mamba: efficient visual representation learning with bidirectional state space model. In: Proceedings of the 41st International Conference on Machine Learning (2024), https://arxiv.org/abs/2401.09417
-
Zimmermann, E., Vorontsov, E., Viret, J., et al.: Virchow2: Scaling self-supervised mixed magnification models in pathology (2024), https://arxiv.org/abs/2408.00738
Z. Zhang et al.
Supplementary Material
a)

b)
Fig. S1. Data splits and their class distribution. (a) The main split, used for the 5-fold cross-validation experiments presented in Sec. 3.2 and tested on held-out test split. The ablation split, the single 70/15/15 train/validation/test split used in Sec. 3.4. (b) Class distribution within each split, relative to the whole cohort, on a log scale.
Table S1. Evaluation metrics across foundation models, base classifiers, and input scales. Results report the mean held-out test performance across 5-fold cross-validation experiments. BA is balanced accuracy, MF1 is macro F1, and G5 is the F1 of Gleason 5. Since CONCH requires an input size of at least 512 px, results are reported only for patch sizes of 512 px and above. No multi-scale fusion is applied in these experiments.
| FM | Base classifier | 256 px | 512 px | 1024 px | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| BA | MF1 | G5 | BA | MF1 | G5 | BA | MF1 | G5 | ||
| Virchow2 | Single-layer MLP | 0.869 | 0.753 | 0.622 | 0.897 | 0.754 | 0.613 | 0.917 | 0.767 | 0.658 |
| 3-layer MLP | 0.872 | 0.741 | 0.600 | 0.898 | 0.760 | 0.646 | 0.915 | 0.776 | 0.683 | |
| Mamba | 0.916 | 0.794 | 0.636 | 0.922 | 0.796 | 0.661 | 0.929 | 0.768 | 0.626 | |
| Mamba3 | 0.912 | 0.772 | 0.572 | 0.923 | 0.780 | 0.636 | 0.928 | 0.725 | 0.565 | |
| Patch-level attention | 0.909 | 0.775 | 0.623 | 0.925 | 0.794 | 0.684 | 0.928 | 0.771 | 0.681 | |
| UNI | Single-layer MLP | 0.853 | 0.719 | 0.546 | 0.887 | 0.747 | 0.605 | 0.905 | 0.763 | 0.638 |
| 3-layer MLP | 0.857 | 0.708 | 0.544 | 0.891 | 0.731 | 0.588 | 0.910 | 0.756 | 0.651 | |
| Mamba | 0.911 | 0.781 | 0.607 | 0.920 | 0.776 | 0.628 | 0.925 | 0.734 | 0.582 | |
| Mamba3 | 0.913 | 0.774 | 0.597 | 0.917 | 0.777 | 0.641 | 0.928 | 0.744 | 0.585 | |
| Patch-level attention | 0.900 | 0.755 | 0.581 | 0.920 | 0.768 | 0.613 | 0.926 | 0.707 | 0.522 | |
| UNI2 | Single-layer MLP | 0.863 | 0.729 | 0.578 | 0.893 | 0.736 | 0.586 | 0.911 | 0.758 | 0.655 |
| 3-layer MLP | 0.866 | 0.721 | 0.554 | 0.895 | 0.738 | 0.609 | 0.914 | 0.757 | 0.626 | |
| Mamba | 0.913 | 0.780 | 0.596 | 0.921 | 0.763 | 0.629 | 0.928 | 0.741 | 0.627 | |
| Mamba3 | 0.911 | 0.779 | 0.616 | 0.917 | 0.772 | 0.622 | 0.924 | 0.750 | 0.636 | |
| Patch-level attention | 0.901 | 0.765 | 0.608 | 0.920 | 0.765 | 0.634 | 0.926 | 0.710 | 0.575 | |
| Virchow | Single-layer MLP | 0.855 | 0.727 | 0.573 | 0.885 | 0.729 | 0.579 | 0.907 | 0.721 | 0.557 |
| 3-layer MLP | 0.861 | 0.723 | 0.574 | 0.889 | 0.743 | 0.620 | 0.911 | 0.750 | 0.616 | |
| Mamba | 0.910 | 0.760 | 0.577 | 0.918 | 0.768 | 0.623 | 0.923 | 0.730 | 0.608 | |
| Mamba3 | 0.906 | 0.770 | 0.586 | 0.915 | 0.764 | 0.617 | 0.919 | 0.776 | 0.661 | |
| Patch-level attention | 0.899 | 0.744 | 0.582 | 0.917 | 0.751 | 0.602 | 0.920 | 0.739 | 0.602 | |
| CONCH | Single-layer MLP | — | — | — | 0.884 | 0.711 | 0.530 | 0.904 | 0.723 | 0.561 |
| 3-layer MLP | — | — | — | 0.874 | 0.707 | 0.540 | 0.897 | 0.738 | 0.576 | |
| Mamba | — | — | — | 0.903 | 0.715 | 0.508 | 0.911 | 0.735 | 0.580 | |
| Mamba3 | — | — | — | 0.903 | 0.717 | 0.536 | 0.904 | 0.733 | 0.577 | |
| Patch-level attention | — | — | — | 0.921 | 0.716 | 0.481 | 0.910 | 0.721 | 0.503 | |