All models

gimVI

Joint variational model of scRNA-seq and spatial transcriptomics data for imputing missing genes.

Molecules, proteins and genomics · 343 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 (279 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
135.4K
Operations
343
Framework
PyTorch
Recurrent
Yes
Published
ICML 2019 Workshop on Computational Biology
Cited by
105 (as of 28 October 2026)
Authors
Romain Lopez, Achille Nazaret, Maxime Langevin and others
License
BSD-3-Clause
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
m21622
Graph hash
a0b34e1a5b24e93cac3cb9ae2f10294475f45f94a720d371c371e2d95b03d886
Skeleton hash
a18439d140c493b24b4d8fccf129843d4c1d67f7efb399d59d57fd4635cda444
Architecture hash
ae168eab2e44f6cdccc1803cae58e9bb17ebc230fd3d956f5f584319ae66a874
Diagram SHA-256
327674823c8420fa976a38753b42af29f8c45398869a14a34492fe2547134b89
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

gimVI (gene imputation with Variational Inference) is a deep generative model that integrates spatial transcriptomics data with single-cell RNA sequencing (scRNA-seq) data so that missing genes can be imputed. Most spatial protocols require selecting a small fraction of genes beforehand. Standard scRNA-seq can in principle capture any gene but cannot recover the spatial location of the cells. The two datasets are unpaired and only need to come from the same biological tissue.

The model is based on scVI, with a different architecture and an alternative choice of conditional distributions to account for the technology-specific covariate shift. A neural network with a softmax on its last layer maps each cell's latent vector to expected normalized gene frequencies. The encoder networks for the two data types share their last layer, which the paper says helps learning a joint latent space.

In the paper's experiments the scRNA-seq counts follow a zero-inflated negative binomial (ZINB) distribution. For osmFISH, which is reported to have nearly perfect sensitivity, the spatial counts are modeled with a Poisson distribution. The paper reports that gimVI outperformed Seurat Anchors, Liger and CORAL at imputing held-out genes on real datasets.

Key idea. gimVI is a deep generative model that integrates unpaired spatial transcriptomics and scRNA-seq data in a joint latent space to impute genes missing from the spatial measurements.

  • gimVI
  • JVAE
  • gene imputation with Variational Inference
  • spatial transcriptomics
  • scRNA-seq
  • missing gene imputation
  • scvi-tools
  • single-cell RNA sequencing
  • joint latent space

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

Cite the paper

@misc{lopez2019jointmodelunpaireddata,
      title={A joint model of unpaired data from scRNA-seq and spatial transcriptomics for imputing missing gene expression measurements}, 
      author={Romain Lopez and Achille Nazaret and Maxime Langevin and Jules Samaran and Jeffrey Regier and Michael I. Jordan and Nir Yosef},
      year={2019},
      eprint={1905.02269},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1905.02269}, 
}