Sparse PCA with False Discovery Rate Controlled Variable Selection

Jasin Machkour, Arnaud Breloy, Michael Muma, Daniel P. Palomar, Frédéric Pascal · DOI

Abstract

Sparse principal component analysis (PCA) aims at mapping large dimensional data to a linear subspace of lower dimension. By imposing loading vectors to be sparse, it performs the double duty of dimension reduction and variable selection. Sparse PCA algorithms are usually expressed as a trade-off between explained variance and sparsity of the loading vectors. As a high explained variance is not necessarily synonymous with relevant information, these methods are prone to select irrelevant variables. To overcome this issue, we propose an alternative formulation of sparse PCA driven by the false discovery rate (FDR). We then leverage the Terminating-Random Experiments (T-Rex) selector to automatically determine an FDR-controlled support of the loading vectors. A major advantage of the resulting T-Rex PCA is that no sparsity parameter tuning is required.

Introduction

Principal Component Analysis (PCA) is a cornerstone of dimensionality reduction. However, in high-dimensional settings, its components are linear combinations of all input variables, making interpretation difficult. Sparse PCA (SPCA) was developed to force most loadings to zero, facilitating variable selection. Despite its utility, SPCA faces two significant challenges: the "noise trap," where variables are selected based on high noise variance rather than signal, and the "tuning headache," where users must manually balance sparsity and variance via a penalty parameter ($\lambda$).

The T-Rex PCA Framework

To address these limitations, we introduce T-Rex PCA. This framework reframes Sparse PCA as a multiple hypothesis testing problem, prioritizing the control of the False Discovery Rate (FDR) over mere variance maximization.

The T-Rex PCA pipeline: from dummy generation to FDR-controlled output.

The T-Rex PCA process operates in three distinct stages:

  1. Dummy Generation: The algorithm generates $K$ sets of "dummy" variables—random noise—and appends them to the original data.
  2. Forward Selection Competition: For each principal component, a forward selection process (such as LARS) is executed. The selection terminates once a predefined number of dummy variables are selected. This experiment is repeated $K$ times.
  3. FDR Calibration: By comparing the selection frequency of real variables against dummies across the $K$ experiments, the algorithm calculates a threshold. This allows users to set a target FDR (e.g., $\alpha = 0.1$) and automatically determine the optimal sparsity without manual tuning.

Experimental Evaluation

We evaluated T-Rex PCA using synthetic data from a high-dimensional 3-factor model ($n=50, p=100$) and real-world S&P 500 stock returns.

Synthetic Results

In synthetic benchmarks, T-Rex PCA demonstrated superior error control and recall compared to traditional "Oracle" SPCA methods.

Performance comparison: T-Rex PCA maintains target FDR and achieves 100% TPR across various SNR levels.

As shown in the figures above, T-Rex PCA strictly adheres to the target FDR even at low Signal-to-Noise Ratios (SNR), where Oracle SPCA begins to select noise variables. Furthermore, T-Rex PCA consistently achieves a 100% True Positive Rate (TPR), ensuring all relevant variables are captured.

Real-World Application: S&P 500

Applying T-Rex PCA to S&P 500 stock returns revealed distinct industry clusters (e.g., Energy, Tech, Healthcare) that were obscured by standard PCA. By controlling for false discoveries, the method effectively isolated meaningful interdependencies between stocks after removing dominant market factors.

Conclusion

T-Rex PCA offers a robust, tuning-free alternative to traditional Sparse PCA. By shifting the focus from variance to statistical significance via FDR control, it provides more interpretable and reliable results in noisy, high-dimensional environments. While the computational cost of running multiple random experiments is higher, the gain in accuracy and ease of use makes it a powerful tool for modern data analysis. Future work will explore extending these FDR-controlled principles to non-linear dimensionality reduction techniques.

Summary updated

BibTeX
@misc{machkour2024sparse,
  author = {Jasin Machkour and Arnaud Breloy and Michael Muma and Daniel P. Palomar and Frédéric Pascal},
  title = {{Sparse PCA with False Discovery Rate Controlled Variable Selection}},
  year = {2024},
  eprint = {2401.08375},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.08375},
}
Figure