Abstract
This paper introduces Disciplined Geodesically Convex Programming (DGCP), a framework designed to automate the verification of convexity for optimization problems defined on curved Riemannian manifolds. By extending the "Atoms and Rules" philosophy of Disciplined Convex Programming (DCP) to the Riemannian setting, the authors provide a systematic way to certify "hidden" convexity in problems that appear non-convex in Euclidean space. The framework is implemented in the Julia library SymbolicAnalysis.jl, enabling global optimality guarantees for complex problems like Karcher means and robust subspace recovery.
Introduction
In the field of mathematical optimization, Convex Programming (CP) is highly valued because any local minimum is guaranteed to be a global one. While these properties are traditionally studied in Euclidean space, many critical problems in machine learning and statistics—such as computing Karcher means or Brascamp-Lieb constants—are non-convex when viewed through a standard Euclidean lens.
However, many of these problems exhibit geodesic convexity (g-convexity), meaning they are convex when defined over a Riemannian manifold (a curved space). Historically, verifying g-convexity required manual mathematical proofs. This paper addresses the lack of automated verification tools by introducing DGCP, a framework that brings the ease of use found in tools like CVXPY to the Riemannian domain.
The DGCP Framework
The authors focus their framework on Cartan-Hadamard manifolds, which are spaces with non-positive curvature where any two points are connected by a unique shortest path. The DGCP methodology relies on four pillars:
- Atoms: A foundational library of basic g-convex functions, including Riemannian distance, log-determinants, and quadratic forms.
- Rules: Composition rules that preserve g-convexity. For instance, a g-convex function remains g-convex when wrapped in a non-decreasing Euclidean convex function.
- Symbolic Analysis: Implemented in
SymbolicAnalysis.jl, the system represents optimization expressions as trees. It propagates properties like curvature and monotonicity from variables (leaves) to the objective function (root). - Integration: The framework integrates with
Manopt.jlandOptimization.jl, allowing users to verify and solve problems within a unified Julia workflow.
Evaluation and Benchmarks
The framework was evaluated using three representative mathematical optimization problems as benchmarks:
- Tyler’s M-Estimator: A complex case involving inverse matrix operations and logarithmic quadratic forms.
- Karcher Mean: A medium-complexity problem involving Riemannian distance computations.
- Log-Determinant: A simple baseline consisting of a single atomic operation.
A key finding from the performance analysis is that verification time depends on the symbolic complexity (number of operations) rather than the matrix size. For example, verifying a log-det function takes roughly the same time for a $5 \times 5$ matrix as it does for an $800 \times 800$ matrix.
Key Results and Insights
- Efficiency: Verification is extremely fast, typically completing in under 10ms, even for complex expressions like Tyler’s M-estimator.
- Scalability: The overhead for certification is negligible compared to numerical optimization time, making it practical for real-world applications.
- Formal Rigor: The paper provides formal proofs for new composition rules, particularly for Symmetric Positive Definite (SPD) matrix manifolds and the Lorentz model.
Limitations and Future Work
Currently, DGCP is restricted to Cartan-Hadamard manifolds (non-positive curvature). It does not yet support manifolds with positive curvature, such as spheres, where geodesics are not unique and global g-convexity is more complex. Additionally, the "disciplined" nature of the system means it can only recognize functions composed of known "atoms." Future work will focus on expanding the atom library and potentially extending support to other programming languages like Python or Matlab to reach a wider audience.
Summary updated