Premium accounts now available! Sign up and create a premium account. Read more Close

Advertisement

Image

Evaluating the ability of spatial transcriptomics foundation models to learn multi-scale spatial variation

Preprint Created on 07 Aug 2026 bioRxiv

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. Code: SAFFRON is available at

https://github.com/chitra-lab/SAFFRON.

Handa, D., Martin-Linares, C., Stein-O'Brien, G., Ling, J., Chitra, U.

Advertisement

Stats

  • Recommendations n/a n/a positive of 0 vote(s)
  • Views 1
  • Comments 0

Recommended by

  • No recommendations yet.

Post a comment

You need to be signed in to post comments. You can sign in here.

Comments

There are no comments yet.

Advertisement