A multimodal foundation model for tissue proteomics and morphology in cancer
Authors: Benedikt von Querfurth, Lukas Klein, Cédric Vincent-Cuaz, Eeshaan Jain, Yexiang Cheng, Johann Wenckstern, Phil F. Cheng, Petros Liakopoulos, Olivier Michielin, Martina Haberecker, Andreas Wicki, Pascal Frossard, Charlotte Bunne
Organizations: School of Computer and Communication Sciences, EPFL, Lausanne, Switzerland · Department of Medical Oncology and Hematology, University Hospital Zurich, Zurich, Switzerland · Faculty of Medicine, University of Zurich, Zurich, Switzerland · School of Engineering, EPFL, Lausanne, Switzerland · Department for BioMedical Research, University of Bern, Bern, Switzerland · Department of Oncology, Geneva University Hospitals, Geneva, Switzerland · Department of Pathology and Molecular Pathology, University Hospital Zurich, Zurich, Switzerland · School of Life Sciences, EPFL, Lausanne, Switzerland
Cancer diagnosis, prognosis, and treatment decisions increasingly rely on integrating tissue morphology with specific molecular readouts of the tumor and its microenvironment. H&E histopathology provides scalable morphology, whereas multiplex spatial proteomics quantifies dozens of proteins in situ with spatial context, but remains selectively deployed, often with different marker panels across cohorts. This creates a translational bottleneck: most patients lack high-depth molecular profiling, and existing models rarely integrate morphology and spatial molecular data in a single framework. We present VirTues-M2, a multimodal foundation model that jointly learns from H&E and spatial proteomics using a novel vision transformer-based architecture. By encoding marker identity during pretraining, VirTues-M2 is robust to missing modalities, imperfect modality pairing or registration, and variable marker panels, enabling unified inference for tissue phenotyping, panoptic cell segmentation, virtual staining, annotation-free biomarker discovery, and reinforcement learning-based adaptive marker panel selection to reduce assay burden. As a concrete demonstration of translational utility, in a newly collected cohort of 1,053 treatment-naive non-small-cell lung cancer (NSCLC) patients with paired spatial proteomics and H&E, VirTues-M2 discovers high-risk and low-risk tissue signatures that stratify overall survival in both the discovery cohort and an independent validation cohort, outperforming current state-of-the-art stratification schemes; all enabled by VirTues-M2's ability to jointly analyze both modalities within a single model.
Figures & tables
Figure 1: Overview of the VirTues-M2 platform. a , Training data composition. Top: Hibou H&E foundation model initialization pretraining data. Bottom: continual pretraining data showing multiplex (mx) with paired H&E tissues and curated H&E crops, with counts of tissues, crops, and cells. b , For continual pretraining, multiplex data distribution across technologies and registration status are shown as stacked bars. Bottom bars shows paired H&E data with registration status as well as the additional 3 million curated crops as a fading bar. c , H&E curation pipeline. From left to right: crops are embedded via an H&E FM, clustered using hierarchical k-means, and stratified-sampled from clusters. UMAP visualization shows cluster centroids colored crop count per cluster. d , Bar chart showing crop distribution in log scale by tissue origin. e , Bar chart showing crop distribution by tissue format (WSI vs. region-of-interest, ROI). f , Architecture overview. Left: protein markers embedded via a protein FM, shown as UMAP colored by associated cell type. Center: multiplex and H&E crops undergo modality-specific tokenization (blue and red pathways, respectively) with positional encodings before joint processing. Right: three SSL objectives shown, i.e., O1: multimodal iBOT (patch-level masked prediction, star symbols indicate predicted tokens), O2: multimodal DINO (crop-level [CLS] alignment), O3: multimodal KDE (letters indicate [CLS] tokens from different samples within the same batch). g , Downstream tasks evaluated with frozen encoder weights (indicated by snowflake): diagnostic and prognostic prediction, unsupervised tissue segmentation, cell phenotyping and segmentation, virtual spatial proteomics staining, marker selection for experimental design, and spatial biomarker discovery. Created in BioRender.
Figure 2: VirTues-M2 embeddings enable accurate clinical predictions and capture complementary tissue features across modalities. a , Clinical prediction evaluation framework. After embedding each crop, crop-level tasks use a linear classifier on single embeddings and ROI-or tissue-level tasks aggregate embeddings via ABMIL. b , Macro-averaged F1 scores for colorectal cancer (CRC) tissue classification across H&E FMs on the Zhu et al. Super cohort. Models are grouped by amount of parameters, highlighting that UNI2-H (681 million parameters) is more than double in size than the other models. c , Macro-averaged F1 scores aggregated across nine H&E benchmark datasets spanning diverse cancer types and prediction tasks. We observe that VirTues-M2 performs statistically similar ( p=0.685 and p=0.0912 ) as the other unimodal models. d , Average ranking of H&E FMs across nine benchmark datasets with the amount of parameters per model. Ordered by average ranking. e , F1-Score of multiplex (mx) FMs on Triple-negative breast cancer (TNBC) response prediction. P-values ( p=0.006 , p=0.012 and p=0.786 ) indicate significant difference on two out of three task between VirTues-M2 and VirTues. VirTues-M2 scores an AUC of 0.760 ± 0.023 on the pre-treatment timepoint. f , Macro-average F1 score across several diverse breast cancer (BC) subtyping tasks on the ROI level. P-values show no significant difference between VirTues-M2 and VirTues model performance. g , Weighted-average F1 score on a Non-Small Cell Lung Cancer (NSCLC) grading task comparing all multimodal and unimodal models. VirTues-M2 performs significant (two-sided two-sample t-test) better than all other unimodal or late-fusion multimodal versions. h , Weighted-average F1 score on a NSCLC subtyping task comparing all multimodal and unimodal models. Multimodal VirTues-M2 performs significant ( p=2.86e−04 ) better than with multiplex data only. i , PCA ( k=3 , mapped to RGB) and k-means ( k=6 ) clustering of H&E, multiplex, and multimodal patch embeddings from Lin et al. Super visualized spatially and in UMAP space. H&E embeddings capture morphological subtypes (e.g., blue box), multiplex embeddings identify molecular phenotypes (e.g., orange box), and multimodal embeddings integrate both feature types. Colors in the UMAP indicate the K-means clusters of the patch tokens. j , Fowlkes-Mallows index measuring cluster similarity (k-means with k=6 ). Brighter color indicates higher similarity. k , Adjusted Mutual Information measuring cluster similarity. Brighter color indicates higher similarity. l , Average cluster compactness across embedding types. Lower values indicate more compact clusters. H&E clusters are spatially compact, multiplex clusters more dispersed, and multimodal clusters intermediate. m , Fragmentation score, the number of spatially connected components per 10k patch tokens; higher values indicate clusters scattered across many small regions rather than few contiguous ones. MX-based clusters are more fragmented than H&E-based ones. n , Silhouette coefficient, measuring how well each patch token fits its own cluster relative to the nearest neighboring cluster ( −1 to 1 ). Values are comparable across all settings, indicating that the higher fragmentation of mx-based clusters does not reflect poorer cluster separation in embedding space. Error bars show 95% bootstrapped ( n=1000 ) CI. Statistical two-sample t-tests are two-sided. Created in BioRender.
Figure 3: Multimodal VirTues-M2 enables accurate cell instance segmentation and phenotyping in one end-to-end pipeline. a , Comparison of conventional segmentation pipelines versus end-to-end VirTues-M2 approach with frozen encoder and trainable multitask decoder. b–d , Benchmarking of multi-modal panoptic segmentation (H&E, multiplex (mx), and multimodal embeddings): b , cell phenotyping performance across seven cell types; c , cell instance segmentation performance (F1-score) at varying IoU matching thresholds; d , qualitative comparison showing that H&E provides accurate instance boundaries while mx enables correct phenotype assignment, with multimodal embeddings combining both strengths. Filled cell colors denote different cell phenotypes. e–g , Panoptic segmentation on multiplex images from the Wang et al. Super cohort: e , phenotyping performance against VirTues, which VirTues-M2 slightly outperforms on macro average while matching it on most phenotypes; f , segmentation performance against InstanSeg and StarDist, which VirTues-M2 outperforms; g , qualitative example compared to ground truth segmentations. h,i , Cell instance segmentation on H&E images from the Hoefflin et al. Super brain tissue cohort: h , quantitative performance, where VirTues-M2 consistently outperforms its counterparts for brightfield cell segmentation across all IoU thresholds; i , qualitative example.
Figure 4: VirTues-M2 enables accurate virtual staining from multiplex and H&E inputs, outperforming supervised approaches in cross-cohort generalization. a , Evaluation framework comparing frozen encoder-based prediction (VirTues-M2, UNI), in which only the decoder is trained on the task (snowflake symbol), against fully supervised models trained from scratch (HEX, ROSIE, HistoPlexer) and VirTues, whose encoder and decoder were jointly pretrained by masked autoencoding (MAE) on multiplex virtual staining (flame symbol). b , Virtual staining from complementary multiplex markers demonstrates high accuracy at the WSI level. c , Multiplex virtual staining performance (Pearson correlation) across 18 cohorts from three primary cancer types (some cohorts include several cancer types). Overall average performance not significant different. d , H&E-based virtual staining performance (Pearson correlation) on a single CRC cohort. Markers are grouped by the extent to which their expression is reflected in H&E morphology, and thus their expected predictability, as assessed by a clinical expert. e , H&E-based virtual staining performance (Pearson correlation) across four cohorts. VirTues-M2 significantly outperformed the supervised baselines on all markers and was matched by UNI only on Hoechst. f , Out-of-distribution (OOD) H&E virtual staining performance (Pearson correlation) on an unseen cancer type (human head and neck squamous cell carcinoma (HNSCC)) and organ (lymph nodes). VirTues-M2 significantly outperforms all other baselines on all markers. g , Qualitative comparison of H&E-based virtual staining on tissue and ROI scale. Error bars show 95% bootstrapped ( n=1000 ) CI. Statistical two-sample t-tests are two-sided.
Figure 6: Automated biomarker discovery using VirTues-M2 identifies multimodal risk signatures that transfer to held-out test set and validation cohort. a , Annotation-free biomarker discovery pipeline using VirTues-M2 embeddings for signature detection via cross-patient cell clustering. The most predictive FM-based signatures, i.e. cross-patient cell clusters, for patient stratification in high and low survival are then selected as low-risk (LRS) and high-risk (HRS) signatures and evaluated on a held-out test set as well as a second NSCLC cohort. b , Kaplan-Meier survival curves comparing patient stratification in LRS, HRS and intermediate-risk signature (IRS) using demographic, diagnostic, H&E morphological and immune cell ratio baselines versus automatically discovered VirTues-M2 signatures from unimodal and combined modalities based on tertiles. The signatures from both modalities show low similarity measured by Pearson ( r ) and Spearman ( ρ ) correlation. c , UMAP visualization of multiplex-derived (mx) cell embeddings showing LRS (lime green) and HRS (purple) signatures occupying distinct regions across cell neighborhoods indicated by colors. d , Distribution of cell types within HRS, LRS and across the whole cohort. e , Log2 enrichment of T cell states within each signature, computed relative to the cohort-wide T cell composition. f , Ratio of neighborhood composition between LRS and HRS: for each cell type (rows), the fraction of its 50 nearest neighbors belonging to each type (columns), divided between the two signatures. Values above 1 indicate more frequent contact in LRS. g , Spatial clustering per cell type, given as the mean nearest-neighbour distance between cells of the same type relative to random placement at equal density; values below 1 indicate aggregation. h , Nuclear morphology and local density of the H&E signature cells, given as z-scores relative to the cohort mean, with representative crops of each signature (colored cells). i , Spatial clustering of each signature in both modalities. j , Kaplan-Meier survival curves on the validation cohort comparing T cell and immune cell ratio baselines to unimodal and combined transferred VirTues-M2 signatures. Patient stratification based on the median. k , Nuclear morphology and local density of predicted H&E signature cells in validation cohort, given as z-scores relative to the cohort mean.
Appendix figures & tables26 assets
Supplementary material from the paper’s appendix.
Appendix
VirTues-M2
Hibou-B
Hibou-L
UNI
UNI2-H
Dataset
BACH 43
0.9408
0.9275
0.9191
0.9002
0.9391
BRACS 40
0.7693
0.7276
0.7614
0.7313
0.7593
SPIDER-breast 41
0.858
0.843
0.8625
0.8425
0.8633
SPIDER-colorectal 41
0.8896
0.8798
0.8815
0.8716
0.8762
SPIDER-skin 41
0.8847
0.8999
0.9164
0.8864
0.9173
Appendix
Table S1 : Macro F1 scores across 9 H&E datasets. VirTues-M2 achieves the highest average score.
VirTues-M2
Hibou-B
Hibou-L
UNI
UNI2-H
Dataset
BACH 43
0.9400
0.9275
0.9200
0.9000
0.9400
BRACS 40
0.7802
0.7407
0.7720
0.7438
0.7716
SPIDER-breast 41
0.8881
0.8750
0.8920
0.8744
0.8918
SPIDER-colorectal 41
0.8904
0.8808
0.8831
0.8732
0.8770
SPIDER-skin 41
0.8818
0.8996
0.9209
0.8888
0.9242
Appendix
Table S2 : Balanced accuracy scores across 9 H&E datasets.
Table S3 : Further results on clinical tasks of Wang et al. Super .
Table S4 : Further results on clinical tasks of Danenberg et al. Super .
Table S5 : Further results on clinical tasks of Cords et al. Super .
Figure S5 : Further exemplary unsupervised clustering maps based on H&E, multiplex and multimodal embeddings of VirTues-M2.
Figure S7 : Further exemplary panoptic segmentation maps based on multimodal, multiplex and H&E inputs.
Table 13Table 14
Protein
n
Pearson r
Spearman r
SSIM
M2
VT
M2
VT
M2
VT
Cytokeratin 8/18
6
0.657
0.606
0.554
0.522
0.484
-0.051
CD45RO
3
0.702
0.689
0.668
0.642
0.433
0.217
Histone H3
9
0.710
0.653
0.698
0.663
0.497
0.198
Estrogen Receptor Alpha
3
0.707
0.678
0.706
0.705
0.500
0.124
CD14
2
0.665
0.676
0.626
0.633
0.429
0.323
Appendix
Table S17 : Multiplex virtual staining performance on Breast cohorts (9 datasets, 102 markers). M2 denotes VirTues-M2 and VT denotes VirTues. Metrics are averaged over tiles within a dataset, then over datasets with equal weight; n is the number of datasets in which the marker is measured. Bold marks the better model.
Protein
n
Pearson r
Spearman r
SSIM
M2
VT
M2
VT
M2
VT
Actin
1
0.828
0.477
0.894
0.708
0.768
0.121
CHROMOGRANIN A
1
0.761
0.517
0.567
0.392
0.498
0.136
CD5
1
0.758
0.666
0.780
0.696
0.533
0.328
CD123
1
0.746
0.388
0.785
0.481
0.485
-0.125
CD2
1
0.741
0.748
0.738
0.706
0.504
0.041
Appendix
Table S18 : Multiplex virtual staining performance on CRC cohorts (6 datasets, 87 markers). M2 denotes VirTues-M2 and VT denotes VirTues. Metrics are averaged over tiles within a dataset, then over datasets with equal weight; n is the number of datasets in which the marker is measured. Bold marks the better model.
Protein
n
Pearson r
Spearman r
SSIM
M2
VT
M2
VT
M2
VT
CD183
1
0.855
0.752
0.859
0.755
0.521
0.379
CD63
1
0.727
0.664
0.791
0.741
0.438
0.286
Cytokeratin 8/18
2
0.707
0.508
0.692
0.528
0.498
0.018
S100A8
1
0.720
0.586
0.739
0.668
0.560
0.239
CD45RO
4
0.700
0.674
0.673
0.655
0.489
0.289
Appendix
Table S19 : Multiplex virtual staining performance on Lung cohorts (7 datasets, 87 markers). M2 denotes VirTues-M2 and VT denotes VirTues. Metrics are averaged over tiles within a dataset, then over datasets with equal weight; n is the number of datasets in which the marker is measured. Bold marks the better model.
Figure S11 : Qualitative virtual staining examples for four crop level samples on 26 clinical relevant markers. We observe that VirTues-M2 achieves more sharp prediction, presumably as it is not only trained on a masked inpainting but full inpainting task.
Protein
n
VirTues-M2
VM2 with UNI
ROSIE
HistoPlexer
HEX
Easy
Hoechst
4
0.907
0.892
0.657
0.700
0.217
PanCK
4
0.633
0.597
0.429
0.126
0.140
Moderate
CD31
4
0.383
0.308
0.170
0.031
0.061
CD45
4
0.571
0.508
0.437
0.209
0.177
Appendix
Table S20 : Pearson correlation for H&E-based virtual staining across 11 markers. Scores are averaged over tiles within each of the 4 cohorts, then over cohorts with equal weight; n is the number of contributing cohorts. Bold marks the best model per marker.
Protein
n
VirTues-M2
VM2 with UNI
ROSIE
HistoPlexer
HEX
Easy
Hoechst
4
0.863
0.855
0.664
0.576
0.000
PanCK
4
0.492
0.518
0.404
0.116
0.000
Moderate
CD31
4
0.292
0.288
0.197
0.043
0.001
CD45
4
0.551
0.541
0.412
0.184
0.000
Appendix
Table S21 : Spearman correlation for H&E-based virtual staining across 11 markers. Scores are averaged over tiles within each of the 4 cohorts, then over cohorts with equal weight; n is the number of contributing cohorts. Bold marks the best model per marker.
Protein
n
VirTues-M2
VM2 with UNI
ROSIE
HistoPlexer
HEX
Easy
Hoechst
4
0.780
0.752
0.437
0.513
0.244
PanCK
4
0.618
0.650
0.590
0.500
0.257
Moderate
CD31
4
0.626
0.665
0.607
0.563
0.334
CD45
4
0.508
0.527
0.443
0.469
0.287
Appendix
Table S22 : SSIM for H&E-based virtual staining across 11 markers. Scores are averaged over tiles within each of the 4 cohorts, then over cohorts with equal weight; n is the number of contributing cohorts. Bold marks the best model per marker.
Figure S12 : Qualitative virtual staining examples for two crop-size samples on 12 markers. We observe strong differences between the models. The results based on ROSIE and UNI are less sharp and in case of ROSIE often predict intensity at the wrong location. While HistoPlexer can produce sharp, pixel level virtual stainings, often the predicted location of marker intensity is wrong. We observe these errors mainly as the methods can not well generalize across datasets and organs. The HEX predictions (with 50% overlap during inference) show the crop based mean marker expressions.
Protein
n
VirTues-M2
UNI
ROSIE
HistoPlexer
HEX
Easy
Hoechst
4
0.923
0.866
0.697
0.881
0.425
α SMA
4
0.577
0.527
0.350
0.325
0.174
PanCK
4
0.785
0.774
0.569
0.598
0.366
Moderate
CD31
4
0.411
0.391
0.252
0.159
0.127
Appendix
Table S23 : Pearson correlation for H&E-based virtual staining on the hickey2023organization cohort across 12 markers. Scores are means over tiles; n is the tile count. Bold marks the best model per marker.
Protein
n
VirTues-M2
UNI
ROSIE
HistoPlexer
HEX
Easy
Hoechst
4
0.869
0.716
0.813
0.740
0.558
α SMA
4
0.450
0.261
0.312
0.341
0.309
PanCK
4
0.637
0.221
0.535
0.482
0.480
Moderate
CD31
4
0.158
0.100
0.239
0.006
0.309
Appendix
Table S24 : Spearman correlation for H&E-based virtual staining on the hickey2023organization cohort across 12 markers. Scores are means over tiles; n is the tile count. Bold marks the best model per marker.
Protein
n
VirTues-M2
UNI
ROSIE
HistoPlexer
HEX
Easy
Hoechst
4
0.787
0.738
0.477
0.748
0.265
α SMA
4
0.569
0.509
0.559
0.696
0.169
PanCK
4
0.682
0.608
0.462
0.733
0.403
Moderate
CD31
4
0.659
0.704
0.648
0.737
0.476
Appendix
Table S25 : SSIM for H&E-based virtual staining on the hickey2023organization cohort across 12 markers. Scores are means over tiles; n is the tile count. Bold marks the best model per marker.
Protein
n
VirTues-M2
UNI
ROSIE
HistoPlexer
HEX
Easy
Hoechst
86
0.793
0.708
0.446
0.658
0.047
PanCK
86
0.291
0.181
0.061
0.012
0.030
Moderate
CD31
86
0.214
0.112
0.065
0.017
0.018
CD45
86
0.302
0.177
0.175
0.131
0.040
Appendix
Table S26 : Pearson correlation for H&E-based virtual staining on the OOD haist2026lymph cohort across 10 markers. Scores are means over tiles; n is the tile count. Bold marks the best model per marker.
Protein
n
VirTues-M2
UNI
ROSIE
HistoPlexer
HEX
Easy
Hoechst
86
0.707
0.633
0.405
0.521
0.043
PanCK
86
0.268
0.216
0.054
0.024
0.028
Moderate
CD31
86
0.127
0.113
0.048
0.044
0.002
CD45
86
0.283
0.210
0.167
0.084
0.033
Appendix
Table S27 : Spearman correlation for H&E-based virtual staining on the OOD haist2026lymph cohort across 10 markers. Scores are means over tiles; n is the tile count. Bold marks the best model per marker.
Protein
n
VirTues-M2
UNI
ROSIE
HistoPlexer
HEX
Easy
Hoechst
86
0.433
0.346
0.175
0.430
0.079
PanCK
86
0.326
0.346
0.322
0.367
0.162
Moderate
CD31
86
0.401
0.528
0.465
0.553
0.168
CD45
86
0.305
0.299
0.191
0.283
0.237
Appendix
Table S28 : SSIM for H&E-based virtual staining on the OOD haist2026lymph cohort across 10 markers. Scores are means over tiles; n is the tile count. Bold marks the best model per marker.
Figure S15 : Exemplary tumor cores of high- and low-risk signatures. Five representative cores per signature. a , H&E cores with signature cells outlined in color and all other cells in gray. b , multiplex cores with cell masks colored by annotated cell type and signature cells outlined. Low-risk cores contain dense lymphoid regions, whereas high-risk cores are dominated by tumor and stroma.
Dataset
Patients
#WSIs
#Crops pre-curation
#Crops post-curation
GTEx
949
9,645
15,000,436
1,724,380
TCGA-BRCA
1,055
1,126
2,814,584
188,296
TCGA-KIRC
513
519
1,815,869
150,038
TCGA-LUSC
478
512
1,576,557
67,335
TCGA-LUAD
468
531
1,622,014
104,264
TCGA-COAD
433
441
901,257
105,240
Appendix
Table S30 : Overview of the curated H&E-only dataset constructed using a hierarchical clustering.
Hyperparameter
Value
Mx tok. layers
2
Mx tok. heads
8
Mx tok. embedding dim.
1024
Mx tok. feedforward dim.
2048
Layers
24
Heads
16
Appendix
Table S31 : Hyperparameters used for VirTues-M2 and the multi-modal DINOv2 pretraining.
Pathology foundation models are pretrained AI systems that learn reusable tissue-image representations for diagnosis, biomarker discovery, and clinical workflows.
Program of Computational Biology and Bioinforamtics, Yale University, USA · Broad Institute of MIT and Harvard, USA · These authors contributed equally to this work. +12