STPath: a generative foundation model for integrating spatial transcriptomics and whole-slide images
Open Access
- 14 November 2025
- journal article
- research article
- Published by Springer Nature in npj Digital Medicine
- Vol. 8 (1) , 659
Abstract
Spatial transcriptomics (ST) offers insights into gene expression patterns and their spatial context within the tumor microenvironment, but remains limited by the scalability of current sequencing technologies. Existing approaches infer ST from whole-slide images (WSIs) using pretrained encoders, yet are restricted by narrow gene coverage, organ-specific training, and dataset-specific fine-tuning. In light of this, we present STPath, a generative foundation model pretrained on large-scale WSIs paired with ST profiles. This extensive pretraining enables STPath to directly predict gene expression across 38,984 genes and 17 organs without downstream fine-tuning. STPath integrates histology images, gene expression, organ type, and sequencing technology modality within a geometry-aware Transformer, trained via masked gene expression prediction with tailored noise schedules to capture gene-gene dependencies and enable high-quality inference. Evaluated on six tasks spanning 23 datasets and 14 biomarkers, including expression prediction, spot imputation, spatial clustering, biomarker prediction, mutation prediction, and survival prediction, STPath demonstrates strong applicability for scalable ST-based pathology applications.Keywords
All Related Versions
This publication has 75 references indexed in Scilit:
- Spatial Transcriptomics Reveal Pitfalls and Opportunities for the Detection of Rare High-Plasticity Breast Cancer SubtypesLaboratory Investigation, 2023
- Head and neck cancerThe Lancet, 2021
- Tumor microenvironment as a therapeutic target in cancerPharmacology & Therapeutics, 2020
- A distinctive approach in brain tumor detection and classification using MRIPattern Recognition Letters, 2020
- Spatial Transcriptomics and In Situ Sequencing to Study Alzheimer’s DiseaseCell, 2020
- GPRC5A is a potential oncogene in pancreatic ductal adenocarcinoma cells that is upregulated by gemcitabine with help from HuRCell Death & Disease, 2016
- The CPTAC Data Portal: A Resource for Cancer Proteomics ResearchJournal of Proteome Research, 2015
- Classification and prognosis of invasive breast cancer: from morphology to molecular taxonomyLaboratory Investigation, 2010
- A review of the S100 proteins in cancerEuropean Journal of Surgical Oncology, 2008
- Human colonic adenocarcinoma cellsIn Vitro Cellular & Developmental Biology - Plant, 1976