Convergence of Riemannian stochastic gradient descent on Hadamard manifold

Hiroyuki Sakai, Hideaki IidukaPacific 2023

TL;DR

This paper introduces novel convergence analyses for Riemannian Stochastic Gradient Descent (RSGD) on Hadamard manifolds, specifically incorporating mini-batching. The authors demonstrate that increasing the batch size improves RSGD performance and identify a "critical batch size" that minimizes computational complexity.

What Problem Does This Paper Address?

Optimizing functions on Riemannian manifolds is crucial for many machine learning applications, especially those involving structured data like covariance matrices or embeddings in hyperbolic spaces. Riemannian Stochastic Gradient Descent (RSGD) is a fundamental algorithm for these tasks. However, existing theoretical analyses of RSGD often rely on restrictive assumptions (e.g., the entire optimization path staying within a compact set, or complex step-size rules tied to the problem itself). Furthermore, the impact of mini-batching, a standard technique in deep learning for improving efficiency and generalization, on RSGD convergence on manifolds was not well understood. This paper aims to provide more practical and robust convergence guarantees for RSGD on Hadamard manifolds, explicitly considering the benefits of mini-batching and relaxing previous restrictive assumptions.

Methods

The core of this work lies in developing new theoretical convergence analyses for RSGD on Hadamard manifolds. The authors extend existing RSGD algorithms to handle mini-batches, defining a batch-wise stochastic gradient. They then present four novel convergence analyses, considering both constant and diminishing step sizes. A key aspect is analyzing the function's properties, including L-smoothness, and also providing analyses for functions that are not L-smooth. The theoretical framework is built upon established concepts in Riemannian geometry and optimization, leveraging tools like parallel transport and geodesic distances. A significant contribution is the analysis of the relationship between batch size and convergence, leading to the concept of a "critical batch size" that optimizes performance.

Datasets

The paper uses the Kylberg dataset for numerical experiments. This dataset consists of texture classes of natural and human-made surfaces, with each class containing multiple samples imaged with and without rotation. Covariance descriptors are generated from these images to form the data points for the optimization problem.

Key Insights and Ideas

  • Mini-batching benefits Riemannian optimization: The paper demonstrates that increasing the mini-batch size in RSGD not only speeds up convergence but also leads to a more robust optimization process on manifolds.
  • Existence of a "critical batch size": There's an optimal batch size that minimizes the overall computational cost (SFO complexity). Beyond this size, further increases in batch size don't necessarily improve performance and can even be detrimental.
  • Relaxed assumptions for convergence: The authors provide convergence guarantees under weaker assumptions than previous works, making their analysis more broadly applicable.
  • L-smoothness is not always necessary: The paper offers convergence results even for objective functions that are not L-smooth, which is a common scenario in practice.

Key Results

The paper presents theoretical convergence guarantees for RSGD on Hadamard manifolds under various step-size rules (constant and diminishing) and with or without L-smoothness assumptions. A key finding is that the number of steps $K$ required for an $\epsilon$-approximation decreases as the batch size $b$ increases. Furthermore, the Stochastic First-Order Oracle (SFO) complexity, defined as $K \times b$, is shown to be convex with respect to $b$, and a critical batch size $b^*$ exists that minimizes this complexity. Numerical experiments on the Riemannian centroid problem using the Kylberg dataset validate these theoretical findings, showing that increasing batch size generally improves performance and that the critical batch size concept holds in practice.

Limitations and Future Work

The paper acknowledges that the theoretical analyses are primarily for Hadamard manifolds. While these are important, extending the results to more general Riemannian manifolds could be a future direction. The paper also focuses on RSGD; exploring the impact of mini-batching on more advanced Riemannian optimization algorithms (e.g., variance-reduced methods) would be a natural extension. The authors suggest that further research could investigate the interplay between hyperparameters (like learning rate and batch size) and their impact on convergence and generalization.

Summary updated

BibTeX
@inproceedings{sakai2023convergence,
  author = {Hiroyuki Sakai and Hideaki Iiduka},
  title = {{Convergence of Riemannian stochastic gradient descent on Hadamard manifold}},
  booktitle = {Pacific},
  year = {2023},
}
Figure