Probabilistic coupling of cellular and microenvironmental heterogeneity by masked self-supervised learning
Yasuhiro KojimaiD, Yosuke TanakaiD, Haruka HiroseiD, Fumiko ChiwakiiD, Kazuya Nishimura, Shuto HayashiiD, Kota ItahashiiD, Masato Ishikawa, Teppei ShimamuraiD, Hiroyuki ManoiD
Abstract
AO_SCPLOWBSTRACTC_SCPLOWSpatial omics technologies have advanced to single-cell resolution, enabling systematic analysis of tissue microenvironments alongside cellular-state heterogeneity. However, computationally defining microenvironmental states at single-cell resolution and identifying representations most informative for biological discovery remain major challenges. Here we present Mievformer, a Transformer-based masked self-supervised framework that learns microenvironmental embeddings by encoding neighboring cellular states and relative spatial configurations to parameterize the conditional distribution of continuous cell states at central spatial positions. Through InfoNCE optimization, Mievformer learns representations that capture the relative enrichment of cell states across microenvironments, formalized as a conditional density ratio, thereby enabling probabilistic inference of the coupling between microenvironmental and cellular heterogeneity. Mievformer outperformed existing methods in niche clustering on simulated spatial transcriptomics data and achieved the highest average performance across five real datasets spanning three spatial transcriptomics platforms when evaluated using DREC, a ground-truth-free metric that most strongly correlated with ground-truth performance in simulations. Beyond conventional clustering, Mievformer enables identification of cellular subpopulations based on their microenvironmental distribution and detection of gene-expression signatures associated with colocalization of specific cell populations. Together, these results establish Mievformer as a quantitatively robust and biologically informative framework for learning microenvironment representations in spatial omics.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- 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 single-cell-level interactions through interpreting cell state and niche correlations learned by self-supervised graph transformer
Xiao Xiao, Le Yuan Zhang, … Zuoheng Wang·Nature Machine IntelligencePeer-reviewed·Dec 31, 2025
- Nicheformer: a foundation model for single-cell and spatial omics
Anna Christina Schaar, Alejandro Tejada-Lapuerta, … Fabian Joachim Theis·bioRxiv·Apr 15, 2024
- MARVEL: Microenvironment Annotation by Supervised Graph Contrastive Learning
Yan Cui, Hongzhi Wen, … Yuyin Xie·bioRxiv·Oct 29, 2024
- SpatialLeiden - Spatially-aware Leiden clustering
Niklas Müller‐Bötticher, Shashwat Sahay, … Naveed Ishaque·Genome biologyPeer-reviewed·Feb 7, 2025
- Decoding Condition-Specific Cellular Crosstalk in Spatial Omics via Bilinear Edge Classification
Jonathan Karin, Roy Friedman, Mor Nitzan·bioRxiv·May 24, 2026
- scVIVA: a probabilistic framework for representation of cells and their environments in spatial transcriptomics
Nathan Levy, Florian Ingelfinger, … Nir Yosef·bioRxiv·Jun 1, 2025