stat.MLJul 6, 2026

msPCA: An R Package for Sparse PCA with Multiple Components

Authors: Ryan Cory-WrightJean Pauphilet

Organizations: Analytics, Marketing and Operations Imperial Business School · Management Science and Operations London Business School

Abstract

We present msPCA: an open-source R package for sparse principal component analysis with multiple components. It implements an alternating maximization algorithm to generate a set of sparse loading vectors that collectively explain a large fraction of the variance in a dataset, while remaining non-redundant. The algorithm supports two definitions of non-redundancy: either orthogonality of the loading vectors or zero pairwise correlation between principal components (PCs). In the reported benchmarks, msPCA solves sparse PCA problems with thousands of features, achieving competitive runtimes while producing sparse components with controlled feasibility violations and a high fraction of variance explained.

Explore similar work

CardsList
  1. A Robust Optimization Approach to Sparse Principal Component Analysis

    Jun 2, 2026David Vävinggren, Francis Bach, André M. H. Teixeira +2Principal Component AnalysisSparsity

  2. Anchor PCA

    Jun 4, 2026Benedikt Seiter, Anya Fries, Julius von Kügelgen +1Principal Component AnalysisDimensionality Reduction

  3. Graph Regularized PCA

    Jan 15, 2026Antonio Briola, Marwin Schmidt, Fabio Caccioli +4Principal Component AnalysisGraph Representation Learning