Deflation Methods for Sparse PCA

Lester W. MackeyNeurIPS 2008

Principal Component Analysis (PCA) is the bread and butter of data science for reducing dimensionality. However, standard PCA produces "dense" components where every variable contributes a little bit, making results hard to interpret. Sparse PCA fixes this by forcing most coefficients to be zero, highlighting only the most important variables.

Most Sparse PCA algorithms work iteratively: they find the best sparse component, "deflate" the data matrix to remove the influence of that component, and repeat to find the next component. This paper reveals that simply "borrowing" the standard PCA deflation technique for Sparse PCA is mathematically unsound. By introducing new deflation methods, the author demonstrates how to capture significantly more variance and maintain mathematical consistency in sparse models.

The Problem with Standard Deflation

The "deflation" step used in almost all early Sparse PCA literature was blindly copied from standard PCA—specifically, Hotelling’s deflation. Hotelling’s method assumes that components are true eigenvectors and are perfectly orthogonal (at 90-degree angles to each other).

In Sparse PCA, components are rarely true eigenvectors and almost never orthogonal. This mismatch causes the algorithm to "break." It can lose positive-semidefiniteness (leading to impossible negative variances) and fail to actually remove the variance it just found, leading to redundant components.

Proposed Methods

To fix this "mathematical hand-me-down" problem, several alternative deflation methods are proposed:

  • Projection Deflation: Instead of a simple subtraction, this method projects the data onto the space orthogonal to the sparse component. This ensures the next component found is truly "new" information.
  • Schur Complement Deflation: Based on the statistics of conditional variance. Assuming the data is Gaussian, this method calculates the variance remaining in the variables given the component just found. It is equivalent to a specific type of data projection and is much more robust than the standard approach.
  • Generalized Deflation (GD): This is the paper's most principled contribution. Rather than using a heuristic deflation step, the Sparse PCA optimization problem itself is reformulated. It defines a new objective: on each round, specifically maximize the additional variance explained, given all previously found components. This leads to a greedy algorithm that is mathematically rigorous for the sparse setting.
Comparison of mathematical properties preserved by different deflation methods.

Key Insights

  • The Orthogonality Trap: Hotelling’s deflation is a special case that only works when you have true eigenvectors. Because sparse constraints prevent us from finding true eigenvectors, we must use more general projection tools.
  • Preserving "Physical" Reality: Standard deflation can result in matrices that are no longer "positive semidefinite." In plain English, the math starts claiming that certain directions in your data have negative variance, which is physically impossible. The proposed Projection and Schur methods are guaranteed to avoid this.
  • Greedy is Good: By reformulating the problem to focus on "additional variance," the Generalized Deflation method provides a clear path to extracting the most information possible in a sequential manner.

Key Results

The paper evaluates these methods on two primary datasets: the classic Pit Props Dataset (13 variables, 180 observations) and modern Gene Expression Data (21 genes across 5,759 nuclei).

The experiments show a clear hierarchy in performance:

  • Standard is Suboptimal: Hotelling’s Deflation (HD), the industry standard at the time, consistently performed the worst or near-worst in terms of total variance explained.
  • The Winners: Schur Complement (SCD) and Generalized Deflation (GD) were the top performers.
  • Pit Props: On the Pit Props data, standard deflation captured ~73.4% of the variance, while Schur and Generalized deflation captured ~79%.
  • Gene Expression: On the gene expression data, Generalized Deflation reached 79.6% cumulative variance by the 8th principal component, while the standard Hotelling approach lagged behind at 75.1%.
Cumulative percentage variance explained on the Gene Expression dataset.

Essentially, by using the right deflation math, you get "more" PCA for the same amount of sparsity.

Limitations and Future Work

While the paper provides a much-needed theoretical foundation for deflation, it primarily focuses on the sequential extraction of components (finding one, then the next). It does not deeply explore "block" methods where all sparse components are found simultaneously, though it notes that sequential methods are often preferred for their computational efficiency.

The author suggests that these generalized deflation techniques aren't just for PCA—they could potentially improve other constrained matrix problems like Sparse Canonical Correlation Analysis (CCA) or Linear Discriminant Analysis (LDA).

Summary updated

BibTeX
@inproceedings{mackey2008deflation,
  author = {Lester W. Mackey},
  title = {{Deflation Methods for Sparse PCA}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2008},
}
Figure