A Direct Formulation for Sparse PCA Using Semidefinite Programming

Alexandre d'Aspremont, Laurent El Ghaoui, Michael I. Jordan, Gert R. G. Lanckriet · DOI

TL;DR

This paper introduces a novel method for Sparse Principal Component Analysis (SPCA) by formulating it as a semidefinite programming (SDP) problem. This approach directly incorporates sparsity constraints, leading to more interpretable principal components with fewer non-zero loadings while explaining a comparable amount of variance compared to existing methods.

What Problem Does This Paper Address?

Principal Component Analysis (PCA) is a powerful technique for dimensionality reduction and data visualization. However, standard PCA often produces principal components (loadings) that are linear combinations of all original variables, making them difficult to interpret, especially when variables have inherent physical meaning (e.g., genes in biology). This lack of interpretability is exacerbated in applications like financial trading where sparse loadings can reduce transaction costs. Existing methods for achieving sparse PCA are often suboptimal, computationally expensive, or rely on nonconvex formulations. This paper addresses the need for a principled, convex, and computationally tractable method to find sparse principal components.

Methods

The core contribution is a direct formulation of the sparse PCA problem as a semidefinite program (SDP). The authors start by reformulating the problem of maximizing explained variance with a cardinality constraint (number of non-zero loadings) into a variational problem. They then derive a convex relaxation of this problem by:

  • Lifting the problem: Transforming the vector $x$ into a matrix $X = xx^T$.
  • Relaxing constraints: Replacing the non-convex rank-1 constraint and the cardinality constraint with convex approximations. Specifically, the cardinality constraint $Card(x) \le k$ is relaxed to $1^T|X|1 \le k$, which is a convex constraint on the matrix $X$.

This leads to an SDP that can be solved using general-purpose interior-point methods. For larger problems, they adapt Nesterov's smoothing technique, which leverages a saddle-point structure of the problem to achieve a more efficient first-order optimization algorithm with a complexity of $O(n \log n / \epsilon)$, where $n$ is the number of variables and $\epsilon$ is the desired accuracy. They also provide a robustness interpretation of their formulation, linking it to a worst-case maximum eigenvalue problem with bounded noise.

Datasets

The paper evaluates their proposed method (DSPCA) on:

  • Artificial data: A simulation example from Zou, Hastie, and Tibshirani (2004) designed to have clear underlying sparse factors.
  • Pit props data: A real-world dataset with 180 observations and 13 variables, previously used to benchmark sparse PCA methods.
  • Gene expression data: A dataset with 500 genes and 50 samples, where samples are classified into four groups.

Key Insights and Ideas

  • Direct Sparsity Enforcement: The key innovation is directly incorporating sparsity constraints into the optimization problem, rather than applying post-hoc thresholding or relying on implicit sparsity-inducing penalties like LASSO.
  • Semidefinite Programming as a Natural Framework: SDPs provide a powerful and principled way to formulate and solve convex relaxations of hard combinatorial problems like sparse PCA.
  • Robustness Interpretation: The SDP formulation can be viewed as a robust PCA problem, where the input covariance matrix is subject to componentwise uncertainty. This provides an alternative perspective and potential for understanding the method's behavior.
  • Efficient Solvers for Large Problems: The adaptation of Nesterov's smoothing technique is crucial for making the method scalable to high-dimensional datasets, overcoming the memory limitations of traditional interior-point solvers.
  • Improved Interpretability: The resulting sparse principal components are significantly easier to interpret, as they involve a small number of original variables.

Key Results

  • Sparsity: DSPCA consistently achieves sparser principal components compared to SPCA (the state-of-the-art method at the time) while explaining a comparable amount of variance. For instance, on the pit props data, DSPCA identified principal components with significantly fewer non-zero loadings than SPCA, while achieving similar cumulative explained variance.
  • Variance Explained: While some methods like simple thresholding explained less variance, DSPCA and SPCA explained comparable amounts of variance.
  • Computational Efficiency: The paper demonstrates that their first-order optimization approach scales well with problem size, with empirical complexity appearing to grow as $O(n^3)$ for computing the matrix exponential per iteration.
  • Gene Expression Data: On gene expression data, DSPCA produced sparse factors involving a small number of genes (e.g., 14 total non-zero coefficients for three factors) compared to standard PCA which produced dense factors using all 500 genes, facilitating clearer clustering.

Limitations and Future Work

  • Degenerate Cases: The paper acknowledges that in degenerate scenarios (where the dominant eigenvalue has high multiplicity), the dominant eigenvector of the relaxed solution might not be as sparse as desired. Truncation techniques are suggested to address this.
  • Stopping Criterion: For sparse decomposition, the natural stopping criterion based on the number of factors in PCA is not directly applicable. The authors suggest using a robustness-based criterion (comparing coefficients to noise level) or explicitly enforcing orthogonality.
  • Computational Complexity: While the method is scalable, the $O(n^3)$ cost per iteration for the matrix exponential can still be a bottleneck for extremely large $n$. The paper mentions that specialized algorithms for matrix exponentials might offer further improvements.
  • Future Work: The paper implicitly suggests further exploration of the robustness interpretation and its implications, as well as refining the sparse decomposition stopping criteria.

Summary updated

BibTeX
@article{daspremont2007direct,
  author = {Alexandre d'Aspremont and Laurent El Ghaoui and Michael I. Jordan and Gert R. G. Lanckriet},
  title = {{A Direct Formulation for Sparse PCA Using Semidefinite Programming}},
  journal = {SIAM Rev.},
  year = {2007},
  doi = {10.1137/050645506},
}
Figure