Skip to main content
QUICK REVIEW

[Paper Review] Probabilistic Contrastive Principal Component Analysis

Didong Li, Andrew Jones|arXiv (Cornell University)|Dec 14, 2020
Spectroscopy and Chemometric AnalysesChemistry32 references8 citations
TL;DR

This paper proposes Probabilistic Contrastive Principal Component Analysis (PCPCA), a generative, model-based extension of contrastive PCA (CPCA) that enables principled inference, uncertainty quantification, and robust handling of missing data. By formulating a relative likelihood objective and using maximum relative likelihood estimation with gradient descent, PCPCA outperforms both CPCA and PPCA in capturing foreground-specific variation, especially under noise and missing data, while unifying PCA, PPCA, and CPCA as special cases.

ABSTRACT

Dimension reduction is useful for exploratory data analysis. In many applications, it is of interest to discover variation that is enriched in a "foreground" dataset relative to a "background" dataset. Recently, contrastive principal component analysis (CPCA) was proposed for this setting. However, the lack of a formal probabilistic model makes it difficult to reason about CPCA and to tune its hyperparameter. In this work, we propose probabilistic contrastive principal component analysis (PCPCA), a model-based alternative to CPCA. We discuss how to set the hyperparameter in theory and in practice, and we show several of PCPCA's advantages over CPCA, including greater interpretability, uncertainty quantification and principled inference, robustness to noise and missing data, and the ability to generate data from the model. We demonstrate PCPCA's performance through a series of simulations and case-control experiments with datasets of gene expression, protein expression, and images.

Motivation & Objective

  • To address the lack of a formal probabilistic model in contrastive PCA (CPCA), which limits statistical inference and hyperparameter tuning.
  • To develop a generative model that captures variation unique to a foreground dataset relative to a background dataset, excluding shared variation.
  • To enable uncertainty quantification, principled inference, and data generation—capabilities missing in CPCA.
  • To improve robustness to noise and missing data compared to existing methods like CPCA and PPCA.
  • To unify PCA, PPCA, and CPCA as special cases of a single probabilistic framework.

Proposed method

  • Formulate a relative likelihood objective function that compares model fit on foreground versus background datasets, enabling principled contrastive learning.
  • Introduce maximum relative likelihood estimation (MRLE) as the inference method, avoiding reliance on a well-defined likelihood function.
  • Derive a gradient descent algorithm that operates only on observed data, enabling optimization with missing values.
  • Use a latent variable model with shared and foreground-specific components to separate contrastive from shared variation.
  • Apply the model to data via maximum likelihood estimation of the factor loading matrix and noise variance, with optimization via Adam and gradient updates.
  • Demonstrate that PCA, PPCA, and CPCA emerge as special cases of PCPCA under specific parameter settings.

Experimental results

Research questions

  • RQ1How can a formal probabilistic model be constructed for contrastive dimension reduction to enable uncertainty quantification and principled inference?
  • RQ2What is the theoretical and practical role of the tuning parameter γ in controlling focus on foreground versus background variation?
  • RQ3Can PCPCA outperform CPCA and PPCA in identifying contrastive structure under noise and missing data?
  • RQ4How does the relative likelihood objective in PCPCA compare to standard likelihood-based models in terms of robustness and interpretability?
  • RQ5Can PCPCA be used to generate synthetic data and impute missing values effectively in real-world biological and imaging datasets?

Key findings

  • PCPCA achieved lower reconstruction error than PPCA on simulated data with increasing missing data, demonstrating robustness to missing values.
  • On the mouse protein expression dataset, PCPCA maintained high silhouette scores for subgroup structure even with 60% of values masked, indicating preserved cluster integrity.
  • Imputation error for missing foreground values was consistently lower with PCPCA than with PPCA, confirming superior performance in missing data recovery.
  • The model successfully captured disease-associated transcriptional variation in gene and protein expression datasets, outperforming CPCA and PPCA in identifying biologically relevant contrastive components.
  • PCPCA’s geometric interpretation and probabilistic formulation allowed for uncertainty quantification and data generation, features absent in CPCA.
  • Theoretical analysis showed that γ controls the balance between foreground and background variance focus, with optimal values derived from model stability conditions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.