Approximation Algorithms for Sparse Principal Component Analysis

Agniva Chowdhury, Petros Drineas, David P. Woodruff, Samson Zhou

Introduction

Principal Component Analysis (PCA) is a cornerstone of dimensionality reduction, yet it suffers from a significant interpretability issue: the resulting components are "dense" linear combinations of all input features. In fields such as genomics or document analysis, where understanding the specific features driving a component is crucial, this density is a major hurdle. Sparse PCA (SPCA) addresses this by introducing a sparsity constraint, forcing components to rely on only a small subset of features.

While SPCA is highly desirable, it is NP-hard. Existing approaches typically fall into two categories: fast heuristics that lack theoretical guarantees, or theoretical models that only work under restrictive assumptions. This paper introduces two new approximation algorithms—spca-svd and spca-sdp—that provide the first provable theoretical guarantees for any input matrix, effectively bridging the long-standing gap between theory and practice.

Methodology

The authors propose two distinct thresholding-based approaches to handle the SPCA problem:

  1. spca-svd (Fast Thresholding): This algorithm is designed for massive datasets where speed is paramount. It leverages the top singular vectors of the covariance matrix, identifies coordinates with the largest norms, and performs a localized SVD to produce a sparse vector quickly.
  2. spca-sdp (Accurate Thresholding): This approach first solves a standard Semidefinite Programming (SDP) relaxation of the SPCA problem. It then applies a novel, two-step deterministic thresholding scheme to "round" the dense SDP solution into a sparse vector.

Both algorithms offer an unconditional guarantee, meaning they are proven to capture a specific fraction of the optimal variance without assuming any particular structure in the input data.

Experimental Results

The researchers evaluated their algorithms on a mix of benchmark and high-dimensional real-world datasets, including Pit Props, HGDP/HAPMAP genotypic data, and lung cancer gene expression data.

Empirical Accuracy and Speed

In terms of "Explained Variance," both spca-svd and spca-sdp perform comparably to or better than current state-of-the-art (SOTA) heuristics across various sparsity levels.

Explained variance vs. sparsity for genomic and gene expression datasets. The proposed algorithms match or exceed the performance of existing heuristics.

Beyond accuracy, spca-svd offers a significant speed advantage. On large genomic datasets, it finished in 2.5–3 hours, while other SOTA methods required 5–7 hours. While spca-sdp is more computationally intensive (taking up to 20 hours for the largest sets), it provides the highest level of accuracy and theoretical backing.

Theoretical Tightness

Historically, theoretical bounds for SPCA algorithms were often too loose to be useful in practice. This work provides bounds for spca-sdp that are remarkably tight, staying close to 1 (representing perfect prediction) across various sparsity levels.

Theoretical approximation ratios vs. sparsity. The `spca-sdp` algorithm provides exceptionally tight bounds compared to previous theoretical frameworks.

Conclusion

This paper presents a significant advancement in Sparse PCA by providing algorithms that are both practically efficient and theoretically sound. By allowing users to explicitly trade off computational speed for approximation quality, these methods provide a flexible and rigorous toolkit for high-dimensional data analysis. Future work will explore "warm starts" for SDP solvers to reduce the computational overhead of the spca-sdp approach.

Summary updated

BibTeX
@misc{chowdhury2020approximation,
  author = {Agniva Chowdhury and Petros Drineas and David P. Woodruff and Samson Zhou},
  title = {{Approximation Algorithms for Sparse Principal Component Analysis}},
  year = {2020},
  eprint = {2006.12748},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.12748},
}
Figure