TL;DR
Standard differential expression methods for RNA-seq data treat genes in isolation, missing complex changes in gene correlation and network structures. This paper introduces Contrastive Poisson Latent Variable Models (CPLVMs) to disentangle shared baseline biology from treatment-specific variations in count-based sequencing data, while providing a robust hypothesis testing framework to identify both global and pathway-specific transcriptional shifts.
What Problem Does This Paper Address?
When analyzing RNA-sequencing (RNA-seq) and single-cell RNA-seq (scRNA-seq) data, researchers usually want to compare a "treatment" condition (the foreground) against a "control" condition (the background). Traditionally, this is done using differential expression (DE) analysis, which calculates the average shift in expression for each gene individually.
However, this univariate approach ignores a fundamental reality of biology: genes interact. A treatment might not change the average expression of a gene, but it might drastically change how that gene correlates with others. While some contrastive dimension reduction methods exist (like Contrastive PCA) to find these multivariate shifts, they assume data is normally distributed (Gaussian) rather than the discrete counts produced by sequencing. Furthermore, existing contrastive methods lack a formal hypothesis testing framework to quantify the statistical significance of the structural changes they uncover.
Methods
The authors propose two probabilistic models: the Contrastive Poisson Latent Variable Model (CPLVM) and the Contrastive Generalized Latent Variable Model (CGLVM).
- Count-based Likelihood: Unlike standard PCA or Contrastive PCA, these models explicitly use a Poisson distribution to handle raw sequencing counts, incorporating size factors to normalize for varying sequencing depths across cells.
- Contrastive Architecture: The model assumes data is generated from two sets of latent variables: one shared between the background and foreground (capturing baseline cellular functions), and one exclusive to the foreground (capturing the specific effect of the treatment/disease).
- Non-negativity: The CPLVM uses Gamma priors to enforce non-negative factors and loadings, making the resulting components highly interpretable (similar to Non-negative Matrix Factorization, but contrastive). The CGLVM uses a log-link function and Gaussian priors, allowing for negative values.
- Hypothesis Testing: They introduce ELBO-based Bayes Factors (EBFs) to perform model comparison. This allows researchers to test for global changes in gene covariance or gene-set specific changes (e.g., checking if a specific biological pathway was altered). Inference is performed via Stochastic Variational Inference (SVI).
Datasets
- Simulated Count Data: Used to benchmark clustering, latent dimension estimation, and the statistical power of the hypothesis tests against existing methods.
- Perturb-seq Data: scRNA-seq data of dendritic cells subjected to CRISPR knockouts targeting 24 different transcription factors.
- MIX-seq Data: scRNA-seq data of cancer cell lines treated with small molecule therapies (specifically focusing on the drug idasanutlin).
- GTEx v8 Data: Bulk RNA-seq data from coronary artery tissue, comparing healthy donors to those with ischemic heart disease.
Key Insights and Ideas
- Beyond Marginal Shifts: Standard DE models can miss the forest for the trees. The CPLVM successfully identified changes in gene-gene correlations (e.g., between LYZ2 and CCL4 in CRISPR-edited cells) that standard univariate GLMs completely missed because the marginal expression of one of the genes didn't significantly change.
- Uncovering Hidden Subgroups: By isolating foreground-specific variation, the model can find hidden heterogeneity in how cells respond to a treatment. In the MIX-seq data, the CPLVM cleanly separated cells with mutated TP53 genes from wild-type cells after drug treatment, whereas standard PCA just showed an overlapping, messy blob.
- Empirical Nulls Work for Bayes Factors: Calculating true Bayes factors is computationally intractable for these models. The authors showed that approximating them using the Evidence Lower Bound (ELBO) and calibrating them by simply shuffling the background/foreground labels creates a highly reliable "empirical null" for robust hypothesis testing.
Key Results
- Simulation Superiority: In synthetic data, CPLVM and CGLVM consistently outperformed PCA, NMF, and Contrastive PCA (CPCA) in reconstructing the true latent space of the foreground data (measured via Wasserstein distance).
- Hypothesis Testing Power: The CPLVM global hypothesis test achieved near-perfect True Positive Rates (TPR) and False Positive Rates (FPR) on datasets with 100+ genes, vastly outperforming existing two-sample covariance matrix tests (like Cai's test, which failed to perform better than random guessing on small feature sets).
- Biological Validation: In the Perturb-seq data, gene-set hypothesis testing correctly identified the TNF-α signaling and inflammatory response pathways as highly perturbed in HIF1A knockout cells. In the MIX-seq data, it correctly flagged the P53 pathway as the primary driver of variation in response to the drug idasanutlin, aligning perfectly with the drug's known mechanism of action.
Limitations and Future Work
- Two Conditions Only: The current mathematical formulation is strictly for case-control (two conditions). Extending this to multiple conditions or tissues (e.g., time-series data or multi-organ atlases) is a promising next step.
- Inference Flexibility: The model relies on a mean-field variational approximation. The authors suggest that using more flexible posterior approximations, such as Variational Autoencoders (VAEs), could improve performance and scalability.
- Bayes Factor Approximations: Relying on the ELBO to approximate marginal likelihoods works well empirically here, but tighter bounds or better approximations could make the hypothesis testing even more rigorous. Additionally, the impact of tweaking the prior weights for the null vs. alternative hypotheses warrants further investigation.
Summary updated