Predicting Single-Cell Spatial Gene Expression from H&E using Pathology Foundation Models

NeurIPS 2026 Workshop on AI at Scale for Clinical Impact (Spotlight Oral)

1 AI for Biology & Translation, Computational Sciences Center of Excellence, Genentech

2 Gilbert S. Omenn Department of Computational Medicine & Bioinformatics, University of Michigan

3 Computational Biology & Medicine, Computational Sciences Center of Excellence, Genentech

4 Digital and Spatial Pathology, Translational Genomics and Proteomics, gRED, Genentech

* Work conducted during an internship at Genentech.

† Corresponding author.

H&E image of a tertiary lymphoid structure beside measured and predicted expression maps for MS4A1, CCL21, MZB1, and CXCL9.
Predicting single-cell spatial gene expression from routine H&E. Our model introduces a set of domain-informed, lightweight adaptations to pathology foundation models for single-cell spatial gene expression prediction from H&E. In this tertiary lymphoid structure, our model recovers the spatial expression patterns of B-cell (MS4A1), plasma-cell (MZB1), and immune-recruitment (CCL21, CXCL9) markers from routine H&E alone.

Abstract

Predicting gene expression directly from hematoxylin and eosin (H&E) images offers a scalable and cost-effective approach to deriving spatial molecular insights from routine histology. Pathology foundation models, typically pretrained using tile-level objectives, may not adequately capture the fine-grained cellular features required for single-cell molecular prediction. In this work, we systematically evaluate and establish domain-informed and task-specific strategies for adapting pathology foundation models to single-cell spatial gene expression prediction. Using paired H&E and Xenium 5K data, our approach improves mean gene-wise Pearson correlation by 2.67× over the standard zero-shot baseline and achieves state-of-the-art performance on this task. We demonstrate strong gene-detection performance across the full gene panel (AUROC = 0.800) and importantly identify that predictive performance varies substantially across biological contexts, with our model achieving its highest Pearson correlation for spatially variable genes (r = 0.643). Our findings demonstrate that, despite the challenges of sparse single-cell measurements, H&E-derived representations can recover biologically meaningful spatial expression patterns, highlighting both the opportunities and limitations of morphology-based molecular inference at cellular resolution.

Bridging the resolution gap between spot- and single-cell level prediction

Existing pathology foundation models do not natively transfer to single-cell expression prediction. Their embeddings are suited to regional, spot-level prediction and are not optimized for the fine-grained cellular detail that single-cell prediction requires.

Plots comparing frozen pathology foundation model performance at pseudo-spot and single-cell resolutions across gene panels and sparsity levels.
Frozen embeddings transfer far better to spots than to single cells. On the same Xenium data, a linear probe reaches a mean per-gene PCC of 0.375 on 55 μm pseudo-spots but only 0.065 at the single-cell level across the 5K panel. (a) Performance across gene panels. (b) Per-gene performance as expression becomes sparser.

Data and evaluation

Using paired H&E and Xenium 5K spatial transcriptomics data from colon tissue of patients with inflammatory bowel disease, we study how to adapt existing pathology foundation models for single-cell prediction. We evaluate performance throughout on four gene panels:

SVG50
Top 50 spatially variable genes
IBD
76 literature-derived IBD-relevant genes
HVG50
Top 50 highly variable genes
5K
All 5,101 genes in the panel

Adapting tile-level pathology foundation models for single-cell predictions

We introduce a set of domain-informed, task-specific cumulative adaptations that align pathology foundation models with single-cell expression prediction.

Framework diagram showing a 40× H&E crop centered on one cell, pathology foundation model encoding, cell-token pooling, LoRA fine-tuning, an MLP with Poisson loss, and a 5K-gene output.
Framework for predicting single-cell gene expression from H&E images. We integrate domain-informed design choices including high-resolution inputs, parameter-efficient encoder fine-tuning, cell-localized features, and a Poisson-trained MLP to predict expression across 5K genes.
  1. 01 Cell-localized tokens Patch tokens inside each cell boundary are mean pooled.
  2. 02 40× input A 47.6 μm field of view keeps cellular detail and local context.
  3. 03 Poisson objective Raw transcript counts are modeled directly.
  4. 04 LoRA fine-tuning Low-rank adapters tune the encoder for cell-level prediction.

Strong gains over the baseline and prior methods

Our adapted model substantially outperformed the pre-adaptation baseline, improving performance by 2.67x on the 5K panel, and showing substantial gains across all gene panels. We also achieve SOTA performance for this task across all computed metrics and gene panels.

Each adaptation builds on the previous, yielding cumulative gains

Starting from a frozen linear-probe baseline, each adaptation improves mean per-gene PCC, and the full model outperforms competing methods across all gene panels.

ModelSVG50IBDHVG505K
OmiCLIP0.2070.0720.0570.029
BLEEP0.3490.1600.1170.065
GHIST0.5050.1670.0870.081
SpatialEx0.5090.2070.1580.094
Baseline†0.4690.1820.1510.065
+ MLP 0.525(+12.0%) 0.235(+28.8%) 0.195(+29.5%) 0.110(+69.0%)
+ cell pooling 0.583(+10.9%) 0.285(+21.6%) 0.253(+29.5%) 0.135(+22.6%)
+ 40× 0.602(+3.3%) 0.298(+4.4%) 0.248(−1.8%) 0.146(+7.8%)
+ Poisson 0.618(+2.7%) 0.324(+8.8%) 0.301(+21.0%) 0.161(+10.6%)
+ LoRA (ours) 0.643(+4.0%) 0.356(+9.7%) 0.338(+12.5%) 0.174(+7.9%)
Baseline → Ours +37.1% +95.6% +124.2% +166.7%

Mean per-gene PCC. The upper block lists competing methods. In the lower block, each row adds one adaptation to the row above, and percentages in parentheses are relative to the preceding row. † Frozen model baseline: linear probe, CLS token embeddings, 20x input, MSE loss, no fine-tuning.

Four line plots, one per gene panel (SVG50, IBD, HVG50, 5K), showing mean per-gene PCC rising across each adaptation step for H-Optimus-0, Prov-GigaPath, and DINOv3.
The adaptations generalize across foundation models. The same sequence of adaptations improves mean per-gene PCC on every gene panel for H-Optimus-0, Prov-GigaPath, and DINOv3, a general-purpose vision model not trained on histology.

Benchmark on the full 5K panel

The full model achieves the best performance on every metric. Even without LoRA fine-tuning, the frozen adapted model ranks second, so the single-cell adaptations alone substantially improve on existing approaches.

ModelNative granularityGene PCCCell PCCAUROC
OmiCLIPSpot-level0.029 ± 0.0060.203 ± 0.0260.568 ± 0.016
BLEEPSpot-level0.065 ± 0.0410.124 ± 0.0780.578 ± 0.062
GHISTSingle-cell0.081 ± 0.0070.242 ± 0.0270.605 ± 0.012
SpatialExSingle-cell0.094 ± 0.0090.242 ± 0.0310.642 ± 0.005
Ours (frozen)Single-cell0.161 ± 0.0160.271 ± 0.0340.786 ± 0.005
Ours (LoRA)Single-cell0.174 ± 0.0140.280 ± 0.0330.800 ± 0.009

Full 5K panel. Mean ± SD across five block-level test folds. Native granularity is the resolution each model was trained at; all methods were evaluated on the single-cell task.

Where single-cell adaptations help most

Aggregate metrics can hide variation across cell populations and gene programs. We assessed whether our adaptations improve performance uniformly or preferentially benefit specific cell types and biological pathways.

Cell-type analyses showing gains across adaptations, per-cell performance by cell type, and representative H&E regions for an epithelial cell and a stromal cell.
Stromal cells benefit most from single-cell adaptations. (a) Gain in per-cell PCC over the baseline at each adaptation step, by cell type. (b) Per-cell PCC of our model by cell type. (c) Example H&E regions around an epithelial cell and a stromal cell.

Stromal cells gain the most from cell-localized features

The MLP decoder improves performance broadly across cell types, but cell-localized token pooling particularly benefits stromal cells. Stromal cells are heterogeneous and interact with diverse cellular and extracellular components, so isolating target-cell features helps. Epithelial cells gain the least potentially because their cohesive, distinctive architecture already gives strong cues in global tile-level features.

REACTOME pathway enrichment for the 500 most improved genes, led by extracellular matrix organization, and the 500 least improved genes, led by GPCR ligand binding and neuronal system pathways.
Pathway enrichment of the most and least improved genes. REACTOME enrichment, computed with g:Profiler, among (a) the 500 most improved and (b) the 500 least improved genes relative to the baseline.

Genes tied to tissue architecture improve most

The most improved genes are enriched for extracellular matrix organization, cell junctions, adhesion, and cell–cell communication. These processes are closely linked to tissue architecture and local cellular interactions, consistent with the gains seen in stromal cells.

Some cells and programs remain hard to predict from morphology

T lymphocytes showed modest gains, likely due to their small size and uniform nuclear morphology. Poorly predicted genes were enriched for GPCR and neurotransmitter signaling, potentially reflecting transient states beyond histological resolution. Data sparsity and low detection rates may also contribute, making these enrichments hypothesis-generating rather than definitive evidence of morphological predictability.

Conclusion

Our work establishes a foundation for adapting pathology foundation models to single-cell spatial transcriptomics. We demonstrate that carefully chosen, lightweight modifications to baseline foundation model approaches, rather than extensive architectural or methodological redesign, can enable scalable and interpretable molecular profiling from routine histology.

BibTeX

@inproceedings{tsang2026singlecell,
  title     = {Predicting Single-Cell Spatial Gene Expression from H\&E using Pathology Foundation Models},
  author    = {Tsang, Ashley P. and Liu, Evan and Foo, Conrad and Chen, Bob and Maan, Hassaan and Chan, Donny and Penna, Elisa and Ibarra Lopez, Veronica and Corrada Bravo, Hector and BenTaieb, A{\"i}cha and McGinnis, Lisa M. and Wei, Runmin and Gao, Kenneth T.},
  booktitle = {NeurIPS Workshop on AI at Scale for Clinical Impact},
  year      = {2026}
}