Multi-context principal component analysis
Kexin Wang, Salil Bhate, João M. Pereira, Joe Kileel, Matylda Figlerowicz, Anna Seigal
TL;DR
MCPCA extends PCA to multi-context data by modeling context-specific covariances as $\Sigma_i = A B_i A^T$ with a shared MCPC basis $A$ and context loadings $B_i$, forming a covariance tensor $T$ whose rank-$r$ CP-like decomposition yields MCPCs and their context weights. The authors develop a scalable MSPM-based algorithm, with a nonnegativity constraint on $B$, and demonstrate superior recovery, stability, and scalability compared to existing tensor methods. Across cancer genomics, single-cell profiling, perturb-seq benchmarking, phylogenetics, and literary-text embeddings, MCPCA uncovers axes of variation shared across subsets of contexts that PCA on pooled data or per-context analyses miss, including survival-linked cancer subgroups and cross-temporal debates in language. The framework provides interpretable, context-aware factors and context loadings, enabling downstream analyses such as survival prediction, functional enrichment, and evolutionary interpretation, with theoretical guarantees on identifiability and convergence under finite-sample noise.
Abstract
Principal component analysis (PCA) is a tool to capture factors that explain variation in data. Across domains, data are now collected across multiple contexts (for example, individuals with different diseases, cells of different types, or words across texts). While the factors explaining variation in data are undoubtedly shared across subsets of contexts, no tools currently exist to systematically recover such factors. We develop multi-context principal component analysis (MCPCA), a theoretical and algorithmic framework that decomposes data into factors shared across subsets of contexts. Applied to gene expression, MCPCA reveals axes of variation shared across subsets of cancer types and an axis whose variability in tumor cells, but not mean, is associated with lung cancer progression. Applied to contextualized word embeddings from language models, MCPCA maps stages of a debate on human nature, revealing a discussion between science and fiction over decades. These axes are not found by combining data across contexts or by restricting to individual contexts. MCPCA is a principled generalization of PCA to address the challenge of understanding factors underlying data across contexts.
