Evaluating the ability of spatial transcriptomics foundation models to learn multi-scale spatial variation
Dhanav HandaiD, Cristina P. Martin-LinaresiD, Genevieve Stein-O’BrieniD, Jonathan Ling, Uthsav ChitraiD
Abstract
Spatial gene expression results from the superposition of multiple sources of variation in gene expression across different spatial scales, including local microenvironment-associated variation and global spatial gradients. Spatial foundation models (SFMs) are large-scale machine learning models trained on cohorts of spatial transcriptomics (ST) data that, in principle, learn the different sources of spatial variation in gene expression. However, the embeddings learned by SFMs are difficult to interpret, and it remains unclear whether they fully capture such spatial variation. Here, we develop SAFFRON, a sparse autoencoder (SAE)-based framework for interpreting and evaluating SFMs. SAFFRON uses a Matryoshka SAE to decompose dense SFM embeddings into sparse, human-interpretable features and evaluates whether these features correlate with known sources of spatial variation. Using SAFFRON, we systematically benchmark the ability of several recent SFMs to identify local and global spatial variation in gene expression. We find that one SFM, Novae, learns global spatial gradients more accurately than naive, non-foundation model baselines, and that these gradients are concentrated in a small subset of sparse and human-interpretable SAE features revealed by SAFFRON. On the other hand, no SFM learns local microenvironment-associated patterns more accurately than such baselines. Our findings suggest that current SFMs do not systematically learn multi-scale spatial variation in gene expression. CodeSAFFRON is available at https://github.com/chitra-lab/SAFFRON.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 1
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Inferring spatial gene expression from tissue images using large-scale histology foundation model with SpaFoundation
Ning Zhang, Yahui Long, … Min Li·bioRxiv·Aug 7, 2025
- Diffusion-based Representation Integration for Foundation Models Improves Spatial Transcriptomics Analysis
Atishay Jain, Tuan Minh Pham, … Ritambhara Singh·BioinformaticsPeer-reviewed·Jul 1, 2026
- NexuST: A Hierarchical Foundation Model for Spatial Transcriptomics
Haiping Liu, Qian Zhao, … Hongpeng Zhou·bioRxiv·Sep 28, 2026
- STAMarker: Determining spatial domain-specific variable genes with saliency maps in deep learning
Chihao Zhang, Kangning Dong, … Shihua Zhang·Nucleic Acids ResearchPeer-reviewed·Sep 19, 2023
- Enhanced spatially resolved transcriptomics analysis by matching between expression profiles and spatial topology
Yuxuan Pang, Chunxuan Wang, … Tzong-Yi Lee·bioRxiv·Aug 16, 2024
- scGPT-spatial: Continual Pretraining of Single-Cell Foundation Model for Spatial Transcriptomics
Chloe Xueqi Wang, Haotian Cui, … Bo Wang·bioRxiv·Feb 5, 2025