Nature Computational ScienceBioinformaticsPeer-reviewed journal article
SpatialFormer: Universal Spatial Representation Learning from Subcellular Molecular to Multicellular Landscapes
Abstract
Spatial transcriptomics quantifies gene expression within its spatial context, significantly advancing biomedical research. Understanding gene spatial expression and the organization of multicellular systems is vital for disease diagnosis and studying biological processes. However, existing models often struggle to integrate gene expression data with cellular spatial information effectively. In this study, we introduce SpatialFormer, a hybrid framework combining convolutional networks and transformers to learn single-cell multimodal and multi-scale information in the niche context, including expression data and subcellular gene spatial distribution. Pre-trained on 300 million cell pairs from 12 million spatially resolved single cells across 62 Xenium slides, SpatialFormer merges gene spatial expression profiles with cell niche information via the pair-wise training strategy. Our findings demonstrate that SpatialFormer distills biological signals across various tasks, including single-cell batch correction, cell-type annotation, co-localization detection, and identifying gene pairs that are critical for the immune cell-cell interactions involved in the regulation of lung fibrosis. These advancements enhance our understanding of cellular dynamics and offer new pathways for applications in biomedical research.
- organism: mouse
- assay: spatial transcriptomics
- research focus: batch correction / integration
- research focus: cell type annotation
- research focus: cell-cell communication
- approach: transformer / foundation model
- approach: statistical model
- Citations
- 2
- FWCI
- 4.10
- Field percentile
- top 10%
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
- STEP: Deciphering Spatial Atlas at Single-Cell Level with Whole-Transcriptome Coverage
Zheqi Hu, Zirui Zhu, … Yongbing Zhang·bioRxiv·Nov 22, 2024
- Learning single-cell spatial context through integrated spatial multiomics with CORAL
Siyu He, Matthew F Bieniosek, … James Zou·bioRxiv·Feb 1, 2025
- SpaGene: A Deep Adversarial Framework for Spatial Gene Imputation
Aishwarya Budhkar, Juhyung Ha, … Xuhong Zhang·Computational and Structural Biotechnology JournalPeer-reviewed·Mar 1, 2026
- A network regularized linear model to infer spatial expression pattern for single cell
Chaohao Gu, Hu Chen, Zhandong Liu·bioRxiv·Nov 20, 2024
- A Multimodal Graph Learning Framework for Versatile Spatial Transcriptomics Analysis with SpatialModal
Xingyi Li, Dongmin Zhao, … Xuequn Shang·bioRxiv·May 11, 2025
- NicheTrans: Spatial-aware Cross-omics Translation
Zhikang Wang, Qi Zou, … Zhiyuan Yuan·Nature MethodsPeer-reviewed·Jul 9, 2026