All models

scDCC

A ZINB denoising autoencoder that clusters single-cell RNA-seq data under must-link and cannot-link constraints.

Molecules, proteins and genomics · 38 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 (47 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
16.9M
Operations
38
Framework
PyTorch
Recurrent
No
Published
2021, Nature Communications
Cited by
145 (as of 29 October 2026)
Authors
Tian Tian, Jie Zhang, Xiang Lin and others
License
Apache-2.0
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
m21693
Graph hash
14fdf86536f478e40e8711c694adf73d7a1354286b80497e7506d3139edd0504
Skeleton hash
0cfba181c58db3bbe71f9e6641eaf6ab35b679cede6137214a21c9bdda1a2840
Architecture hash
e39312cde28a72631fc20c44eeda72c022e225dfa16149c19c31d6ea00137e82
Diagram SHA-256
0ff1eda952632796bf63e40ec78c238ebb6f31d348c670b2be9ec6dd6a2f36cf
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

scDCC (Single Cell Deep Constrained Clustering) clusters cells from single-cell RNA sequencing data while letting prior knowledge guide the result. The paper's argument is that purely unsupervised clustering of such data, with its high dimensionality and pervasive dropout events, may not produce biologically interpretable clusters. The method converts partial prior knowledge into soft pairwise constraints and adds them as extra terms in the loss function.

The network is a fully connected autoencoder with hidden layers of sizes (256, 64, 32, 64, 256), where 32 is the bottleneck. It is a denoising autoencoder: the input is corrupted, for example with Gaussian noise, and the network is trained to recover the uncorrupted data. Rather than reconstructing expression values directly, three independent fully connected layers after the decoder estimate the mean, dispersion and dropout probability of a zero-inflated negative binomial (ZINB) distribution.

Clustering happens in the bottleneck space, where soft cluster labels are measured with a Student's t-distribution and trained toward a target distribution derived from them. A must-link constraint forces two cells to have similar soft labels. A cannot-link constraint encourages different ones. With no constraints, the paper notes, scDCC reduces to scDeepCluster.

Key idea. scDCC adds soft must-link and cannot-link constraints to ZINB autoencoder deep embedded clustering, so prior knowledge guides the clustering of single-cell RNA-seq data.

  • scDCC
  • Single Cell Deep Constrained Clustering
  • scRNA-seq clustering
  • single-cell RNA-seq
  • constrained clustering
  • ZINB autoencoder
  • deep embedded clustering
  • must-link and cannot-link constraints
  • cell type assignment

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

Cite the paper

@article{Tian_2021, title={Model-based deep embedding for constrained clustering analysis of single cell RNA-seq data}, volume={12}, ISSN={2041-1723}, url={http://dx.doi.org/10.1038/s41467-021-22008-3}, DOI={10.1038/s41467-021-22008-3}, number={1}, journal={Nature Communications}, publisher={Springer Science and Business Media LLC}, author={Tian, Tian and Zhang, Jie and Lin, Xiang and Wei, Zhi and Hakonarson, Hakon}, year={2021}, month=Mar }