NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Generative Self-Supervised Graphs Enhance Integration, Imputation and Domains Identification of Spatial Transcriptomics

Renchu Guan, Hang Sun, Tongdong Zhang, Zhipeng Wu, Meirong Du, Yanchun Liang, Jianxin Wang, Qi Tang, An Zeng, Xiaoyue Feng, Xin Gao, Dong Xu

TL;DR

Researchers have developed GSG (Generative Self-Supervised Graphs), a deep-learning framework that solves the "missing data" problem in spatial transcriptomics. By masking and then reconstructing gene expression data within a spatial graph, GSG outperforms existing methods in identifying tissue structures and integrating data across different experimental batches and technologies.

What Problem Does This Paper Address?

Spatial Transcriptomics (ST) is a revolutionary field that allows scientists to see not just which genes are active, but where they are active within a tissue. However, the technology faces two major hurdles:

  1. The Dropout Problem: ST data is notoriously "sparse." Due to technical limitations, many gene signals are simply missed (dropout), leading to noisy datasets where it's hard to distinguish true biological patterns from random gaps.
  2. Batch Effects: Data from different experiments, even on the same tissue, often look different due to variations in lab conditions or sequencing platforms. This makes it incredibly difficult to integrate multiple datasets into a single, cohesive map.

Existing tools often struggle with "over-smoothing" (blurring the boundaries between different tissue regions) or fail to accurately "fill in the blanks" left by dropouts.

Methods

The authors introduce GSG, which treats tissue as a graph where each "spot" (a group of cells) is a node connected to its physical neighbors. The core of GSG is a Generative Masked Graph Autoencoder:

  • Masking: The model randomly hides (masks) the gene expression features of certain nodes.
  • Encoding/Decoding: A Graph Neural Network (GNN) encoder looks at the visible neighbors to guess what the hidden data should be. A decoder then attempts to reconstruct the original features.
  • Scaled Cosine Error (SCE): Instead of using standard Mean Squared Error (MSE), which fails in high-dimensional biological data, the authors used SCE. This focus on the "angle" between gene vectors rather than their absolute magnitude makes the model much more robust to varying expression levels.

By forcing the model to reconstruct missing data based on spatial context, GSG learns the "essential features" of the tissue, effectively denoising the data and correcting for dropouts.

Datasets

The authors validated GSG across a massive range of platforms and tissues:

  • Human DLPFC: 12 slices of the human dorsolateral prefrontal cortex (a benchmark for spatial domain identification).
  • Cross-Platform Data: Datasets from Stereo-seq, Slide-seqV2, and seqFISH to prove the model works regardless of the sequencing tech.
  • Disease/Cancer: 10X Visium data of human breast cancer.
  • New Benchmark: An in-house dataset of a fetal human heart (9 weeks gestation), providing a high-resolution look at cardiac development.

Key Insights and Ideas

  • Learning by "Filling in the Blanks": The self-supervised masking strategy is the "aha" moment. By forcing the model to predict a spot's genes based on its neighbors, the model naturally learns the underlying biological "grammar" of the tissue.
  • Batch-Free Integration: Because GSG extracts the "essential" spatial patterns, it can perform label transfer. You can train the model on one well-annotated tissue slice and then accurately project those labels onto a new, unannotated slice from a different experiment with ~79.4% accuracy.
  • Biological Discovery: In the fetal heart dataset, GSG identified specific expression of the gene APCDD1 in the endocardium. This is significant because mutations in APCDD1 are linked to congenital heart disease, suggesting the model can pinpoint exactly where developmental defects might originate.

Key Results

  • Superior Accuracy: On the DLPFC benchmark, GSG achieved an Adjusted Rand Index (ARI) of 0.651, significantly higher than popular competitors like BayesSpace, StLearn, and DeepST.
  • Robust Denoising: Qualitative results show that GSG produces much "sharper" and more continuous spatial maps of gene expression compared to the raw, "speckled" input data.
  • Trajectory Inference: GSG was able to map the continuous developmental transition from the inner to the outer layers of the brain cortex more clearly than other deep learning methods.

Limitations and Future Work

While GSG is powerful, the authors note a few areas for refinement:

  • Hyperparameter Sensitivity: The performance is somewhat dependent on the "radius" chosen to define neighbors in the graph and the number of principal components used for feature reduction.
  • Computational Demand: Like most GNN-based approaches, processing extremely large-scale datasets (like full-organ Stereo-seq) may require significant GPU resources.
  • Future Directions: The authors suggest that as ST technology moves toward subcellular resolution, GSG could be adapted to model interactions between individual organelles or even single molecules.

The code is available as a "turnkey" Python package on GitHub.

Summary updated

BibTeX
@inproceedings{guan2024generative,
  author = {Renchu Guan and Hang Sun and Tongdong Zhang and Zhipeng Wu and Meirong Du and Yanchun Liang and Jianxin Wang and Qi Tang and An Zeng and Xiaoyue Feng and Xin Gao and Dong Xu},
  title = {{Generative Self-Supervised Graphs Enhance Integration, Imputation and Domains Identification of Spatial Transcriptomics}},
  booktitle = {Research},
  year = {2024},
  doi = {10.21203/rs.3.rs-3583635/v1},
}
Figure