R-SPIDER: A Fast Riemannian Stochastic Optimization Algorithm with Curvature Independent Rate

Jingzhao Zhang, Hongyi Zhang, Suvrit SraarXiv 2018

Many fundamental machine learning problems—including Principal Component Analysis (PCA), dictionary learning, and covariance estimation—do not occur in flat Euclidean space. Instead, their parameters reside on curved surfaces known as Riemannian manifolds, such as the surface of a sphere or the space of positive definite matrices. Optimizing on these surfaces is inherently challenging; naive Euclidean approaches often require computationally expensive projections and can be numerically unstable.

While Riemannian versions of stochastic gradient descent (SGD) have been developed, they historically suffer from two major drawbacks: high variance in gradient estimates leading to slow convergence, and a "curvature tax." Previous theoretical analyses suggested that convergence speed was inextricably linked to the manifold's sectional curvature (its "twistiness") and diameter. This meant that theoretical guarantees only held if the algorithm remained within a small, well-behaved compact region.

The R-SPIDER Framework

To address these challenges, the authors introduce R-SPIDER (Riemannian Stochastic Path-Integrated Differential Estimator). This algorithm adapts the powerful variance-reduction techniques of Euclidean SPIDER to the Riemannian setting. The core of R-SPIDER relies on two fundamental geometric operations to maintain accuracy while navigating curved space:

  • Parallel Transport: Because gradients exist in tangent spaces that change as the algorithm moves, R-SPIDER uses parallel transport to "carry" gradient information from a previous point to the current one, enabling precise variance reduction.
  • Exponential Maps: To ensure the algorithm never "leaves" the manifold, it moves along geodesics (the shortest paths on a curved surface) rather than straight lines.
Geometric operations in R-SPIDER: Exponential maps (left) and Parallel transport (right).

Theoretical Breakthroughs

The most significant contribution of this work is achieving curvature independence. By refining the convergence analysis to avoid bounding the distance between successive iterates, the authors eliminated the dependency on the manifold's sectional curvature ($\zeta$). This leads to several key advantages:

  1. Universal Guarantees: The theoretical performance of R-SPIDER is now independent of the specific "twistiness" of the manifold.
  2. Lifting Compactness Assumptions: Because the rates do not depend on the manifold's diameter, the algorithm no longer requires the assumption that it stays trapped within a small, compact subset to guarantee convergence.
  3. Optimal Efficiency: R-SPIDER matches the known lower bounds for Euclidean space, achieving an Oracle complexity of $O(n + \sqrt{n}/\epsilon^2)$ for finite-sum nonconvex problems, suggesting it is as fast as theoretically possible.

Convergence Results

R-SPIDER demonstrates state-of-the-art Incremental First-order Oracle (IFO) complexity across various optimization settings. By removing the curvature constant $\zeta$, it significantly outperforms previous Riemannian stochastic methods.

Comparison of IFO complexity between R-SPIDER and previous state-of-the-art methods.

Key improvements include:

  • Nonconvex Stochastic: Improved from $O(\epsilon^{-4})$ to $O(\epsilon^{-3})$.
  • Nonconvex Finite Sum: Improved from $O(n + n^{2/3}\epsilon^{-2})$ to $O(n + n^{1/2}\epsilon^{-2})$.
  • Strongly Convex: Eliminated the curvature dependency $\zeta$, reducing complexity from $O((n + \kappa^2 \zeta) \log(1/\epsilon))$ to $O((n + \kappa^2) \log(1/\epsilon))$.

Limitations and Future Work

While R-SPIDER sets a new theoretical benchmark, some practical hurdles remain. The current theoretical formulation requires very small step sizes, which can lead to slow initial progress in real-world applications. Additionally, some variants require large sample sizes per iteration. Future research aims to develop "boosted" versions of R-SPIDER that utilize larger, more practical step sizes while maintaining these rigorous curvature-independent guarantees.

Summary updated

BibTeX
@misc{zhang2018r,
  author = {Jingzhao Zhang and Hongyi Zhang and Suvrit Sra},
  title = {{R-SPIDER: A Fast Riemannian Stochastic Optimization Algorithm with Curvature Independent Rate}},
  year = {2018},
  eprint = {1811.04194},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.04194},
}
Figure