Skip to main content
QUICK REVIEW

[Paper Review] The Fast Convergence of Incremental PCA

Akshay Balsubramani, Sanjoy Dasgupta|arXiv (Cornell University)|Jan 15, 2015
Statistical Methods and InferenceMathematics29 citations
TL;DR

This paper establishes finite-sample convergence rates for two classical incremental PCA algorithms—Krasulina's and Oja's—showing that both achieve an expected error decay of $ O(1/n) $ under boundedness and $ \gamma_n = c/n $ conditions. The analysis uses a potential function measuring alignment with the top eigenvector and proves fast convergence via moment-generating function bounds and martingale concentration.

ABSTRACT

We consider a situation in which we see samples in $\mathbb{R}^d$ drawn i.i.d. from some distribution with mean zero and unknown covariance A. We wish to compute the top eigenvector of A in an incremental fashion - with an algorithm that maintains an estimate of the top eigenvector in O(d) space, and incrementally adjusts the estimate with each new data point that arrives. Two classical such schemes are due to Krasulina (1969) and Oja (1983). We give finite-sample convergence rates for both.

Motivation & Objective

  • To establish finite-sample convergence rates for incremental PCA algorithms that operate in $ O(d) $ space, suitable for large-scale or streaming data.
  • To analyze the convergence behavior of Krasulina's and Oja's incremental eigenvector estimation schemes under i.i.d. sampling with zero-mean sub-Gaussian or bounded data.
  • To quantify the rate at which the estimated eigenvector approaches the true top eigenvector of the covariance matrix using a potential function $ \Psi_n = 1 - \frac{(V_n \cdot v^*)^2}{\|V_n\|^2} $.
  • To justify the use of a delayed start time $ n_0 $ in the analysis, showing that early-stage noise does not affect the asymptotic convergence rate.
  • To identify conditions under which the convergence rate is optimal and to explore extensions to estimating multiple top eigenvectors.

Proposed method

  • Uses a potential function $ \Psi_n = 1 - \frac{(V_n \cdot v^*)^2}{\|V_n\|^2} $ to measure the angular distance between the current estimate $ V_n $ and the true top eigenvector $ v^* $, with $ \Psi_n \in [0,1] $.
  • Applies stochastic approximation theory to model both Krasulina and Oja updates as stochastic gradient descent on the Rayleigh quotient $ G(v) = \frac{v^T A v}{v^T v} $, with $ A $ being the true covariance matrix.
  • Implements a multi-epoch analysis: divides the convergence path into intervals $ [n_j, n_{j+1}) $, each with a target $ \epsilon_j $, and bounds the moment-generating function of $ \Psi_n $ in each epoch.
  • Uses martingale deviation bounds (Lemma 2.4) and exponential moment bounds (Lemmas 2.7–2.8) to control the probability of large deviations in $ \Psi_n $, leading to high-probability convergence guarantees.
  • Derives a recurrence relation for $ \mathbb{E}[\Psi_n] $ in the final epoch: $ \mathbb{E}[\Psi_n] \leq (1 - \alpha_n)\mathbb{E}[\Psi_{n-1}] + \beta_n $, with $ \alpha_n = (\lambda_1 - \lambda_2)\gamma_n $, $ \beta_n = (B^2/4)\gamma_n^2 $, resembling SGD on strongly convex functions.
  • Justifies the use of a delayed initialization at $ n_0 $, where $ \gamma_n = c/n $, to avoid early-stage instability and ensure clean convergence analysis from a well-behaved starting point.

Experimental results

Research questions

  • RQ1What is the finite-sample convergence rate of Krasulina’s and Oja’s incremental PCA algorithms under standard learning rate $ \gamma_n = c/n $?
  • RQ2How does the choice of the learning rate constant $ c $ affect the convergence rate, and is there an optimal value for practical performance?
  • RQ3Can the analysis be extended to the case where the algorithm starts at $ n_0 = 0 $, rather than a delayed start?
  • RQ4What is the convergence rate when estimating more than one top eigenvector, and how does the $ p $-dimensional extension of Oja’s algorithm behave?
  • RQ5How do the theoretical convergence rates compare to empirical performance on real-world datasets like CMU PIE faces?

Key findings

  • The expected potential $ \mathbb{E}[\Psi_n] $ decays at a rate of $ O(1/n) $ under the conditions $ \gamma_n = c/n $, $ \|X_n\| \leq B $, and $ \lambda_1 > \lambda_2 $, establishing fast convergence.
  • The analysis shows that both Krasulina and Oja algorithms achieve the same convergence rate, with the Oja update being asymptotically equivalent to stochastic gradient descent on the Rayleigh quotient.
  • High-probability bounds are derived: for any $ \delta > 0 $, the probability that $ \Psi_n > 1 - \epsilon_j $ after epoch $ j $ is at most $ \delta/2 $, provided $ n_0 \geq (20c^2B^2/\epsilon_0^2)\ln(4/\delta) $.
  • The final epoch recurrence $ \mathbb{E}[\Psi_n] \leq (1 - \alpha_n)\mathbb{E}[\Psi_{n-1}] + \beta_n $ mirrors the convergence of SGD on strongly convex functions, with $ \alpha_n = (\lambda_1 - \lambda_2)\gamma_n $ and $ \beta_n = (B^2/4)\gamma_n^2 $.
  • Empirical results on the CMU PIE face dataset confirm the theoretical prediction: reducing $ c $ in $ \gamma_n = c/n $ leads to a proportional reduction in the convergence exponent, with log-log plots showing a slope close to $ -1 $.
  • The delayed start at $ n_0 $ is shown to be a technical convenience for analysis, and the paper raises the open question of whether the same $ O(1/n) $ rate can be proven for $ n_0 = 0 $.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.