NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

scTree: Discovering Cellular Hierarchies in the Presence of Batch Effects in scRNA-seq Data

Moritz Vandenhirtz, Florian Barkmann, Laura Manduchi, Julia E. Vogt, Valentina Boeva · DOI

Introduction

Single-cell RNA sequencing (scRNA-seq) has revolutionized our ability to map biological diversity at the cellular level. However, researchers face two persistent challenges: technical "batch effects" from varying experimental conditions and the limitations of traditional "two-step" pipelines. Standard workflows typically perform batch integration followed by clustering, a sequence that often inadvertently smooths away subtle biological signals or struggles with imbalanced cell populations where rare types are overshadowed by common ones.

Methodology: The scTree Framework

To address these issues, the authors propose scTree, a variational autoencoder (VAE) framework that performs hierarchical clustering and batch correction simultaneously. Unlike traditional methods, scTree integrates batch-specific offsets directly into its decoders, allowing the model to distinguish technical noise from biological variation during the learning process.

The scTree architecture showing the hierarchical generation and clustering process, incorporating batch-specific offsets and Negative Binomial loss.

Key technical innovations include:

  • Negative Binomial Loss: By utilizing a Negative Binomial distribution instead of the standard Gaussian, scTree better models the discrete count nature of genomic data.
  • Reconstruction-Loss Splitting: Traditional hierarchical VAEs often split clusters based on sample size, which biases results toward balanced groups. scTree introduces a splitting rule based on reconstruction loss: a node is split only if doing so significantly improves the model's ability to reconstruct the original gene expression data. This enables the discovery of rare, distinct cell populations.

Experimental Results

The researchers evaluated scTree across seven diverse datasets, ranging from healthy tissues (Pancreas, Lung Atlas, PBMC) to complex clinical and cancer data (GBM, SCC).

Performance comparison of scTree against various baselines across multiple datasets using NMI, ARI, and batch-mixing metrics.

As shown in the performance metrics, scTree consistently outperforms established baselines like scVI combined with Agglomerative clustering. Notably, on the Pancreas dataset, scTree achieved an Adjusted Rand Index (ARI) of 0.83, a substantial improvement over the 0.57 achieved by the next best baseline. This success is attributed to the model's superior handling of imbalanced cell types. In cancer datasets (SCC and GBM), scTree demonstrated a robust ability to identify common cell types across different patients despite massive patient-specific batch effects.

Discussion and Future Work

By optimizing clustering and batch correction jointly, scTree avoids the "over-integration" common in two-step pipelines. The resulting hierarchies are biologically plausible; for instance, in immune cell datasets, the model correctly separates Lymphoid and Myeloid lineages early in the tree structure.

Despite its strengths, scTree currently relies on a binary tree constraint, whereas real biological branching can be multi-furcating. Future work will focus on relaxing this constraint and developing automated methods for determining the optimal number of clusters, further enhancing its utility for discovery-based single-cell research.

Summary updated

BibTeX
@inproceedings{vandenhirtz2024sctree,
  author = {Moritz Vandenhirtz and Florian Barkmann and Laura Manduchi and Julia E. Vogt and Valentina Boeva},
  title = {{scTree: Discovering Cellular Hierarchies in the Presence of Batch Effects in scRNA-seq Data}},
  booktitle = {AccMLBio @ ICML},
  year = {2024},
  url = {https://openreview.net/forum?id=DT8vMKg4ZP},
}
Figure