In machine learning, convexity is often treated as a "superpower" that guarantees efficient global optimization. However, this assumption typically relies on variables residing in Euclidean "Flatland." Many real-world data structures, such as rotation groups or spaces of positive definite matrices, naturally exist on curved surfaces. In their paper, "First-order Methods for Geodesically Convex Optimization," Hongyi Zhang and Suvrit Sra bridge this gap by providing the first global iteration complexity analysis for first-order algorithms on non-positively curved manifolds.
Optimization on Manifolds
Standard convex optimization is built upon the geometry of vector spaces. However, many critical problems—such as computing the Karcher mean of covariance matrices—appear non-convex in Euclidean space. These problems often reveal their underlying structure when "straight lines" are redefined as geodesics, the shortest paths between points on a curved surface. This property is known as geodesic convexity (g-convexity).
To optimize in this setting, algorithms must account for the manifold's geometry. For instance, moving from a point $x$ in the direction of a tangent vector $v$ requires the exponential map, denoted as $\text{Exp}_x(v)$, which maps vectors from the tangent space back onto the manifold surface.
The Challenge of Curvature: Lemma 5
The primary obstacle in manifold optimization is the failure of the Euclidean Law of Cosines. In curved spaces, triangles "bulge" or "shrink," making it difficult to bound the distance to the optimum across iterations.
The authors overcome this by introducing a Trigonometric Distance Bound (Lemma 5). This bound acts as a proxy for the Law of Cosines in Alexandrov spaces, allowing Euclidean proof techniques to be adapted to the Riemannian setting. The resulting complexity bounds include a curvature-dependent scaling factor, $\zeta(\kappa, D)$, where $\kappa$ represents the sectional curvature and $D$ is the domain diameter.
Convergence Complexity
The paper analyzes several first-order algorithms, including Projected (Sub)gradient Descent and Stochastic (Sub)gradient Descent (SGD), on Hadamard manifolds (manifolds with global non-positive curvature).
As shown in the table above, the convergence rates for g-convex optimization mirror those of Euclidean optimization:
- Nonsmooth functions: Achieve $O(1/\sqrt{t})$ convergence.
- Smooth functions: Achieve $O(1/t)$ convergence.
- Strongly g-convex smooth functions: Achieve linear convergence ($O(e^{-t})$).
While the rates are structurally similar to the Euclidean case, they are penalized by the manifold's curvature. Essentially, higher curvature can lead to slower convergence constants.
Empirical Validation: The Karcher Mean
The authors validated their theoretical findings using the Matrix Karcher Mean problem, which involves finding the "average" of several Positive Semi-Definite (PSD) matrices. This problem is non-convex in Euclidean space but g-strongly convex on the manifold of PSD matrices.
Experiments on datasets of up to 1000 matrices confirmed the predicted rates. While SGD showed faster initial progress, full Gradient Descent eventually dominated due to its linear convergence on this smooth, strongly g-convex problem.
Future Directions
While this work provides a rigorous foundation for g-convex optimization, several challenges remain:
- Computational Overhead: Operations like the exponential map and parallel transport are more expensive than standard vector addition.
- Acceleration: Whether Nesterov-style acceleration can be generalized to non-linear g-convex settings remains an open question.
- Retractions: Future research may explore using "retractions"—first-order approximations of the exponential map—to reduce computational costs while maintaining complexity guarantees.
By providing non-asymptotic bounds, Zhang and Sra have turned g-convex optimization from a theoretical curiosity into a practical tool for high-dimensional data analysis on manifolds.
Summary updated