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

scTrilemma: Balancing Identity, Invariance, and Fidelity in Single-Cell Representation Learning

Yunhak Oh, Yoonho Lee, Junseok Lee, Namkyeong Lee, Sang-Yeon Hwang, Yinhua Piao, Hyomin Kim, Seonghwan Kim, Jaechang Lim, Woo Youn Kim, Sungsoo Ahn, Chanyoung Park

TL;DR

scTrilemma introduces an "information routing" framework for single-cell RNA-seq to balance three conflicting demands: preserving biological identity, achieving context invariance (ignoring batch effects), and maintaining gene-level fidelity. By strategically routing expression-derived variation through different components of a Variational Autoencoder (VAE), it achieves state-of-the-art zero-shot performance across massive, diverse datasets without requiring manual labels or auxiliary losses.

What Problem Does This Paper Address?

In the world of single-cell genomics, representation learning is a balancing act. Researchers typically want three things from a cell embedding:

  1. Biological Identity: The ability to cluster similar cell types and states together.
  2. Context Invariance: The ability to ignore "nuisance" variation, such as differences between donors or sequencing technologies (often called batch effects).
  3. Expression Fidelity: The ability to retain fine-grained gene-level information necessary for downstream tasks like differential expression analysis.

The authors identify a fundamental Representation Trilemma: these three goals often conflict. For example, aggressive batch correction (invariance) can accidentally smooth over real biological differences (identity), and compressing a cell into a low-dimensional vector for clustering often discards the specific gene variations needed for analysis (fidelity). Most existing models "solve" this by picking a side, leading to a performance drop in the other two areas.

Figure 1: The representation trilemma; edge labels name the operation each pair contends over. Biological Identity preserves cell-type and state structure. Context Invariance pre- vents nuisance context from defining cellular similarity. Expression Fidelity retains gene- level variation needed for biological analysis.

Methods

The core idea of scTrilemma is to treat this not as a compression problem, but as an information-routing problem. Instead of forcing all variation through a single bottleneck embedding, the model routes different types of information to the encoder, the decoder, or the prior.

The model is built on a VAE backbone with a Perceiver-style latent bottleneck and uses three novel routing components:

  • E-Gate (Expression-Gated Gene Encoding): Instead of simply adding expression values to gene identity embeddings, E-Gate uses a feature-wise gate. This acts as a token-level filter, limiting the influence of high-abundance "noise" while retaining salient marker signals before they reach the bottleneck.
  • C-Route (Cell-Representation Routing): This couples the evaluated cell embedding to the reconstruction process by routing it into the decoder queries. This ensures the embedding is "aware" of the reconstruction task without forcing it to be the sole carrier of all gene-level detail.
  • PB-Cond (Pseudo-Bulk-Derived Conditioning): The model calculates "pseudo-bulk" summaries (average expression profiles for a donor/dataset group) and uses them to condition the VAE's prior. By placing context information in the prior rather than the embedding, the model achieves context invariance "by design."
Figure 2: scTrilemma architecture. (a) Overall routing architecture trained with ZINB reconstruction and KL regularization. (b) E-Gate applies an expression-derived feature-wise gate before latent compression. (c) C-Route mean-pools posterior means for the evaluated cell representation and uses the pooled latent sample to modulate decoder queries, while full sampled latent tokens remain reconstruction memory. (d) PB-Cond softly assigns dataset–donor pseudo-bulks to fixed pretraining centroids to parameterize the conditional prior.

Datasets

The authors utilize the CZ CELLxGENE Census, one of the largest curated collections of single-cell data.

  • Training: 62.6 million cells from 478 datasets (January 2025 release).
  • Evaluation: 30.4 million cells from 89 datasets that first appeared in a later release (November 2025). This ensures a rigorous zero-shot evaluation, where the model encounters entirely new tissues, diseases, and technologies it never saw during training.

Key Insights and Ideas

  • Routing vs. Forcing: The most significant "aha moment" is that we don't need a single vector to do everything. By letting the prior handle context and the decoder queries handle fidelity, the embedding is free to focus on biological identity.
  • Context Invariance is "Cheap": Through latent interventions, the authors show that context (like donor effects) can be removed from the embedding at almost no cost to identity or fidelity.
  • The Real Tension is Identity vs. Fidelity: While context can be routed away, the tension between clustering cells (Identity) and predicting their specific gene changes (Fidelity) remains the primary trade-off in the latent space.
  • Label-Free is Viable: The model achieves these results using only a reconstruction objective (ZINB loss), proving that sophisticated routing can replace the need for manual cell-type labels or complex auxiliary losses during pretraining.

Key Results

scTrilemma consistently outperforms established baselines like scVI, scGPT, and Geneformer across all three demands of the trilemma.

  • Zero-Shot Benchmark: In the broad 89-dataset evaluation, scTrilemma led in global clustering metrics (NMI: 0.651, ARI: 0.484) and context invariance metrics (BRAS: 0.840, PCR: 0.378).
  • Biological Conservation: It showed superior performance in preserving disease-associated states across donors in five diverse tissue cohorts (Kidney, Liver, Brain, Tendon, Colon).
  • High Fidelity: Unlike many "foundation models" that struggle with gene-level reconstruction, scTrilemma excelled at recovering differential expression (DEG) patterns and pathway-level organization.
Table 1: Release-based zero-shot embedding benchmark. Values are 20-repeat means (SD) across datasets. Bold and italics mark the best and second-best values; stars mark gains over the strongest baseline by paired Wilcoxon test (∗:p <0.05, ∗∗∗:p <0.001). †Metadata-supervised pretraining.

Limitations and Future Work

  • VAE Specificity: The current routing framework is designed for reconstruction-trained VAEs. It remains to be seen if these principles translate to models using denoising or masked-prediction objectives.
  • Grouping Requirements: PB-Cond requires a grouping variable (like donor or dataset) to form pseudo-bulks. While these are usually available in metadata, the model's performance on completely unannotated "bags of cells" hasn't been tested.
  • Future Directions: The authors suggest stress-testing the routing principle on perturbation data (e.g., CRISPR screens), cross-species transfer, and lower-resource data collections where batch effects are even more pronounced.

Summary updated

BibTeX
@inproceedings{oh2026sctrilemma,
  author = {Yunhak Oh and Yoonho Lee and Junseok Lee and Namkyeong Lee and Sang-Yeon Hwang and Yinhua Piao and Hyomin Kim and Seonghwan Kim and Jaechang Lim and Woo Youn Kim and Sungsoo Ahn and Chanyoung Park},
  title = {{scTrilemma: Balancing Identity, Invariance, and Fidelity in Single-Cell Representation Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=V8h1VhYtud},
}
Figure