Riemannian stochastic approximation algorithms

Mohammad Reza Karimi, Ya‐Ping Hsieh, Panayotis Mertikopoulos, Andreas Krause · DOI

Abstract

We examine a wide class of stochastic approximation algorithms for solving (stochastic) nonlinear problems on Riemannian manifolds. Such algorithms arise naturally in the study of Riemannian optimization, game theory and optimal transport, but their behavior is much less understood compared to the Euclidean case because of the lack of a global linear structure on the manifold. We overcome this difficulty by introducing a suitable Fermi coordinate frame which allows us to map the asymptotic behavior of the Riemannian Robbins-Monro (RRM) algorithms under study to that of an associated deterministic dynamical system. In so doing, we provide a general template of almost sure convergence results that mirrors and extends the existing theory for Euclidean Robbins-Monro schemes, despite the significant complications that arise due to the curvature and topology of the underlying manifold. We showcase the flexibility of the proposed framework by applying it to a range of retraction-based variants of the popular optimistic / extra-gradient methods for solving minimization problems and games, and we provide a unified treatment for their convergence.

Introduction

In the traditional Euclidean setting ($\mathbb{R}^d$), stochastic approximation is a well-established tool for root-finding and optimization. The classic Robbins-Monro (RM) algorithm updates a position by following a noisy estimate of a vector field: $X_{n+1} = X_n + \gamma_n V_n$. However, modern machine learning increasingly encounters problems constrained to Riemannian manifolds—curved surfaces such as spheres, tori, or the space of positive-definite matrices. Applications range from robust Principal Component Analysis (PCA) and robotic control to optimal transport.

On a manifold, the lack of a global linear structure means one cannot simply "add" a vector to a point. The geometry changes as the algorithm moves, and the concept of a "straight line" is replaced by geodesics. While Riemannian Stochastic Gradient Descent (RSGD) has been studied for gradient vector fields, a unified theory for general, non-gradient vector fields—essential for game theory and saddle-point problems—has remained elusive. This paper bridges that gap by providing a rigorous framework for Riemannian Stochastic Approximation.

The Riemannian Robbins–Monro (RRM) Framework

The authors introduce a generalized Riemannian Robbins–Monro (RRM) template to handle these geometric constraints. The update rule is defined as:

$$X_{n+1} = \exp_{X_n}(\gamma_n(v(X_n) + W_n))$$

In this formulation, the standard Euclidean addition is replaced by the exponential map, which moves the iterate along a geodesic in the direction of the vector field $v(X_n)$ plus noise $W_n$. Recognizing the computational expense of the exponential map, the framework also supports retractions—first-order approximations that are more efficient to compute while maintaining the necessary convergence properties.

The Innovation: Extended Fermi Coordinates

The primary technical hurdle in analyzing RRM is the inability to use the standard "ODE method," which relates discrete algorithmic steps to continuous dynamical systems in flat space. To overcome this, the authors introduce the extended Fermi coordinate frame.

This coordinate system acts as a moving "inertial frame" that follows the algorithm's trajectory. By constructing this local frame, the authors can map the complex, curved dynamics of the manifold back into a local Euclidean-like space. This transformation allows for the application of martingale limit theory and the ODE method, effectively linearizing the problem enough to prove convergence without ignoring the underlying curvature and topology.

Key Insights and Theoretical Results

The ODE Connection and Asymptotic Pseudotrajectories

The paper establishes that RRM iterates function as an Asymptotic Pseudotrajectory (APT) of a continuous-time Riemannian mean dynamic, defined by $\dot{\theta} = v(\theta)$. This means that as the step-size $\gamma_n$ vanishes, the discrete path of the algorithm increasingly shadows the smooth, deterministic trajectories of the underlying vector field.

Almost Sure Convergence

The authors prove that under mild technical conditions, the sequence of iterates converges almost surely to internally chain-transitive (ICT) sets. For practical optimization, this implies that if a problem has a stable solution—such as a Nash equilibrium or a local minimum—the algorithm is guaranteed to find and remain at that solution.

Beyond Gradients: Riemannian Games

Unlike previous research restricted to gradient descent, this framework applies to any $L$-Lipschitz vector field. This is a significant advancement for Riemannian Games, where players' interests may lead to cyclical behavior rather than a simple descent toward a single energy minimum. The paper provides the first rigorous proof of convergence for stochastic approximation in these complex, non-gradient settings.

Stability Under Retractions

A critical result for practitioners is the proof that convergence holds even when using computationally cheap retractions instead of exact geodesics, provided the noise has bounded fourth moments. This ensures the framework is applicable to real-world high-dimensional problems where exact exponential maps are prohibitive.

Limitations and Future Directions

While the paper provides a robust foundation, several areas remain for future exploration:

  • Step-size Regimes: The current theory requires diminishing step-sizes ($\sum \gamma_n = \infty, \sum \gamma_n^2 < \infty$). Analyzing constant step-size regimes on manifolds remains an open challenge.
  • Precompactness: The proofs assume iterates stay within a compact region. While the authors provide a "weak coercivity" condition to support this, verifying it on non-compact manifolds like hyperbolic space can be difficult.
  • Zeroth-Order Methods: The framework currently focuses on first-order oracles. Extending these proofs to "bandit" or zeroth-order settings, where only function values are available, is a promising next step.

Conclusion

By introducing the extended Fermi coordinate frame, this work successfully extends the powerful ODE method to the Riemannian setting. It provides a unified treatment for a variety of algorithms, including Riemannian versions of Extra-gradient and Optimistic Gradient methods, offering a theoretical guarantee for stochastic nonlinear problems on curved spaces.

Summary updated

BibTeX
@misc{karimi2022riemannian,
  author = {Mohammad Reza Karimi and Ya‐Ping Hsieh and Panayotis Mertikopoulos and Andreas Krause},
  title = {{Riemannian stochastic approximation algorithms}},
  year = {2022},
  eprint = {2206.06795},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.06795},
}
Figure