[Paper Review] Faster Eigenvector Computation via Shift-and-Invert Preconditioning
This paper presents faster algorithms for computing the top eigenvector of a matrix using shift-and-invert preconditioning combined with stochastic variance reduced gradient (SVRG) solvers. It achieves improved runtime bounds—specifically, $ tilde{O}ig(ig[ ext{nnz}( extbf{A}) + rac{d\cdot\text{sr}(\textbf{A})}{\text{gap}^2}\big]\cdot\log 1/\epsilon\big)$ and $ tilde{O}ig(\big[\text{nnz}(\textbf{A})^{3/4}(d\cdot\text{sr}(\textbf{A}))^{1/4}/\sqrt{\text{gap}}\big]\cdot\log 1/\epsilon\big)$—by decoupling dependence on non-zero count and spectral gap, significantly outperforming classical power and Lanczos methods.
We give faster algorithms and improved sample complexities for estimating the top eigenvector of a matrix $Σ$ -- i.e. computing a unit vector $x$ such that $x^T Σx \ge (1-ε)λ_1(Σ)$: Offline Eigenvector Estimation: Given an explicit $A \in \mathbb{R}^{n imes d}$ with $Σ= A^TA$, we show how to compute an $ε$ approximate top eigenvector in time $ ilde O([nnz(A) + \frac{d*sr(A)}{gap^2} ]* \log 1/ε)$ and $ ilde O([\frac{nnz(A)^{3/4} (d*sr(A))^{1/4}}{\sqrt{gap}} ] * \log 1/ε)$. Here $nnz(A)$ is the number of nonzeros in $A$, $sr(A)$ is the stable rank, $gap$ is the relative eigengap. By separating the $gap$ dependence from the $nnz(A)$ term, our first runtime improves upon the classical power and Lanczos methods. It also improves prior work using fast subspace embeddings [AC09, CW13] and stochastic optimization [Sha15c], giving significantly better dependencies on $sr(A)$ and $ε$. Our second running time improves these further when $nnz(A) \le \frac{d*sr(A)}{gap^2}$. Online Eigenvector Estimation: Given a distribution $D$ with covariance matrix $Σ$ and a vector $x_0$ which is an $O(gap)$ approximate top eigenvector for $Σ$, we show how to refine to an $ε$ approximation using $ O(\frac{var(D)}{gap*ε})$ samples from $D$. Here $var(D)$ is a natural notion of variance. Combining our algorithm with previous work to initialize $x_0$, we obtain improved sample complexity and runtime results under a variety of assumptions on $D$. We achieve our results using a general framework that we believe is of independent interest. We give a robust analysis of the classic method of shift-and-invert preconditioning to reduce eigenvector computation to approximately solving a sequence of linear systems. We then apply fast stochastic variance reduced gradient (SVRG) based system solvers to achieve our claims.
Motivation & Objective
- To develop faster algorithms for top eigenvector computation in both offline and online settings, especially when the eigengap is small.
- To improve runtime dependencies on the number of nonzeros (nnz) and stable rank (sr) of the input matrix, particularly by separating gap dependence from nnz terms.
- To achieve better sample complexity in the online setting by refining an initial approximate top eigenvector using only $O(\text{v}(\mathcal{D})/(\text{gap} \cdot \epsilon))$ samples.
- To provide a robust theoretical analysis of shift-and-invert preconditioning for eigenvector computation, enabling efficient reduction to solving well-conditioned linear systems.
- To demonstrate that combining shift-and-invert with modern stochastic solvers like SVRG yields provably faster convergence and practical gains.
Proposed method
- The method uses shift-and-invert preconditioning by forming $\mathbf{B} = \lambda\mathbf{I} - \mathbf{A}^\top\mathbf{A}$ for $\lambda \approx \lambda_1(\mathbf{A}^\top\mathbf{A})$, transforming the top eigenvector problem into one with a larger effective gap.
- It reduces eigenvector computation to approximately solving a sequence of linear systems in $\mathbf{B}$, which are well-conditioned due to the shift.
- Stochastic variance reduced gradient (SVRG) methods are used to solve these linear systems efficiently, with low memory and per-iteration cost proportional to a single sample.
- The algorithm applies an inverted power method on $\mathbf{B}^{-1}$, iteratively improving the approximation to the top eigenvector of $\mathbf{A}^\top\mathbf{A}$.
- A robust analysis ensures that errors in linear system solves do not degrade convergence, maintaining $\epsilon$-accuracy with high probability.
- The framework separates spectral properties (via stable rank and eigengap) from data sparsity (via nnz), enabling tighter runtime bounds.
Experimental results
Research questions
- RQ1Can shift-and-invert preconditioning be robustly analyzed to enable faster eigenvector computation when the eigengap is small?
- RQ2Can the dependency on the number of nonzeros and the stable rank be decoupled in the runtime of top eigenvector algorithms?
- RQ3What is the optimal sample complexity for refining an initial approximate top eigenvector in the online setting with distributional access?
- RQ4Can SVRG-based solvers be effectively combined with shift-and-invert to achieve faster convergence than classical methods?
- RQ5What are the theoretical bounds on runtime and sample complexity when using preconditioned power methods with stochastic linear system solvers?
Key findings
- The offline algorithm achieves a runtime of $\widetilde{O}\big(\big[\text{nnz}(\mathbf{A}) + \frac{d\cdot\text{sr}(\mathbf{A})}{\text{gap}^2}\big]\cdot\log 1/\epsilon\big)$, improving upon power and Lanczos methods by decoupling gap and nnz dependencies.
- An accelerated variant achieves $\widetilde{O}\big(\big[\text{nnz}(\mathbf{A})^{3/4}(d\cdot\text{sr}(\mathbf{A}))^{1/4}/\sqrt{\text{gap}}\big]\cdot\log 1/\epsilon\big)$, which is faster when $\text{nnz}(\mathbf{A}) \leq \frac{d\cdot\text{sr}(\mathbf{A})}{\text{gap}^2}$.
- In the online setting, the algorithm refines an $O(\text{gap})$-approximate eigenvector using only $O(\text{v}(\mathcal{D})/(\text{gap} \cdot \epsilon))$ samples, improving sample complexity.
- The framework achieves high-probability $\epsilon$-accuracy with $1 - O(1/d^{10})$ confidence using SVRG-based solvers for linear systems in $\mathbf{B}$.
- Theoretical analysis shows that error propagation in linear system solves is controlled, maintaining $\Omega(\alpha_1^2)$ component in the top eigenvector direction over iterations.
- The results suggest that shift-and-invert methods are not only theoretically sound but also practically effective, with potential for further gains in real-world applications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.