All models

SCALEX

SCALEX is a small VAE that embeds single-cell profiles from different batches into one batch-invariant space.

Molecules, proteins and genomics · 60 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 (44 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
2.1M
Operations
60
Framework
PyTorch
Recurrent
No
Published
Nature Communications 13, 6118 (2022)
Cited by
98 (as of 30 October 2026)
Authors
Lei Xiong, Kang Tian, Yuzhe Li 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
m19975
Graph hash
5c3039980ae2f4f845f240b3c7f89c0705e0f5e1bfdea0a7c72bebca6d073778
Skeleton hash
2fc5fb5328f3f98f8d0e0aaa02df49978172f574ac05ae54b49c44afb532e158
Architecture hash
a8686ba6849afec173164256044058adb5f419f3782cd0df0cf09312e132d8e7
Diagram SHA-256
c8e136ee3a9d460148e0b59cdae127ab734e939719f1bda61598bb815ebbddf6
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

SCALEX is a deep-learning method for integrating single-cell data: it projects cells from different batches into one batch-invariant cell-embedding space. The design goal is online integration, meaning new data can be projected without retraining the model.

It is a variational autoencoder (VAE) that learns a batch-free encoder and a batch-specific decoder at the same time. The batch label is shown only to the decoder, inside a domain-specific batch normalization (DSBN) layer, so the decoder takes on the batch information while the encoder learns domain-invariant features. The network itself is small: a two-layer fully connected encoder and a decoder with only one layer and no hidden layer. During training each mini-batch is sampled from all batches instead of from one, and the paper sets the mini-batch size to 64.

The authors connect the design to their earlier model SCALE, whose encoder they found could disentangle cell-type-related and batch-related features. On its benchmark datasets, the paper reports that SCALEX outperformed online iNMF and non-online integration tools in integration accuracy, scalability and computational efficiency. Scalability was tested on the Human Fetal Atlas dataset, which contains 4,317,246 cells from two data batches.

Key idea. SCALEX pairs a batch-free encoder with a batch-specific decoder in a VAE, so new single-cell data can be projected into a common embedding space without retraining.

  • SCALEX
  • single-cell data integration
  • online integration
  • batch-invariant embedding
  • cell-embedding space
  • scRNA-seq
  • scATAC-seq
  • variational autoencoder
  • DSBN
  • single-cell atlas

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

Cite the paper

@article{Xiong_2022, title={Online single-cell data integration through projecting heterogeneous datasets into a common cell-embedding space}, volume={13}, ISSN={2041-1723}, url={http://dx.doi.org/10.1038/s41467-022-33758-z}, DOI={10.1038/s41467-022-33758-z}, number={1}, journal={Nature Communications}, publisher={Springer Science and Business Media LLC}, author={Xiong, Lei and Tian, Kang and Li, Yuzhe and Ning, Weixi and Gao, Xin and Zhang, Qiangfeng Cliff}, year={2022}, month=Oct }