bioRxivBioinformaticsPreprint
Predicting Spatial Transcriptomics from H&E Image by Pretrained Contrastive Alignment Learning
Jiawei ZouiD, Kai XiaoiD, Zexi CheniD, Jiazheng PeiiD, Jing Lin XuiD, Tao CheniD, Likun HouiD, Chunyan WuiD, Yunlang SheiD, Zhiyuan YuaniD, Luonan CheniD
Abstract
The intricate molecular landscape within tissues holds crucial information about cellular behavior and disease progression, yet capturing this complexity at a spatial level remains challenging. While Spatial transcriptomics (ST) offers valuable insights into gene expression patterns within their native tissue context, its widespread adoption is hindered by high costs and limited gene detection capabilities. Here we introduce CarHE (Contrastive Alignment of gene expRession for hematoxylin and eosin image), a method that overcomes these limitations by accurately predicting high-dimensional ST data (over 10,000 genes) solely from readily available H&E (Hematoxylin and Eosin) stained images. This novel pre-trained architecture employs contrastive learning through two mechanisms: cell-type-based transcriptomics information transfer and image-based histology information transfer. These mechanisms precisely align image features with spatial single-cell gene expressions, achieving prediction accuracies exceeding 0.7 (up to 1.7 folds compared to second best) across diverse tissue types and species. CarHEs superior performance extends to identifying subtle pathological features such as tertiary lymphoid structures in various cancers, including breast cancer, lung cancer, melanoma and ccRCC (clear cell renal cell carcinoma), and reconstructing 3D spatial transcriptomics from images alone, offering a cost-effective and robust alternative for large-scale spatial transcriptomics. We further validated CarHEs effectiveness by predicting DFS (Disease-Free Survival) from >1,600 lung cancer patients HE images, achieving a significantly higher AUC (Area Under the Receiver Operating Characteristic Curve) of 0.73 compared to state-of-the-art alternatives (0.58-0.64).
- organism: human
- assay: spatial transcriptomics
- assay: imaging
- research focus: cell-cell communication
- research focus: spatial domain detection
- approach: contrastive learning
- Citations
- 3
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
- 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
- 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
- sCellST: a Multiple Instance Learning approach to predict single-cell gene expression from H&E images using spatial transcriptomics
Loïc Chadoutaud, Marvin Lerousseau, … Thomas Walter·bioRxiv·Nov 7, 2024
- Gene Expression Prediction from Histology Images via Hypergraph Neural Networks
Bo Li, Yong Zhang, … Qianqian Song·Briefings in BioinformaticsPeer-reviewed·Sep 23, 2024
- H&Enium, Applying Foundation Models to Computational Pathology and Spatial Transcriptomics to Learn an Aligned Latent Space
Marc Glettig, Tim Ehrensperger, … Valentina Boeva·bioRxiv·Jul 22, 2025
- Spatial Transcriptomics Expression Prediction from Histopathology Based on Cross-Modal Mask Reconstruction and Contrastive Learning
Junzhuo Liu, Markus Eckstein, … Dorit Merhof·Medical Image AnalysisPeer-reviewed·Nov 25, 2025