Nature CommunicationsBioinformaticsPeer-reviewed journal article
STimage: Robust, confident and interpretable models for predicting gene markers from cancer histopathological images
Xiao TaniD, Onkar MulayiD, Jacky XieiD, Samual MacDonaldiD, Taehyun Kim, Chenhao ZhouiD, Zherui XiongiD, Samuel X. TaniD, Nan YeiD, Amy E. McCart ReediD, Kiarash KhosrotehraniiD, Fred RoostaiD, Maciej TrzaskowskiiD, Peter T. SimpsoniD, Quan Hoang NguyeniD
Abstract
Spatial transcriptomic (ST) imaging and sequencing data enable us to link tissue morphological features with thousands of previously unseen gene expression values, opening a new horizon for understanding tissue biology and achieving breakthroughs in digital pathology. Deep learning models are emerging to predict gene expression or classify cell types using images as the sole input. Such models hold significant potential for clinical applications, but require improvements in interpretability and robustness. We developed STimage as a comprehensive suite of models for both regression (predicting gene expression) and classification (mapping tissue regions and cell types) tasks. STimage is the first to thoroughly address robustness (uncertainty) and interpretability. For robustness, STimage predicts gene expression based on parameter distributions rather than fixed data points, allowing for generalisation at a population scale. STimage estimates uncertainty from the data (aleatoric) and from the model (epistemic) for each of thousands of imaging tiles. STimage achieves interpretability by analysing model attribution at a single-cell level, and in the context of histopathological annotation. While existing models focus on predicting highly variable genes, STimage predicts functional genes and identifies highly predictable genes. Using diverse datasets from three cancers and one chronic disease, we assessed the models performance on in-distribution and out-of-distribution samples. STimage is robust to technical variations across platforms, data types, sample preservation methods, and disease types. Further, we implemented an ensemble approach, incorporating pre-trained foundation models, to improve performance and reliability, especially in cases with small training datasets. With single-cell resolution Xenium data, STimage could classify cell types for millions of individual cells. Applying STimage to proteomics data such as CODEX, we found that STimage can predict gene expression consistent with protein expression patterns. Finally, we showed that using STimage-predicted values based solely on imaging input, we could stratify patient survival groups. Overall, STimage advances spatial transcriptomics by improving the prediction of gene expression from traditional histopathological images, making it more accessible for tissue biology research and digital pathology applications.
- organism: human
- assay: spatial transcriptomics
- research focus: gene regulatory network inference
- research focus: cell type annotation
- approach: deep learning
- Citations
- 19
- FWCI
- 24.63
- Field percentile
- top 1%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Spatial Transcriptomics Prediction from Histology jointly through Transformer and Graph Neural Networks
Yuansong Zeng, Zhuoyi Wei, … Yuedong Yang·Briefings in BioinformaticsPeer-reviewed·Jul 17, 2022
- Leveraging information in spatial transcriptomics to predict super-resolution gene expression from histology images in tumors
Minxing Pang, Kenong Su, Mingyao Li·bioRxiv·Nov 28, 2021
- STPath: A Generative Foundation Model for Integrating Spatial Transcriptomics and Whole Slide Images
Tinglin Huang, Tianyu Liu, … Wengong Jin·npj Digital MedicinePeer-reviewed·Nov 14, 2025
- Explainable Prototype Booster: Enhancing Latent Representations of Foundation Models for Gene Expression Prediction
Chaoyi Li, Quan Hoang Nguyen·bioRxiv·Apr 29, 2026
- Generalization of deep learning models for predicting spatial gene expression profiles using histology images: A breast cancer case study
Yuanhao Jiang, Jacky Xie, … Quan Hoang Nguyen·bioRxiv·Sep 20, 2023
- PRESTIGE-ST: Patch Resolution and Encoder STrategies for Inference of Gene Expression from Spatial Transcriptomics
Maninder Kaur, Amit Kumar, … Sukrit Gupta·International Workshop on Multimedia Computing for Health and Medicine (MCHM)Peer-reviewed·Oct 21, 2025