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

No-regret Online Learning over Riemannian Manifolds

Xi Wang, Zhipeng Tu, Yiguang Hong, Yingyi Wu, Guodong ShiNeurIPS 2021

This paper, presented at NeurIPS 2021, bridges the gap between traditional online learning and the elegant world of Riemannian geometry. It provides the theoretical foundation and practical algorithms for making sequential decisions when the underlying search space is curved—a scenario increasingly common in modern machine learning.

Introduction

The authors introduce the first "no-regret" algorithms for online convex optimization on Riemannian manifolds for both full-information and bandit feedback settings. Their proposed methods achieve the same optimal regret bounds as their Euclidean counterparts, proving that curvature does not have to be a bottleneck for efficient online learning.

The Problem: Riemannian Online Convex Optimization

In standard Online Convex Optimization (OCO), a learner repeatedly chooses a point in a flat, Euclidean space and suffers a loss. The goal is to minimize regret: the difference between the learner's total loss and the loss of the best fixed point chosen in hindsight.

However, many important problems in machine learning do not live in flat space. For example:

  • Principal Component Analysis (PCA) and Dictionary Learning involve matrices on the Grassmann or Stiefel manifolds.
  • Diffusion Tensor Imaging and Neural Network weights often involve Symmetric Positive Definite (SPD) matrices.

While one could treat these as flat spaces and project answers back onto the "surface," this approach is often computationally expensive and ignores the intrinsic geometry of the data. This paper tackles Riemannian OCO (R-OCO), where the learner operates directly on curved surfaces (manifolds) without needing high-dimensional embeddings.

Proposed Methods

The authors propose two primary algorithms to tackle R-OCO:

  1. Riemannian Online Gradient Descent (R-OGD): Designed for "full information" settings where the learner sees the entire loss function after each round. Instead of standard vector addition, it uses the exponential map (following a "straight" path or geodesic on the curve) to update positions.
  2. Riemannian Bandit Algorithm (R-BAN): Designed for "bandit" settings where the learner only sees the value of the loss at the specific point they chose.

The Technical Secret Sauce: The biggest challenge in curved spaces is that the derivative operator ($\nabla$) and the integration operator do not commute. To solve this for the bandit setting, the authors developed a novel technique using Killing vector fields—mathematical tools that represent the infinitesimal symmetries of the manifold—to estimate gradients from a single noisy observation.

Key Insights and Results

The paper establishes that Riemannian algorithms can match the best-known Euclidean performance. The authors show that while the magnitude of the regret is influenced by the manifold's curvature (specifically the sectional curvature), the rate at which we learn remains the same as in flat space.

Regret bounds comparison between Riemannian and Euclidean settings.

As summarized in the table above, the proposed algorithms achieve the following theoretical guarantees:

  • Convex Losses: Achieves $\mathcal{O}(\sqrt{T})$ regret.
  • Strongly Convex Losses: Achieves $\mathcal{O}(\log T)$ regret.
  • Bandit Feedback: Achieves $\mathcal{O}(T^{3/4})$ regret.

Furthermore, they proved a universal lower bound, showing that no algorithm can do better than $\Omega(\sqrt{T})$ for convex losses on these manifolds. Since their R-OGD achieves exactly this, the algorithm is theoretically optimal.

To validate these findings, the authors conducted numerical experiments on specific mathematical structures, including the SPD Manifold, Hyperbolic Space ($H^n$), and the Operator Scaling Problem. In these tests, the strongly convex version (R-OGD-SC) converged significantly faster than the standard version, and the R-BAN algorithm successfully achieved sublinear regret even with limited bandit feedback, outperforming previous zeroth-order baselines.

Limitations and Future Directions

While groundbreaking, the framework has a few constraints that pave the way for future research:

  • The "Hadamard" Constraint: The current theory relies heavily on Hadamard manifolds (simply connected manifolds with non-positive curvature). These spaces are "well-behaved" enough that geodesics don't wrap around and interfere with convexity. Extending these "no-regret" guarantees to manifolds with positive curvature (like spheres) remains an open challenge.
  • Computational Cost of the Exponential Map: The algorithms use the exact exponential map for every update. In some complex manifolds, calculating this is expensive. Future work should explore retractions—cheaper, first-order approximations of the exponential map—to make the algorithms more efficient for large-scale engineering tasks.
  • Homogeneity Requirement: The bandit results currently require "homogeneous" manifolds (where the space looks the same from every point), which limits the types of surfaces the bandit algorithm can handle.

Summary updated

BibTeX
@inproceedings{wang2021no,
  author = {Xi Wang and Zhipeng Tu and Yiguang Hong and Yingyi Wu and Guodong Shi},
  title = {{No-regret Online Learning over Riemannian Manifolds}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
}
Figure