Back

RNA-guided contrastive learning enhances patient-level prediction from histology

Zou, A.; Huang, E.; Wu, Q.; Barnard, M. E.; Zhang, C.

2026-09-30 pathology
10.64898/2026.09.24.754149 bioRxiv
Show 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.

Matching journals

The top 4 journals account for 50% of the predicted probability mass.

50% of probability mass above

"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.