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

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

Abstract

Principal Component Analysis (PCA) aims to find subspaces spanned by the so-called principal components that best represent the variance in the dataset. The deflation method is a popular meta-algorithm that sequentially finds individual principal components, starting from the most important ones and working towards the less important ones. However, as deflation proceeds, numerical errors from the imprecise estimation of principal components propagate due to its sequential nature. This paper mathematically characterizes the error propagation of the inexact Hotelling's deflation method. We consider two scenarios: $i)$ when the sub-routine for finding the leading eigenvector is abstract and can represent various algorithms; and $ii)$ when power iteration is used as the sub-routine. In the latter case, the additional directional information from power iteration allows us to obtain a tighter error bound than the sub-routine agnostic case. For both scenarios, we explicitly characterize how the errors progress and affect subsequent principal component estimations.

Introduction

Principal Component Analysis (PCA) is a fundamental tool in data science, used for dimensionality reduction, feature extraction, and clustering. When extracting the top $K$ principal components, practitioners often employ Hotelling’s deflation. This sequential process involves finding the first principal component, removing its contribution from the data, and repeating the process on the residual.

While theoretically sound in exact arithmetic, real-world implementations rely on iterative sub-routines like Power Iteration. These sub-routines provide only approximations. Because deflation is sequential, an approximation error in the first component inevitably "contaminates" the residual matrix used to find the second component. This paper provides the first rigorous mathematical characterization of this "error snowball" effect.

Theoretical Bounds: Agnostic vs. Power Iteration

The authors analyze error propagation under two distinct assumptions regarding the sub-routine used to find the leading eigenvector.

1. Sub-routine Agnostic Analysis

In the most general case, where the specific algorithm for finding eigenvectors is unknown, the error bound is derived using classical tools such as Weyl’s inequality and the Davis-Kahan sin $\Theta$ Theorem. This analysis reveals a pessimistic outlook: without specific knowledge of the error's structure, the bound grows nearly factorially. To maintain a target accuracy for the $K$-th component, the initial components must be computed with extreme precision.

2. Power Iteration Specific Analysis

When Power Iteration is used as the sub-routine, the analysis becomes significantly more optimistic. By employing a Neumann expansion technique, the authors demonstrate that the error vector produced by Power Iteration is not arbitrary noise. Instead, it possesses a specific orientation that is "friendlier" to the deflation process. This leads to a tighter bound where error propagation is exponential with a constant base, rather than factorial.

Why Power Iteration is Robust

The core insight of the research is that Power Iteration is naturally suited for deflation. The error it introduces is largely aligned with the remaining eigenvectors. Since the deflation process is designed to sequentially target and remove these very directions, the method is more robust than a general analysis would suggest.

Alignment of estimated eigenvectors $u_k$ with true principal components $u_j^*$. The peaks at $j=k$ demonstrate that the estimated vectors are well-aligned with their targets, while the surrounding values show the structured nature of the approximation error.

This directional alignment allows for significant computational savings. The theory suggests that one can achieve the same level of final accuracy with fewer iterations—specifically saving a factor of $\log K$ iterations compared to what the agnostic theory would mandate.

Empirical Validation

The theoretical findings were validated using both synthetic and real-world datasets. On synthetic high-dimensional matrices with controlled eigenvalue decay, the researchers visualized the fine-grained dynamics of error propagation.

To demonstrate practical impact, the authors applied the method to spectral clustering on the MNIST dataset. The results show a clear correlation between the number of Power Iteration steps and the quality of the resulting clusters, measured by Mutual Information (MI).

Clustering performance (Mutual Information) on MNIST as a function of Power Iteration steps for $K=5$ and $K=15$ components. Performance improves as the sub-routine becomes more exact.

Conclusion

This work provides a critical mathematical foundation for understanding how inexactness propagates in sequential PCA. By distinguishing between general sub-routines and specific algorithms like Power Iteration, the authors show that the structure of numerical error matters as much as its magnitude. Future work may extend these findings to other popular methods like the Lanczos algorithm or explore the implications for low-rank data regimes.

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 Deflation for Principal Component Analysis}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=8dX4YnosqG},
}
Figure