GraphST
A graph convolutional encoder trained with contrastive learning to embed spatial transcriptomics spots.
Molecules, proteins and genomics · 38 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 388.1K
- Operations
- 38
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- 2023, Nature Communications
- Cited by
- 690 (as of 22 October 2026)
- Authors
- Yahui Long, Kok Siong Ang, Mengwei Li and others
- License
- GPL-3.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m1250
- Graph hash
- b9740783fb8b98073b4dd4e3676cfa019d837e02e62eef1ea069153a3759d4a3
- Skeleton hash
- 2405de802b9e589b71745c17ea7fad0ea0ea9a1e5b5e641b93a535767b03d1eb
- Architecture hash
- e771fd298c79f398cad2970069b1b34c6fdae174d7545a1047254b08967c5b87
- Diagram SHA-256
- 0ef6d605d76a60b6e4900b9f757d8d61c1ca6199eb08dc0e3a097369a1628b1f
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
GraphST is a graph self-supervised contrastive learning method for spatial transcriptomics, data in which gene expression profiles come with spatial context. The paper applies it to three tasks: spatial clustering, multisample integration and cell-type deconvolution.
Spots that are spatially close are connected in a neighborhood graph, and a graph convolutional network encodes each spot by iteratively aggregating gene expression from neighboring spots. A decoder with a symmetric architecture maps the latent representation back to reconstruct the gene expression. For the contrastive part, a corrupted graph is made by randomly shuffling gene expression vectors across spots while the adjacency matrix stays unchanged. Each spot embedding is then paired with a local summary vector, a sigmoid of the mean of its neighbors' embeddings, so that the model learns the local context of a spot.
The paper reports 10% higher clustering accuracy and better delineation of fine-grained tissue structures in brain and embryo tissues. The input to the model is the top 3000 highly variable genes. The paper found the best performance on most of its tested datasets when each spot was connected to 3 neighbors.
Key idea. GraphST combines graph neural networks with self-supervised contrastive learning to learn spot representations in which spatially adjacent spots have close embeddings.
- graphst
- spatial transcriptomics
- spatial clustering
- graph contrastive learning
- self-supervised contrastive learning
- spatial domain
- cell-type deconvolution
- batch integration
- gene expression
- spot embedding
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{Long_2023, title={Spatially informed clustering, integration, and deconvolution of spatial transcriptomics with GraphST}, volume={14}, ISSN={2041-1723}, url={http://dx.doi.org/10.1038/s41467-023-36796-3}, DOI={10.1038/s41467-023-36796-3}, number={1}, journal={Nature Communications}, publisher={Springer Science and Business Media LLC}, author={Long, Yahui and Ang, Kok Siong and Li, Mengwei and Chong, Kian Long Kelvin and Sethi, Raman and Zhong, Chengwei and Xu, Hang and Ong, Zhiwei and Sachaphibulkij, Karishma and Chen, Ao and Zeng, Li and Fu, Huazhu and Wu, Min and Lim, Lina Hsiu Kim and Liu, Longqi and Chen, Jinmiao}, year={2023}, month=Mar }