Abstract
Single-cell RNA-sequencing (scRNA-seq) allows studying heterogeneity in gene expression in large cell populations. Such heterogeneity can arise due to technical or biological factors, making decomposing sources of variation difficult. We here describe f-scLVM (factorial single-cell latent variable model), a method based on factor analysis that uses pathway annotations to guide the inference of interpretable factors underpinning the heterogeneity. Our model jointly estimates the relevance of individual factors, refines gene set annotations, and infers factors without annotation. In applications to multiple scRNA-seq datasets, we find that f-scLVM robustly decomposes scRNA-seq datasets into interpretable components, thereby facilitating the identification of novel subpopulations.
Introduction
Single-cell RNA-sequencing (scRNA-seq) has revolutionized our ability to observe gene expression at the resolution of individual cells. However, the resulting data is characterized by significant "noise"—a mixture of biological signals (e.g., cell cycle, differentiation) and technical confounders (e.g., batch effects, dropout events). Traditional dimensionality reduction techniques like Principal Component Analysis (PCA) often fail to provide biologically interpretable latent factors. Moreover, as datasets grow to include hundreds of thousands of cells, existing latent variable models that scale quadratically or cubically become computationally prohibitive.
To address these challenges, we present f-scLVM (factorial single-cell latent variable model), a scalable factor analysis framework designed to decompose scRNA-seq variation into interpretable biological and technical components by leveraging prior pathway knowledge.
The f-scLVM Framework
The core of f-scLVM is a variant of sparse factor analysis that incorporates biological pathway annotations (e.g., from MSigDB or REACTOME) to guide the inference process.
The model operates through several key mechanisms:
- Guided Factor Analysis: By using "spike-and-slab" priors, the model focuses specific factors on known gene sets. For instance, a factor can be initialized to represent the P53 pathway, constraining the model to prioritize variation within those specific genes.
- Dynamic Annotation Refinement: Unlike rigid models, f-scLVM can refine existing annotations. It identifies genes that should be added to a pathway based on co-variation in the specific dataset or removes genes that do not contribute to the factor's signal.
- Unannotated Factors: The model simultaneously fits "dense" factors to capture global confounding effects (like library size or cell quality) and "sparse" factors to discover novel biological drivers not present in existing databases.
- Scalability via Variational Inference: By employing Variational Bayesian inference, f-scLVM achieves linear scaling ($O(N)$) with respect to the number of cells and genes, making it suitable for modern "atlas-scale" datasets.
Applications and Biological Insights
The utility of f-scLVM was demonstrated across various datasets, ranging from small-scale embryonic stem cell studies to massive retinal cell atlases.
Refining Biological Maps
In mouse embryonic stem cells (mESCs), f-scLVM successfully identified known cell cycle regulators. More importantly, it suggested refinements to the G2M checkpoint factor by adding genes like Anln and Kif20a—well-known regulators that were missing from the initial database annotations. This demonstrates the model's ability to act as a validator and extender of biological knowledge.
Uncovering Hidden Subpopulations
In a large-scale dataset of 49,300 retinal cells, the scalability of f-scLVM allowed for the efficient decomposition of variation. By regressing out unannotated confounding factors, such as cellular detection rate, the researchers uncovered subtle biological signals. This led to the identification of distinct subpopulations of astrocytes and microglia that were previously obscured by technical noise.
Performance and Scalability
Simulations showed that f-scLVM consistently outperforms PCA and linear mixed models in recovering true drivers of variation, particularly when gene sets are overlapping. Computationally, while competing methods like PAGODA or standard scLVM exhibit quadratic or cubic growth in runtime, f-scLVM maintains a linear profile. This efficiency is critical for processing datasets with tens of thousands of cells in hours rather than days.
Conclusion and Future Directions
f-scLVM provides a robust, interpretable, and scalable solution for decomposing the complex variation inherent in scRNA-seq data. By bridging the gap between unsupervised factor analysis and supervised pathway analysis, it allows researchers to extract meaningful biological insights from increasingly large datasets.
While the current model assumes linearity—which may miss complex non-linear interactions—it serves as a powerful foundation. Future iterations may extend this framework to multi-omic data, integrating transcriptomics with single-cell epigenomics to provide an even more comprehensive view of cellular heterogeneity.
Summary updated