Accelerated Stochastic Power Iteration

Peng Xu, Bryan D. He, Christopher De Sa, Ioannis Mitliagkas, Christopher Ré

Abstract: Principal component analysis (PCA) is one of the most powerful tools for analyzing matrices in machine learning. In this paper, we study methods to accelerate power iteration in the stochastic setting. By combining classical momentum techniques with modern variance control, we bridge the gap between simple power iteration and complex, optimal numerical methods.

Introduction

Principal Component Analysis (PCA) is a cornerstone of data science, but as datasets grow, traditional "full-pass" methods become computationally prohibitive. This has led to the rise of stochastic PCA methods, such as Oja’s algorithm, which process small subsets of data at a time.

However, a significant performance gap remains. In deterministic settings, the Lanczos algorithm is the gold standard because its convergence rate depends on the square root of the eigen-gap ($\sqrt{\Delta}$), making it much faster than standard power iteration. Achieving this "acceleration" in the stochastic world is difficult because momentum—the standard tool for acceleration—tends to amplify the noise inherent in stochastic sampling.

Methods: Rescuing Momentum

The authors propose two primary algorithms based on a three-term recurrence relation: $w_{t+1} = \tilde{A}_t w_t - \beta w_{t-1}$. The core challenge is managing the "Momentum Paradox": while momentum speeds up the convergence of the mean, it also increases variance, potentially leading to a large "noise ball" and poor accuracy.

Convergence of stochastic PCA variants under different noise and variance control regimes.
  1. Mini-batch Power Method with Momentum (Mini-batch Power+M): By using sufficiently large mini-batches, the algorithm keeps variance below a "breaking-point" threshold, ensuring that momentum provides acceleration rather than instability.
  2. Variance Reduced Power Method with Momentum (VR Power+M): This approach uses a Stochastic Variance Reduced Gradient (SVRG)-style technique. By periodically computing a full-pass "anchor" gradient, the stochastic updates are nudged toward the true mean, allowing for acceleration with a constant and smaller batch size.

The theoretical analysis utilizes Chebyshev polynomials to characterize how momentum affects both convergence and variance growth.

Key Results

The proposed methods achieve the optimal iteration complexity of the Lanczos method ($O(1/\sqrt{\Delta})$) while maintaining optimal sample complexity ($O(1/\Delta^2)$).

The authors evaluated these methods on synthetic data and several real-world network graphs, including arXiv ASTRO-PH, arXiv HEP-PH, and the Google Web Graph. The task was computing eigenvector centrality, identifying influential nodes in these networks.

Performance comparison on real-world network graphs for eigenvector centrality computation.

As shown in the figures above, the momentum-based methods (red lines) converge significantly faster than standard stochastic power iteration (blue lines), particularly in cases with small eigen-gaps. Notably, for the VR Power+M algorithm, the required batch size is independent of the target accuracy ($\epsilon$), a major improvement over non-variance-reduced methods.

Discussion and Future Work

This work demonstrates that simple three-term recurrences can achieve optimal rates without complex preconditioning, provided variance is managed correctly. These methods are "embarrassingly parallel," making them ideal for modern GPU or distributed architectures.

Future research directions include:

  • Computational Overhead: Investigating if the extra $\sqrt{d}$ factor in FLOPs (where $d$ is dimension) is an unavoidable cost for parallelization.
  • Global Convergence: Extending the current "local" convergence analysis to a unified global analysis.
  • Generalization: Applying this variance analysis for three-term recurrences to other non-convex problems like matrix completion and phase retrieval.

Summary updated

BibTeX
@inproceedings{xu2018accelerated,
  author = {Peng Xu and Bryan D. He and Christopher De Sa and Ioannis Mitliagkas and Christopher Ré},
  title = {{Accelerated Stochastic Power Iteration}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2018},
  url = {https://openreview.net/forum?id=rmCaii1EioH},
}
Figure