Manifold Free Riemannian Optimization

Boris Shustin, Haim Avron, Barak SoberarXiv 2022

Abstract

Riemannian optimization is a principled framework for solving optimization problems where the desired optimum is constrained to a smooth manifold $\mathcal{M}$. Algorithms designed in this framework usually require some geometrical description of the manifold, which typically includes tangent spaces, retractions, and gradients of the cost function. However, in many cases, only a subset (or none at all) of these elements can be accessed due to lack of information or intractability. In this paper, we propose a novel approach that can perform approximate Riemannian optimization in such cases, where the constraining manifold is a submanifold of $\mathbb{R}^{D}$. At the bare minimum, our method requires only a noiseless sample set of the cost function $(x_{i}, y_{i})\in {\mathcal{M}} \times \mathbb{R}$ and the intrinsic dimension of the manifold $\mathcal{M}$. Using the samples, and utilizing the Manifold-MLS framework (Sober and Levin 2020), we construct approximations of the missing components entertaining provable guarantees and analyze their computational costs. In case some of the components are given analytically, the algorithm can be easily adapted to use the accurate expressions instead of the approximations. We analyze the global convergence of Riemannian gradient-based methods using our approach, and we demonstrate empirically the strength of this method, together with a conjugate-gradients type method based upon similar principles.

Introduction

Riemannian optimization is a powerful tool for solving problems where the solution must lie on a smooth surface, or "manifold" (e.g., low-rank matrix completion, PCA, or pose estimation). Traditionally, this requires a precise mathematical description of the manifold to calculate tangent spaces (local flat approximations) and retractions (ways to move along the surface).

However, in many real-world scenarios, we don't have the equations for the manifold. We might only have a collection of noisy or noiseless samples—essentially a point cloud in high-dimensional space. This paper introduces a framework for performing Riemannian optimization when the underlying manifold is unknown and only available as a set of data points. By leveraging Manifold Moving Least Squares (MMLS), the authors reconstruct the necessary geometric components, allowing standard optimization algorithms to run directly on sampled data with provable convergence guarantees.

Methodology: Approximating Geometry from Samples

The core of the proposed approach is the integration of Manifold Moving Least Squares (MMLS) into the Riemannian optimization workflow. MMLS is a manifold learning technique that takes a point cloud and builds a local polynomial approximation of the surface around any given point.

Standard Riemannian optimization relies on several key geometric operators, as illustrated in Figure 1.

Standard Riemannian optimization step involving a tangent space and retraction.

The authors use local MMLS approximations to "fake" the geometry required for optimization:

  • Approximate Tangent Spaces: Instead of an analytical derivative, they use the range of the differential of the MMLS local polynomial.
  • Approximate Retraction: They use the MMLS projection itself as a mapping to bring points back to the estimated manifold.
  • Approximate Gradients: If the cost function's gradient is unknown, they use an MMLS-based function approximation to estimate the Euclidean gradient, which is then projected onto the approximate tangent space.

The paper presents two main algorithms: MMLS-RO Gradient Descent and MMLS-RO Conjugate Gradients (CG). Crucially, they provide a rigorous theoretical analysis of global convergence, showing that the error introduced by the approximation is bounded by the density and "fill distance" $h$ of the sample points, specifically following an $O(h^m)$ bound tied to the MMLS approximation order.

Experimental Evaluation

The authors evaluated their approach using synthetic datasets where the ground-truth manifold is known but hidden from the algorithm:

  • Custom 2D Manifold: A complex surface embedded in $\mathbb{R}^{100}$ defined by trigonometric functions.
  • Matrix Manifolds: Standard benchmarks including the Sphere ($S^3$), Stiefel manifolds (sets of orthogonal matrices), and fixed-rank matrix manifolds.
  • Noisy Variants: They tested the robustness of the algorithms by adding Gaussian noise to both the manifold samples and the cost function values.

Key Results

  • Performance Parity: In experiments, the MMLS-RO algorithms achieved results nearly identical to PYMANOPT, a gold-standard toolbox that requires full analytical knowledge of the manifold.
  • Convergence: The algorithms successfully minimized cost functions on manifolds as high-dimensional as $D=100$ using only 50,000 samples.
  • Robustness: Even with noisy samples (e.g., noise levels of $10^{-3}$ or $10^{-4}$), the algorithm reached a stable approximate optimum, whereas traditional methods might fail without a clean manifold definition.

Discussion and Future Work

The most significant insight is that local polynomial fits are "good enough" to provide the necessary directional information for optimization, effectively bridging the gap between manifold learning and Riemannian optimization. The framework is modular: if you know the gradient of your function but not the manifold, you can use a "first-order" version; if you know nothing but samples, you use a "zeroth-order" version.

However, several challenges remain. While experiments included noise, the core theoretical proofs assume noiseless samples. Furthermore, the algorithm's stability depends on the "reach" of the manifold, which is difficult to estimate from a point cloud. Future work may involve approximating the Riemannian Hessian to enable faster, second-order Newton-type optimization on point clouds, and addressing the computational overhead of local neighbor searches in MMLS.

Summary updated

BibTeX
@misc{shustin2022manifold,
  author = {Boris Shustin and Haim Avron and Barak Sober},
  title = {{Manifold Free Riemannian Optimization}},
  year = {2022},
  eprint = {2209.03269},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.03269},
}
Figure