iMAP
A two-stage autoencoder and GAN that removes batch effects from single-cell RNA-sequencing expression profiles.
Molecules, proteins and genomics · 66 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
- 14.7M
- Operations
- 66
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2021, Genome Biology
- Cited by
- 59 (as of 28 October 2026)
- Authors
- Dongfang Wang, Siyu Hou, Lei Zhang and others
- Source
- GitHub: Svvord/iMAP
- 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
- m21632
- Graph hash
- 3dcb40f13eca51f44a5622fc1ba750f7092bb0fb1f345e2f965ba1103d174bee
- Skeleton hash
- e5990b501817f0b936797e25c606c904262918c6179fa380c09eec433e92066e
- Architecture hash
- 6d8a9098a45d494efd3a6f53b0b4aca765fabd64408c247c0fd8c4d4155d8641
- Diagram SHA-256
- be93e73602fa6d9fe660a1dcc6916914303cca5c1576afc1bcbed449d75d18d2
- 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
iMAP is an unsupervised framework for removing batch effects from single-cell RNA-sequencing datasets, based on both deep autoencoders and generative adversarial networks (GANs). The framework has two stages: building batch-ignorant representations for all cells, then guiding the batch effect removal of the original expression profiles.
Stage I deploys three networks, one content encoder E and two generators (decoders) G1 and G2. The encoder output is expected to exclusively represent the biological contents of cells, while G1 generates a representation of the measurement noise from a one-hot batch indicator. Stage II trains a GAN in which a generator maps a cell expression vector to a pseudo-cell expression vector and a discriminator tells the pseudo cell from a true one. It is trained on mutual nearest neighbor pairs that are searched by the representations of the autoencoders and extended by a random walk-based procedure, which the paper names rwMNN pairs.
This model holds the networks of both stages, takes 2,000 expression values per cell with a batch indicator vector over two batches, and uses the paper's default content dimension of 256. After training, all cells, including those not in the rwMNN list, can be transformed by the generator. The paper compares iMAP with nine batch effect removal methods, including Combat, LIGER, fastMNN, BBKNN, Harmony, Scanorama, Seurat v3, scVI, and DESC.
Key idea. iMAP removes batch effects in two stages: an autoencoder builds batch-ignorant cell representations, then a GAN trained on extended mutual nearest neighbor pairs corrects the original expression profiles.
- imap
- batch effect removal
- single-cell rna-seq integration
- scrna-seq batch correction
- adversarial paired transfer networks
- rwmnn pairs
- single-cell data integration
- batch-ignorant representation
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{Wang_2021, title={iMAP: integration of multiple single-cell datasets by adversarial paired transfer networks}, volume={22}, ISSN={1474-760X}, url={http://dx.doi.org/10.1186/s13059-021-02280-8}, DOI={10.1186/s13059-021-02280-8}, number={1}, journal={Genome Biology}, publisher={Springer Science and Business Media LLC}, author={Wang, Dongfang and Hou, Siyu and Zhang, Lei and Wang, Xiliang and Liu, Baolin and Zhang, Zemin}, year={2021}, month=Feb }