stAA
An adversarial variational graph autoencoder that embeds spatial transcriptomics spots for domain clustering.
Molecules, proteins and genomics · 112 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
- 841.2K
- Operations
- 112
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2024, Briefings in Bioinformatics
- Cited by
- 17 (as of 27 October 2026)
- Authors
- Zhaoyu Fang, Teng Liu, Ruiqing Zheng and others
- Source
- GitHub: CSUBioGroup/stAA
- 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
- m21717
- Graph hash
- 865954a3f2e2afef82e8fda6b216d92eb0893459e9f0660a4bb258049388021a
- Skeleton hash
- d4d69cb755289550556e503b814abf1ece26caf3490d947db7f0755e300f2835
- Architecture hash
- 3aa25ec79433dd8264c2852770bceb46a67e1450af6fd4156f99de3241c1405c
- Diagram SHA-256
- 0db4858317c9e4bed4befbbe315320ed4a9c6c643cdf026ff80b3056b4dd0c11
- 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
stAA is an adversarial variational graph autoencoder for spatially resolved transcriptomics, data that records gene expression together with spatial position. Its task is spatial clustering, the identification of spatial domains in a tissue, where the paper says that accurately finding domain boundaries remains difficult.
The model first builds a graph from the spatial locations, in which each node is a spot. A graph neural network encodes the expression matrix and the graph into a latent embedding, and a decoder reconstructs the adjacency matrix. Two additions shape that embedding. A classifier takes the embedding and predicts labels obtained by pre-clustering the expression profiles with mclust or Louvain, which brings global information into the embedding. A Wasserstein regularizer, a multi-layer perceptron with two hidden layers, pushes the distribution of the embeddings toward a prior distribution.
The spatial domains are then found by clustering the embeddings with mclust or Louvain. The paper compares stAA with six methods, SpaGCN, conST, DeepST, CCST, STAGATE and GraphST. On the 12 samples of the human DLPFC dataset it reports the highest average ARI for stAA, close to 0.6.
Key idea. stAA adds a Wasserstein adversarial regularizer and a pre-clustering classifier to a variational graph autoencoder so that cell embeddings better capture spatial domain information.
- staa
- adversarial graph autoencoder
- adversarial variational graph autoencoder
- spatial transcriptomics
- spatial clustering
- spatial domain identification
- wasserstein distance
- cell embedding
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{staa2024,
title = {stAA: adversarial graph autoencoder for spatial clustering task of spatially resolved transcriptomics},
author = {Zhaoyu Fang and Teng Liu and Ruiqing Zheng and Jin A and Mingzhu Yin and Min Li},
year = {2024},
journal = {Briefings in Bioinformatics},
doi = {10.1093/bib/bbad500}
}