All models

SEDR

Unsupervised embedding of spatial transcriptomics data from a masked autoencoder and a variational graph autoencoder.

Molecules, proteins and genomics · 59 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (24 KB)

Open in a new tab

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
24.1K
Operations
59
Framework
PyTorch
Recurrent
No
Published
Genome Medicine (2024)
Cited by
102 (as of 28 October 2026)
Authors
Huazhu Fu, Hang Xu, Kelvin Chong and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m20009
Graph hash
3cc5867f92875e08550302e5d88d740b0ca9c5a21ea9450510b9d4c5cfd97345
Skeleton hash
c162bbf05d24ee8f9239157e2f0aeacaf0579b7b7cc229fb565924e82c1715b8
Architecture hash
a66e31c48fb9eb2a2227375d20ced68b2c0b7c5bd5b3f4ab10580d86f2f47d23
Diagram SHA-256
d2c02e871c76c359afb2a9ae5893a0a4b488980479835f0574657fd9f0767b48
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

SEDR (spatially embedded deep representation) is an unsupervised method for spatial transcriptomics that learns a low-dimensional representation of gene expression with spatial information embedded in it. The paper applies that representation to follow-up analyses, namely clustering, visualization, trajectory inference, batch effects correction and gene expression imputation.

The model has two main components: a deep masked autoencoder that learns the latent representation, and a variational graph autoencoder that embeds the spatial information. A masked gene expression matrix is generated first and fed to both. The autoencoder's encoder consists of two stacked fully connected layers. The inference part of the graph autoencoder is a two-layer GCN. The final latent representation is obtained by concatenating the expression representation with the spatial embedding.

SEDR also uses deep embedded clustering (DEC) to group spots iteratively, with the aim of removing batch effects and making the latent representation more compact. The decoder has two modes: a GCN-based decoder for clustering and a plain linear decoder for gene imputation. The paper notes that SEDR uses gene expression and spatial information only, not histology images.

Key idea. SEDR jointly trains a masked deep autoencoder and a variational graph autoencoder to learn a low-dimensional representation of gene expression that embeds spatial information.

  • SEDR
  • Spatial Embedded Deep Representation
  • spatially embedded deep representation
  • spatial transcriptomics
  • spatial clustering
  • spatial domain detection
  • variational graph autoencoder
  • gene expression embedding
  • 10x Visium

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{Fu_2021, title={Unsupervised Spatially Embedded Deep Representation of Spatial Transcriptomics}, url={http://dx.doi.org/10.1101/2021.06.15.448542}, DOI={10.1101/2021.06.15.448542}, publisher={openRxiv}, author={Fu, Huazhu and Xu, Hang and Chong, Kelvin and Li, Mengwei and Ang, Kok Siong and Lee, Hong Kai and Ling, Jingjing and Chen, Ao and Shao, Ling and Liu, Longqi and Chen, Jinmiao}, year={2021}, month=June }