MIST: Multi-Scale Spatial Context for Gene Expression Prediction from Histology
Organizations: Iowa State University, Iowa, USA · Stanford University, CA, USA
Abstract
Predicting spatial gene expression from standard H&E images could extend molecular analysis to tissues without spatial transcriptomic measurements. A standard Transformer applies self-attention over spots but ignores where each spot sits in the tissue, whereas a spot's molecular state depends on tissue context at multiple spatial scales. Building on this insight, we introduce MIST, a Multi-context Spatial Transformer that augments the self-attention backbone with two context pathways applied in every layer: a coordinate-invariant local pathway that attends over spatial k-nearest-neighbor spots, and a slide pathway that broadcasts a whole-slide summary to every spot; the model predicts all spots in a single forward pass. Because coordinates enter only through pairwise distances, the local pathway is invariant to translations, rotations, and reflections when image features are fixed. In intra-cohort evaluation across six human organ cohorts from HEST-1k, MIST improves mean Pearson correlation over the strongest evaluated baseline by 9.7%, 11.6%, and 11.4% for 10-, 50-, and 100-gene panels, respectively, with the lowest average MSE and MAE. MIST further improves leave-one-organ-out transfer by 6.0% over the next strongest baseline, attains the best expression-derived domain recovery (highest mean ARI and NMI at every clustering resolution, and higher NMI than the closest baseline on 84% of held-out slides), and reproduces spatial expression patterns of selected cancer-marker genes. Together, these results show that adding local and slide context to a vanilla Transformer backbone is an effective approach to spatial gene expression prediction from histology.
Figures & tables
| Panel | Model | IDC | CCRCC | LUNG | PAAD | PRAD | SKCM | PCC Avg. | MSE Avg. | MAE Avg. |
| HVG | ST-Net | |||||||||
| Hist2ST | ||||||||||
| BLEEP | ||||||||||
| STEM | ||||||||||
| MIST (ours) | ||||||||||
| DEG | ST-Net |
| Method | PCC |
| ST-Net He et al. (2020) (NBE’20) | |
| Hist2ST Zeng et al. (2022) (BIB’22) | |
| BLEEP Xie et al. (2023) (NeurIPS’23) | |
| STEM Zhu et al. (2025) (ICLR’25) | |
| MIST (ours) |
| Model | IDC | CCRCC | LUNG | PAAD | PRAD | SKCM | PCC Avg. | MSE Avg. | MAE Avg. |
| ST-Net | |||||||||
| Hist2ST | |||||||||
| BLEEP | |||||||||
| STEM | |||||||||
| MIST (ours) |
| CCRCC (HVG; six folds) | PRAD (HVG; two folds) | Pooled (14 genes; five folds) | ||||
| Coordinates | PCC | PCC | PCC | PCC | PCC | PCC |
| Original | — | — | — | |||
| Translation | ||||||
| Rotation | ||||||
| Reflection | ||||||
| Spot permutation | ||||||
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Cohort | Organ | Samples | Spots | Folds |
| IDC | Breast | 4 | 44,974 | 4 |
| CCRCC | Kidney | 24 | 74,220 | 6 |
| LUNG | Lung | 2 | 7,505 | 2 |
| PAAD | Pancreas | 3 | 9,793 | 3 |
| PRAD | Prostate | 23 | 62,710 | 2 |
| SKCM | Skin | 2 | 5,716 | 2 |
| Outcome | Comparison | Sample size | Reported result |
| PCC@50 | MIST vs. BLEEP | paired runs | gain ; 95% bootstrap CI ; |
| Per-gene PCC@50 | MIST vs. BLEEP | genes (descriptive) | MIST higher on 87% |
| LOOO PCC | MIST vs. BLEEP | organ seed; also cohorts | ( ); exact , all six positive ( ) |
| Spatial ARI | MIST vs. BLEEP | slides | MIST wins 60%; |
| Spatial NMI | MIST vs. BLEEP | slides | MIST wins 84%; |
| Panel size | Model | IDC | CCRCC | LUNG | PAAD | PRAD | SKCM | PCC Avg. | MSE Avg. | MAE Avg. |
| PCC@10 | ST-Net | |||||||||
| Hist2ST | ||||||||||
| BLEEP | ||||||||||
| STEM | ||||||||||
| MIST (ours) | ||||||||||
| PCC@100 | ST-Net |
| Encoder | Cohort | ST-Net | Hist2ST | BLEEP | STEM | MIST (ours) |
| UNI (1024-d) | IDC Breast | |||||
| CCRCC Kidney | ||||||
| LUNG Lung | ||||||
| PAAD Pancreas | ||||||
| PRAD Prostate | ||||||
| SKCM Skin |
| ARI | NMI | |||||||
| Method | ||||||||
| ST-Net | ||||||||
| Hist2ST | ||||||||
| BLEEP | ||||||||
| STEM | ||||||||
| MIST (ours) | ||||||||