TL;DR
The authors introduce Spatial Expression-Aligned Learning (SEAL), a parameter-efficient framework that infuses localized spatial transcriptomics (ST) data into existing pathology vision foundation models. By aligning tissue morphology with local gene expression using Low-Rank Adaptation (LoRA), SEAL consistently enhances performance on downstream clinical tasks and unlocks new cross-modal capabilities like gene-to-image retrieval.
What Problem Does This Paper Address?
Computational pathology has recently been revolutionized by vision foundation models (FMs) trained on millions of histology images. While these models excel at recognizing visual patterns, they are inherently blind to the underlying molecular landscape of the tissue. Traditional bulk RNA sequencing provides molecular data but lacks spatial resolution, washing out localized variations.
Spatial transcriptomics (ST) solves this by mapping gene expression profiles directly onto specific tissue regions. However, ST data is incredibly expensive and scarce compared to standard histology images, making it impractical to train a multimodal foundation model from scratch. Furthermore, previous attempts to bridge these modalities focused narrowly on predicting gene expression from image patches, which often inadvertently degraded the model's general-purpose visual representations. SEAL addresses this gap by providing a data-efficient, generalizable recipe to upgrade existing vision FMs with localized molecular intelligence without sacrificing their hard-earned morphological knowledge.
Methods
SEAL uses a two-stage, multi-objective self-supervised learning framework designed to be a drop-in enhancement for any Vision Transformer (ViT)-based pathology FM (such as UNI, Virchow, or CONCH).
- Stage 1: ST Autoencoder Warmup: The authors first train a transcriptomics-only variational autoencoder (VAE) augmented with planar normalizing flows. To handle the high sparsity and extreme variance typical of gene expression data, they implement a scale-invariant reconstruction loss adapted from the Barlow Twins framework. This creates a stable, denoised molecular latent space.
- Stage 2: Vision-Omics Alignment: The pretrained vision foundation model is equipped with Low-Rank Adaptation (LoRA) matrices, freezing the core weights to prevent "catastrophic forgetting" of visual features. The model is then trained on paired image patches and ST spots using a multi-objective loss:
- An InfoNCE contrastive loss to align the image and ST embedding spaces.
- An image-to-gene reconstruction loss ensuring the visual embeddings explicitly contain predictive molecular signals.
- An adversarial domain adaptation loss via a Gradient Reversal Layer (GRL) to make the representations invariant to study-specific batch effects.
Datasets
The framework was developed and validated using MAPLE (Morphology Aligned Dataset with Paired Local Expression), a massive repository curated from public datasets (like HEST) and internal institutional data:
- MAPLE-Train-720K: 723,250 paired histology patches and ST spots spanning tumor and normal samples across 14 human organs.
- MAPLE-Test-70K: 69,217 pairs across 6 organs held out for independent evaluation.
For downstream evaluation, the authors benchmarked SEAL across 38 slide-level tasks (including molecular status, pathway activity, and treatment response from cohorts like CPTAC and BCNB) and 15 patch-level tasks (including the independent HESTBench dataset featuring high-resolution Xenium data).
Key Insights and Ideas
- Molecular Post-Training Alignment: The authors frame SEAL as conceptually analogous to the alignment phase (like RLHF) used in large language models. Instead of teaching a model to see from scratch, you expose an already-competent vision model to localized molecular supervision to reshape its latent space.
- The LoRA Trade-Off: Full fine-tuning of large vision models on ST data slightly improves patch-level gene expression prediction but severely degrades slide-level clinical performance (-1.2%). Using parameter-efficient LoRA adapters preserves rich morphological priors while successfully infusing molecular knowledge.
- Prediction Over Retrieval: The multi-objective framework proves that explicitly forcing the vision encoder to be predictive of gene expression yields much more robust and generalizable representations than purely contrastive, retrieval-based alignment methods.
Key Results
SEAL was evaluated as a drop-in replacement for five prominent pathology foundation models (CONCH, H-Optimus-mini, Phikon-v2, UNI-v2-h, and Virchow-v2), yielding substantial improvements:
- Slide-Level Clinical Tasks: SEAL consistently outperformed vision-only baselines across all 38 tasks. On average, it achieved a 1.5% performance boost in molecular subtyping, with Virchow-v2-SEAL seeing a top relative improvement of 3.1%.
- Robustness to Batch Effects: When tested on identical slides scanned across five different hardware scanners (ICAIRD dataset), SEAL embeddings significantly suppressed non-biological visual artifacts, demonstrating much tighter clustering and lower susceptibility to batch effects than the baseline models.
- Zero-Shot Cross-Modal Retrieval: Because SEAL maps images and genes into a shared geometric space, it enables high-fidelity gene-to-image retrieval. For instance, querying the model with an "androgen signaling" gene pathway query successfully activated the precise tumoral regions on a prostate cancer whole-slide image.
Limitations and Future Work
While highly effective, SEAL's primary limitation is its reliance on Visium ST data, which captures expression at a "spot" resolution containing multiple cells rather than true single-cell resolution. However, preliminary evaluations on higher-resolution Xenium data showed promising out-of-distribution generalization.
Additionally, the transcriptomics encoder currently relies on a relatively simple MLP-based VAE due to the sample size constraints of paired datasets. The authors anticipate that as community-driven datasets scale up, SEAL will easily adapt to incorporate heavier, transformer-based single-cell transcriptomic foundation models.
Summary updated