On the Error-Propagation of Inexact Hotelling's Deflation for Principal Component Analysis

Fangshuo Liao, Junhyung Lyle Kim, Cruz Barnum, Anastasios Kyrillidis

Introduction

Principal Component Analysis (PCA) is a foundational tool in machine learning for dimensionality reduction and feature extraction. When dealing with massive, high-dimensional datasets, computing the top-$K$ principal components exactly is computationally infeasible. Instead, practitioners often use deflation: an iterative meta-algorithm that finds the first principal component, subtracts its variance from the dataset, finds the next component from the remainder, and so on.

However, because we use iterative algorithms (like power iteration) with limited compute budgets, our estimate of each principal component is slightly inexact. Because deflation is sequential, the numerical error from the first component corrupts the matrix used to find the second component, which in turn corrupts the third, creating a cascading snowball of errors. While deflation is widely used, the exact mathematical nature of this interdependent error accumulation—and how many iterations are actually needed to guarantee a specific accuracy—has not been rigorously characterized until now.

Analyzing Error Propagation

The authors tackle this problem through rigorous theoretical bounds, splitting their analysis into two distinct scenarios:

  1. Sub-routine Agnostic: They first analyze deflation assuming any generic algorithm is used to find the top eigenvector, knowing only the magnitude of its error. They use mathematical tools like Weyl’s inequality and the Davis-Kahan sin $\Theta$ theorem to bound how errors propagate from one deflated matrix to the next.
  2. Power Iteration Specific: They then restrict the subroutine specifically to power iteration. Using Neumann expansion, they track not just the size of the error, but its direction. Because power iteration naturally suppresses errors along different eigenvectors at different rates, the authors can model exactly how the error vector aligns with the remaining matrix, allowing for a much tighter mathematical bound.

Key Insights: The Snowball Effect and Directional Error

In the general, algorithm-agnostic case, errors don't just add up; they compound multiplicatively. The error bound grows exponentially with $K$ (the number of components), and the base of this growth is highly sensitive to the eigengap (the distance between adjacent eigenvalues). If eigenvalues are close together, errors explode near-factorially.

Error propagation over sequential deflation steps

However, just knowing the overall size of the numerical error isn't enough. The crucial realization of the paper is that the error vector produced by power iteration isn't random—it aligns in predictable ways with the remaining eigenvectors. Because power iteration suppresses errors along larger eigenvectors faster, the compounding effect is much less severe than the worst-case scenario. By factoring in this directional information, the exponential growth base becomes a constant, decoupling it from the nasty eigengap dependencies seen in the agnostic case.

Key Results and Empirical Validation

This directional insight translates into a significant theoretical speedup. To guarantee an error of at most $\varepsilon$ across $K$ components, a generic linearly-converging solver needs $t \geq \Omega(\log \frac{K}{\varepsilon} + K \log K)$ iterations. By exploiting power iteration's specific properties, this requirement drops to $t \geq \Omega(\log \frac{K}{\varepsilon} + K)$. This effectively saves a factor of $\log K$ iterations per component, a significant theoretical improvement.

Mutual Information vs. Number of Power Iteration Steps on MNIST

The authors validated these findings empirically using an MNIST spectral clustering task. As shown above, increasing the number of power iteration steps (from 25 to 200) steadily improved clustering accuracy, measured by Mutual Information. This confirms the theoretical premise: controlling cascading deflation errors is practically relevant for downstream machine learning tasks.

Limitations and Future Work

The theoretical analysis currently assumes the covariance matrix is positive definite and has strictly distinct eigenvalues. It does not account for matrices with repeated eigenvalues (ties) or zero eigenvalues. Future work could extend the math to handle repeated eigenvalues, which would require tracking error propagation between entire subspaces rather than individual eigenvectors. Analyzing other popular iterative solvers, such as the Lanczos method or power iteration with momentum, could also yield even better error propagation bounds.

Summary updated

BibTeX
@inproceedings{liao2024error,
  author = {Fangshuo Liao and Junhyung Lyle Kim and Cruz Barnum and Anastasios Kyrillidis},
  title = {{On the Error-Propagation of Inexact Hotelling's Deflation for Principal Component Analysis}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=8dX4YnosqG},
}
Figure