bioRxivPathologyPreprint
RNA-guided contrastive learning enhances patient-level prediction from histology
Anqi ZouiD, Elaine Huang, Qiyou Wu, Mollie E. BarnardiD, Chao ZhangiD
Abstract
Predicting molecular receptor status, including estrogen receptor (ER), progesterone receptor (PR), and human epidermal growth factor receptor 2 (HER2), directly from routine hematoxylin and eosin (H&E)-stained whole-slide images (WSIs) could reduce reliance on costly immunohistochemistry, but image-only models have no access to the transcriptomic programs that define these subtypes. Here we show that coupling a whole-slide vision transformer (GigaPath) with bulk RNA-sequencing profiles through a training-time-only contrastive objective improves receptor-status classification from WSIs alone, without requiring any RNA-seq data at inference. Rather than training a dedicated bulk-transcriptomics encoder, we purpose the gene-sentence encoding and pretrained text encoder from BioBERT1 and apply them to bulk RNA-seq profiles from The Cancer Genome Atlas breast cancer cohort (TCGA-BRCA). Under five-fold cross-validation, this RNA-guided pre-training consistently improved AUROC for ER, PR, and HER2 relative to a contrastive-pre-training-free baseline and reproducibly introduced receptor-relevant structure into the learned slide representation. However, evaluation on independent external cohorts revealed a striking, receptor-dependent divergence: gains for ER and PR, both governed by broad, multi-gene luminal transcriptional programs, generalized robustly, whereas the apparent AUROC improvement for HER2, driven by focal ERBB2 amplification rather than a coordinated transcriptional signature, masked a severe loss of classification sensitivity at the operating threshold. These findings establish training-time transcriptomic supervision as a practical route to enhancing histology-only molecular subtyping, while showing that gene-selection strategy, and not model architecture alone, determines which molecular alterations such supervision can teach a vision model to recognize.
- organism: human
- assay: spatial transcriptomics
- assay: imaging
- research focus: cell type annotation
- approach: contrastive learning
- Citations
- 0
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
- Direct pathway enrichment prediction from histopathological whole slide images and comparison with gene expression mediated models
Arfa Jabin, Shandar Ahmad·bioRxiv·Mar 4, 2026
- Whole slide image analysis accurately predict tumor infiltrating macrophages and immunotherapy benefit in breast cancer by weakly supervised contrastive learning
Guobang Yu, Yi Zuo, … Hui Liu·bioRxiv·Apr 30, 2023
- Computational pathology infers clinically relevant protein levels and drug response in breast cancer by weakly supervised contrastive learning
Hui Liu, Xiaodong Xie, Bin Wang·bioRxiv·Apr 13, 2023
- Multiple instance learning on tile level-pathologyimages provides accurate and interpretableclassification for breast cancer molecular subtypes
Konstantinos Athanasios Papagoras, Ole Lund, Carolina Barra·bioRxiv·Dec 22, 2025
- Integrated histopathologic modeling of detailed tumor subtypes and actionable biomarkers
Kevin M Boehm, Madison Darmofal, … Francisco Sánchez-Vega·bioRxiv·Aug 14, 2025
- Deep learning trained on H&E tumor ROIs predicts HER2 status and Trastuzumab treatment response in HER2+ breast cancer
Saman Farahmand, Aileen I. Fernandez, … Kourosh Zarringhalam·Modern PathologyPeer-reviewed·Sep 7, 2021