Convergence Analysis of Gradient Descent for Eigenvector Computation

Zhiqiang Xu, Xin Cao

Abstract

This paper presents a systematic convergence analysis for Riemannian Gradient Descent (GD) applied to the computation of the leading eigenvector of a symmetric matrix. We demonstrate that GD achieves a global convergence rate with only logarithmic dependence on the initial starting point. Notably, we prove that a fast linear convergence rate is maintained even in "zero eigengap" scenarios where the top eigenvalues are identical, provided there is a gap between the leading eigenvalue group and the rest of the spectrum. Our theoretical findings are validated through experiments on both synthetic and large-scale real-world matrices.

Introduction

Eigenvector computation is fundamental to numerous data science applications, including PageRank, Principal Component Analysis (PCA), and spectral clustering. While traditional methods like the Power Method and Lanczos algorithms are well-established, practitioners frequently utilize Gradient Descent (GD) due to its simplicity, robustness, and ease of integration into machine learning pipelines. Despite its practical success, theoretical guarantees for GD in this context have historically been limited to local convergence or scenarios with a significant eigengap ($\lambda_1 - \lambda_2 > 0$). This work bridges this gap by providing a global, gap-independent analysis.

Methods

The problem is formulated as Riemannian Optimization on a unit sphere manifold ($S^{n-1}$), where the constraint $\|x\|_2 = 1$ is naturally handled. The analysis introduces two key innovations:

  1. Potential Function: To track global progress, the authors utilize the log principal angle between the iterate $x_t$ and the optimal subspace $V_p$, defined as $\psi(x_t) = -2 \log \|V_p^\top x_t\|_2$.
  2. Generalized Eigengap ($\Delta_p$): Instead of the traditional $\Delta_1$, the analysis employs $\Delta_p = \lambda_p - \lambda_{p+1}$, where $p$ is the multiplicity of the largest eigenvalue. This allows for theoretical guarantees even when $\Delta_1 = 0$.

The algorithm analyzed is standard Riemannian Gradient Descent with a retraction step: $$x_{t+1} = \text{Retraction}(x_t, -\alpha_{t+1}\tilde{\nabla}f(x_t))$$ where the retraction is a simple normalization step to keep the vector on the sphere.

Key Results and Insights

A primary contribution of this work is the proof that linear convergence is possible even at a zero eigengap. As long as a gap exists between the cluster of leading eigenvalues and the subsequent eigenvalues ($\Delta_p > 0$), the algorithm converges linearly to the optimal subspace.

Figure 1: Performance on synthetic data with zero eigengap ($\Delta_1 = 0$). (a) Relative function error. (b) Potential function showing linear convergence to the subspace $V_p$. (c) Improper potential showing the failure of tracking a single eigenvector $v_1$.

The authors establish a global convergence rate of $O\left(\min\left\{\left(\frac{\lambda_1}{\Delta_p}\right)^2 \log \frac{1}{\epsilon}, \frac{1}{\epsilon}\right\}\right)$. This rate highlights a logarithmic dependence on initialization, explaining why random starts are effective in practice.

Empirical Validation

The theory was tested on synthetic $1000 \times 1000$ matrices with controlled eigenvalue distributions and the real-world Schenk matrix ($10,728 \times 10,728$).

Figure 2: Relative function error for synthetic data with a positive eigengap ($\Delta_1 > 0$), demonstrating consistent linear convergence across different gap sizes.

In the zero-gap synthetic tests (Figure 1), the iterate $x_t$ converges to the optimal subspace $V_p$ at a linear rate, even though the error relative to a single leading eigenvector $v_1$ plateaus. This confirms that GD effectively identifies the optimal subspace rather than a specific vector when eigenvalues are tied.

Conclusion

This paper provides a rigorous theoretical foundation for the use of Gradient Descent in eigenvector computation. By moving beyond local and gap-dependent analyses, it explains the robust performance of GD in practical, high-dimensional settings. Future work includes extending this framework to stochastic gradient descent and exploring faster gradient-based solvers that might rival the iteration complexity of Lanczos methods.

Summary updated

BibTeX
@inproceedings{xu2018convergence,
  author = {Zhiqiang Xu and Xin Cao and Xin Gao},
  title = {{Convergence Analysis of Gradient Descent for Eigenvector Computation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/407},
}
Figure