STP-BENCH: A Unified Systematic Benchmark for Virtual Spatial Transcriptomics from Histopathology Images
Organizations: Department of Artificial Intelligence, Sungkyunkwan University, Suwon, Republic of Korea · Department of Pathology, Mass General Brigham, Harvard Medical School, Boston, MA, USA · Department of Precision Medicine, School of Medicine, Sungkyunkwan University, Suwon, Republic of Korea · Department of Translational Molecular Pathology and Division of Pathology and Laboratory Medicine, The University of Texas MD Anderson Cancer Center, Houston, TX, USA ·
Abstract
Spatial transcriptomics (ST) provides unprecedented insights into tumor heterogeneity by capturing spatially resolved gene expression, yet its high experimental cost hinders large-scale adoption. Consequently, computational approaches that predict spatial gene expression directly from hematoxylin and eosin slides, termed virtual ST, have rapidly emerged. Despite this progress, assessing advances in the field remains difficult due to insufficient benchmarking: prior studies rely on small, heterogeneous datasets, inconsistent training and inference pipelines, and limited evaluation of biological interpretability and model robustness. To address these gaps, we present STP-BENCH, a standardized benchmark for virtual ST models. STP-BENCH comprises six cancer types spanning two ST platforms (Visium and Xenium), with each training dataset containing more than 30,000 spots and at least 15 slides to ensure statistical reliability. We evaluate 21 predictive approaches, re-implemented with a unified pathology foundation model as the morphological encoder when architecturally applicable. Beyond conventional benchmarks that report average predictive accuracy on highly variable genes, we systematically examine which genes and gene sets are recoverable from histomorphology. We further evaluate the downstream biological utility of predicted profiles through cell-type deconvolution and spatial domain identification, and assess model reliability under domain shifts and data scaling. Notably, unified morphological encoding substantially re-orders model rankings established in prior studies, indicating that architectural innovations and image encoding have been conflated in previous evaluations. We publicly release STP-BENCH to support reproducibility and serve as a community benchmark at https://github.com/NEXGEM/STP-Bench.
Figures & tables
| Dataset | Source | Cancer type | Platform | Slides | Patients | Total spots |
|---|---|---|---|---|---|---|
| STP-Bench-Internal | ||||||
| HEST-PRAD-Visium | HEST-1K | PRAD | Visium | 23 | 2 | 62,710 |
| WUSTL-BRCA-Visium | WUSTL | IDC | Visium | 47 | 21 | 157,138 |
| NCCHE-LUAD-Xenium | NCCHE | LUAD | Xenium | 16 | 16 | 34,519 |
| NCCHE-LUAD-Visium | NCCHE | LUAD | Visium | 43 | 30 | 96,954 |
| HEST-CCRCC-Visium | HEST-1K | RCC | Visium | 24 | 24 | 74,220 |
| Model | Input type (histology structure) | Learning approach | Core model architecture | Foundation model available | Baseline model | Metric | Dataset | Data platform | Gene selection (number) | Sample num (Patient num) | Patch num | Disease status |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ST-Net | Target | Regression | DenseNet-121 | X | – | PCC, RMSE | ST-Net dataset | ST | HEG (250) | 68 (23) | 30,612 | Breast cancer |
| HisToGene | Target / Global | Regression | Transformer | O | ST-Net | PCC | Her2+ / cSCC | ST / ST | HVG (785) / HVG (134) | 32 (7) / 12 (4) | 13,594 / 8,671 | Breast / Skin cancer |
| EGN | Target / Retrieval | Regression | Transformer | O | ST-Net, NSL, ViT, MPViT, CycleMLP, Retro, ViTExp | MSE, MAE, PCC@F/S/M | ST-Net dataset | ST | HEG (250) | 68 (23) | 30,612 | Breast cancer |
| BrSTNet | Target | Regression | CNN, Transformer | O | ResNet, Inception, EfficientNet, ViT | MAE, RMSE, PCC | ST-Net dataset | ST | HEG (250) | 68 (23) | 30,612 | Breast cancer |
| CFANet | Target / Global | Regression | CNN, Attention | O | ST-Net, NSL, ViT, CycleMLP, MPViT, EGN, EGGN | MSE, MAE, PCC@F/S/M | ST-Net dataset / 10x Genomics | ST / Visium | HEG (250) | 68 (23) / 6 | 30,612 / 32,032 | Breast cancer |
| EGGN | Target / Retrieval | Regression | GNN | O | ST-Net, NSL, ViT, CycleMLP, MPViT, Retro, ViTExp, EGN | MSE, MAE, PCC@F/S/M | ST-Net dataset | ST | HEG (250) | 68 (23) | 30,612 | Breast cancer |
| Model | Pretrain size | Pretrain dataset detail | Magnification | SSL | Model architecture | Model size | Year |
|---|---|---|---|---|---|---|---|
| H-Optimus1 | 1M+ | 50 organs, 800,000 patients | 20x | DINOv2 | ViT-g/14 | 1.1B | 2025 |
| Virchow2 | 3.1M | 150+ tissues, 225,401 patients, H&E + IHC | 5x, 10x, 20x, 40x | DINOv2 | ViT-H/14 | 632M | 2024 |
| UNIv2 | 350k+ | 20+ organs, H&E + IHC | 20x | DINOv2 | Modified ViT-H/14 | 681M | 2024 |
| CTransPath | 30k | 32 cancer subtypes, 10,953 patients | 10x | SRCL | CNN+Swin-Transformer | 28M | 2021 |
Gene Expression Prediction from Histopathology Images
Gene expression prediction from histopathology images links H&E tissue morphology to molecular profiles, enabling virtual spatial transcriptomics without sequencing every sample.
See all 45 papers