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

Riemannian Adaptive Optimization Algorithm and its Application to Natural Language Processing

Hiroyuki Sakai, Hideaki Iiduka

TL;DR

This paper introduces a novel Riemannian adaptive optimization algorithm, modified RAMSGrad, designed to efficiently train deep neural networks on Riemannian manifolds. The algorithm addresses limitations of previous methods by directly solving optimization problems and enabling the use of constant learning rates, making it more practical and robust.

What Problem Does This Paper Address?

Training deep neural networks often involves optimizing complex objective functions. While adaptive optimization algorithms like Adam and AMSGrad have been highly successful in Euclidean spaces, their direct extension to Riemannian manifolds (curved spaces) is challenging due to the lack of a canonical coordinate system. Existing Riemannian adaptive methods, such as RAMSGrad, have shown promise but suffer from limitations: they primarily focus on regret minimization rather than directly solving the optimization problem, and they often require diminishing learning rates, which are impractical for real-world applications. This paper aims to bridge this gap by proposing an algorithm that can directly solve Riemannian optimization problems and can utilize constant learning rates.

Methods

The core contribution is the modified RAMSGrad algorithm. This algorithm builds upon the existing RAMSGrad by incorporating modifications that allow it to directly optimize on Riemannian manifolds. Key aspects include:

  • Direct Optimization: Unlike previous methods that focused on regret minimization, the proposed algorithm is designed to directly find the minimum of the objective function on the manifold.
  • Constant Learning Rates: A significant practical advantage is the algorithm's ability to use constant learning rates. This is achieved through theoretical guarantees that ensure convergence even with fixed learning rates, overcoming a major limitation of prior work.
  • Extension of AMSGrad: The algorithm is presented as an extension of AMSGrad to Riemannian manifolds, adapting its adaptive learning rate mechanism to the curved geometry.
  • Convergence Analysis: The paper provides a theoretical convergence analysis for the proposed algorithm, demonstrating its effectiveness with both constant and diminishing learning rates.

Datasets

The paper evaluates the proposed algorithm on two main tasks:

  • Poincaré Embeddings: The algorithm is applied to embed the transitive closure of the WordNet noun hierarchy into a 5-dimensional Poincaré ball. This is a standard benchmark for hyperbolic embeddings.
  • Principal Component Analysis (PCA): The algorithm is used for PCA on two datasets:
  • MNIST: A dataset of handwritten digits.
  • Digits: A dataset of handwritten digit images.

Key Insights and Ideas

  • Constant Learning Rates are Practical: The paper demonstrates that it's possible to achieve robust convergence on Riemannian manifolds using constant learning rates, a crucial factor for practical implementation. This challenges the necessity of diminishing learning rates in many Riemannian optimization scenarios.
  • Direct Optimization Matters: By directly solving the optimization problem rather than just minimizing regret, the algorithm is shown to yield better results, particularly in terms of achieving lower objective function values and better downstream task performance (e.g., classification accuracy).
  • Hyperbolic Geometry is Key for Hierarchical Data: The application to Poincaré embeddings highlights the effectiveness of hyperbolic spaces for representing hierarchical data, and the proposed optimization algorithm enhances the performance of these embeddings.
  • Algorithm Robustness: The modified RAMSGrad algorithm shows stable convergence and performance across different learning rate choices, suggesting a higher degree of robustness compared to some existing methods.

Key Results

The paper presents several key quantitative and qualitative findings:

  • Poincaré Embeddings: The proposed algorithm consistently outperforms RSGD and RAdaGrad in terms of loss function values and Mean Average Precision (MAP) ranks. It achieves stable convergence regardless of the initial learning rate.
  • PCA:
    • MNIST Dataset: The algorithm performs well across various constant learning rates, with some configurations outperforming others. It shows stable loss reduction and good classification accuracy for Linear SVMs trained on the dimensionally reduced data.
  • Digits Dataset: Similar to MNIST, the algorithm demonstrates strong performance, often outperforming RSGD and RAdaGrad. The results suggest that the choice between constant and diminishing learning rates can be dataset-dependent for PCA.
  • Comparison to RAMSGrad: The paper's theoretical analysis and experimental results suggest that the modified RAMSGrad can directly solve optimization problems, unlike the original RAMSGrad which primarily focused on regret minimization.

Limitations and Future Work

  • Dataset Dependency in PCA: The paper notes that for the PCA problem, the choice between constant and diminishing learning rates can depend on the specific dataset. Further investigation into why this dependency exists could be a future direction.
  • Algorithm Specifics: While the paper focuses on modified RAMSGrad, future work could explore other adaptive optimization strategies on Riemannian manifolds.
  • Broader Applications: The paper demonstrates effectiveness on embeddings and PCA. Exploring its applicability to other deep learning tasks on Riemannian manifolds (e.g., graph neural networks on hyperbolic spaces) would be a natural extension.

Summary updated

BibTeX
@article{sakai2020riemannian,
  author = {Hiroyuki Sakai and Hideaki Iiduka},
  title = {{Riemannian Adaptive Optimization Algorithm and its Application to Natural Language Processing}},
  journal = {IEEE Trans. Cybernetics},
  year = {2020},
}
Figure