NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Fast Algorithm for Matrix Eigen-decompositionn

Zhiqiang Xu, Yiping Ke, Xin Gao

Introduction

Finding the "top" eigenvectors of large matrices is a foundational task in data science, powering applications from Principal Component Analysis (PCA) to spectral clustering. As datasets grow, traditional deterministic methods like the Lanczos algorithm become computationally prohibitive. In the paper "A Fast Stochastic Riemannian Eigensolver," researchers introduce SVRRG-EIGS, an algorithm that combines stochastic optimization with the geometric principles of Riemannian manifolds to achieve superior speed and accuracy.

Problem Formulation

The core challenge involves finding the top $k$ eigenvectors of a massive, real, symmetric matrix $A$. This is mathematically framed as maximizing the trace function:

$$f(X) = \frac{1}{2}\text{tr}(X^T AX) \quad \text{subject to} \quad X^T X = I$$

This constraint defines a Stiefel manifold—a curved space of orthogonal matrices. Standard Euclidean optimization often ignores this geometry, requiring frequent and expensive re-orthogonalization steps. Furthermore, standard stochastic methods suffer from gradient noise, necessitating decaying learning rates that slow convergence.

The SVRRG-EIGS Algorithm

SVRRG-EIGS (Stochastic Variance Reduced Riemannian Gradient Eigensolver) addresses these issues through three key pillars:

  1. Riemannian Optimization: The problem is treated as unconstrained on the Stiefel manifold, utilizing Riemannian gradients and retractions (polar decomposition) to maintain orthogonality naturally.
  2. Variance Reduction (SVRG): The algorithm uses a "snapshot" of the full gradient at the start of each epoch to correct noisy stochastic estimates in the inner loops.
  3. Vector Transport: To perform variance reduction on a curved manifold, gradients from different tangent spaces must be aligned. The authors employ a computationally efficient, closed-form vector transport to move gradients across the manifold.
The SVRRG-EIGS algorithm pseudocode, illustrating the nested loop structure for variance reduction on the manifold.

Experimental Results

The algorithm was primarily evaluated on the Schenk matrix (10,728 × 10,728) from the University of Florida Sparse Matrix Collection.

Key Findings:

  • Linear Convergence: SVRRG-EIGS demonstrates theoretical and empirical linear convergence to the global optimum.
  • Superior Precision: On the Schenk dataset, SVRRG-EIGS reached double-precision accuracy ($10^{-12}$) faster than competitors like VR-PCA. At specific intervals, it was often an order of magnitude more accurate than VR-PCA.
  • Stability: Unlike standard Riemannian Gradient Descent (RG-EIGS), which can exhibit numerical instability, SVRRG-EIGS remains stable due to its variance reduction and robust geometric operations.
Performance metrics on the Schenk dataset. SVRRG-EIGS (red triangles) consistently outperforms VR-PCA (green triangles) and standard Riemannian methods in convergence speed and final accuracy.

Conclusion and Future Work

By respecting the inherent geometry of the Stiefel manifold and applying variance reduction, SVRRG-EIGS provides a highly efficient solution for large-scale eigen-decomposition. Future research directions include developing automated hyperparameter tuning for the learning rate and exploring methods to guarantee global convergence from arbitrary initializations, as current proofs rely on local convergence properties.

Summary updated

BibTeX
@inproceedings{xu2017fast,
  author = {Zhiqiang Xu and Yiping Ke and Xin Gao},
  title = {{A Fast Algorithm for Matrix Eigen-decompositionn}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2017},
}
Figure