TL;DR
Routine tissue slides (H&E) show what a tumor looks like, while specialized stains and molecular profiles reveal how it behaves at the genetic and protein levels—yet no single public dataset has all four data types for the same patients. This paper introduces a clever "staged" pretraining pipeline that uses standard H&E images as a universal visual anchor to stitch together disjoint cancer datasets without inventing fake data. The payoff? Once trained, the model can look at a basic, inexpensive H&E slide alone and infer subtle molecular properties, like precise HER2 breast cancer scores and expressed proteins.
What Problem Does This Paper Address?
When diagnosing breast cancer, pathologists rely heavily on assessing HER2—a protein that drives cancer growth and dictates targeted therapy (especially with recent breakthroughs in treating "HER2-low" tumors). Routine H&E (hematoxylin-and-eosin) slides capture cellular architecture, but they don't directly measure molecular markers. For that, you need IHC (immunohistochemistry stains for specific proteins), transcriptomics (RNA gene-expression profiles), or proteomics (protein abundance).
Ideally, we’d train an AI on all four modalities at once so it learns how microscopic tissue shapes correspond to underlying molecular machinery. The catch? Real-world medical data is fragmented. Cohort A might have H&E and IHC; Cohort B has H&E and RNA; Cohort C has H&E and proteomics. Restricting AI training to patients with all four modalities leaves you with zero data, while naively pairing samples across different patients creates biological nonsense.
Methods
Instead of inventing a new mathematical loss function, the authors design a pragmatic training choreography called staged, presence-masked contrastive pretraining, inspired by the Contrastive MultiModal (CoMM) framework.
Because every dataset includes standard H&E whole-slide images, H&E acts as the shared visual anchor.
- Encoders & Masking: Images are processed using pathology foundation models (like UNI), while tabular RNA and protein features pass through simple multilayer perceptrons (MLPs). All embeddings are projected into a 256-dimensional space and fed into a single-layer Fusion Transformer. Whenever a modality is missing for a given patient, its slot is filled with a learned
[MASK]token—allowing the model to digest incomplete tuples without data imputation. - Staged Warm-Starts: Rather than throwing all disjoint cohorts into the pot at once, training happens in warm-started stages: first aligning H&E + IHC, then transferring those weights to add H&E + RNA, and finally folding in H&E + proteomics.
- Presence-Masked Contrastive Loss: Using augmented views of each sample, a global cross-view loss aligns the fused
[CLS]embeddings, while per-modality losses contrast single-modality views against the fused representation (preventing dominant modalities from drowning out weaker ones). Crucially, a presence mask dynamically zeroes out loss terms for any modality missing from the current batch.
Finally, the pretrained backbone is fine-tuned simultaneously on three downstream tasks using Attention-based Multiple Instance Learning (MIL) for slide-level predictions (ordinal HER2 scoring: 0, 1+, 2+, 3+, and protein typing) alongside a linear head for tile-level tumor detection. At inference, only raw H&E tiles are required.
Datasets
No new datasets were introduced; instead, the authors creatively unified six existing public breast cancer cohorts across pretraining and patient-disjoint evaluation:
- ACROBAT: Paired H&E and IHC slides (registered spatially using VALIS) across HER2, ER, PR, and Ki67 stains (200 slides used).
- TCGA-BRCA: H&E slides paired with bulk RNA-seq and clinical HER2 scores (394 slides).
- CPTAC-BRCA: H&E slides paired with mass-spectrometry proteomics (653 slides, used strictly in pretraining).
- TCIA HER2 Tumour ROIs, Yale HER2, & Yale Trastuzumab: H&E slides with tile-level tumor annotations and HER2 scores (546 slides combined for Stage 2 fine-tuning/evaluation).
Key Insights and Ideas
- Geometry First, Molecules Second: During self-supervised pretraining, loss for the visual modalities (H&E and IHC) plummeted by ~39%, whereas the RNA modality loss stayed stubbornly flat around
2.109. This suggests the shared transformer prioritizes locking in macro-structural tissue geometry before attempting to map noisy bulk-molecular profiles. - Sub-visual Cross-Modal Transfer: Even without seeing IHC or omics data at test time, an H&E-anchored latent space retains enough molecular grounding to attempt multi-antigen stain typing (
HER2/ER/PGR/Ki67) and four-way ordinal HER2 scoring simultaneously. - High Specificity Early On: Pretraining gave the model a sharp eye for healthy tissue morphology right out of the gate, achieving an 85% true negative rate on non-tumor tiles after a single fine-tuning epoch.
Key Results
The authors emphasize that their downstream numbers are preliminary (evaluated within the first 1 to 4 fine-tuning epochs):
- Pretraining Alignment: Over 10 pretraining epochs, total contrastive loss dropped steadily from
7.764to6.043, while batch-level cross-view retrieval accuracy more than doubled from 25.2% to 58.8%. - Multi-Task Fine-Tuning (Epoch 1–4):
- Tumor Tile Classification: Reached 79.8% accuracy (
0.749Macro F1,0.498quadratic weighted $\kappa$) by epoch 4 across 53,800 tiles, and 72.4% accuracy on a separate 47,872-tile evaluation split. - HER2 Ordinal Scoring (4-class from H&E only): Hit 61.2% accuracy (
0.469Macro F1) on validation at epoch 1, though dropping to 24.7% on a small (N=85) test split. - Protein Stain Typing (from H&E only): Improved from 28.0% baseline to 35.0% accuracy at epoch 1 (
16.9%on anN=59test split).
Limitations and Future Work
The authors are refreshingly candid about what this exploratory study doesn't yet prove:
- Missing Ablations: Without controlled comparisons against non-staged training or single-branch baselines, it isn't yet proven that staging or four-way modality integration outperforms simpler setups.
- Cohort Confounding & Spatial Mismatch: Because modality availability is tied to specific cohorts, the model might inadvertently learn dataset quirks rather than pure biology. Furthermore, pixel-registered IHC tiles and slide-level bulk RNA/proteomics operate at vastly different spatial scales.
- Class Imbalance & Early Checkpoints: Severe sample scarcity in clinical labels caused early-stage class bias during inference (e.g., over-predicting
3+HER2 scores and defaulting toHER2protein labels). Future work will introduce class-balanced losses, longer training schedules, and rigorous cross-cohort ablations.
Summary updated