Closed-Form Geodesics in Matrix Manifolds
- Closed-form geodesics are explicit analytical solutions for distance‐minimizing curves on Riemannian manifolds, particularly in matrix manifolds like the Stiefel, Grassmann, and flag manifolds.
- They employ a two-parameter family of Riemannian metrics and offer both block-exponential and reduced formulations to efficiently compute geodesic paths, exponential maps, and logarithm maps.
- The framework integrates Fréchet derivatives with trust-region minimization, yielding robust convergence in optimization and statistical applications on low-dimensional settings.
Closed-form geodesics are explicit analytical solutions for geodesics—locally distance-minimizing curves—on Riemannian manifolds, with particular focus on matrix manifolds such as the Stiefel, Grassmann, and flag manifolds. These formulas enable efficient computation of geodesics, exponential and logarithm maps for a two-parameter family of Riemannian metrics, crucial for algorithms in optimization and statistics on these spaces. The development of closed-form geodesics, together with Fréchet derivatives and trust-region minimization, forms a unified framework for calculating Riemannian logarithms and geodesic distances even when closed-form logarithm maps are unavailable (Nguyen, 2021).
1. Stiefel Manifold and Metric Family
The Stiefel manifold consists of orthonormal -frames in (real or complex). The tangent space at comprises matrices such that is antisymmetric. The Riemannian metric is parameterized by two positive scalars : $g_Y(\omega, \xi) = \Tr_R[ \omega^t (\alpha_0 I_n + (\alpha_1 - \alpha_0) Y Y^t) \xi ]$ The metric interpolates between the embedded metric () and canonical metric (). The associated raising operator has the form
0
This parameterization enables closed-form geodesic solutions that work efficiently for low-rank settings (1) (Nguyen, 2021).
2. Geodesic ODE and Closed-Form Solutions
The geodesic 2 satisfies the second-order ODE: 3 Initial conditions: 4, 5, and the decomposition: 6 With 7 and matrix
8
the geodesic admits two equivalent closed forms:
- Block-exponential (dimension 9):
0
- Reduced (dimension 1):
2
with
3
Both representations maintain computational complexity at 4 per matrix exponential, avoiding dependence on the ambient dimension 5 when 6 (Nguyen, 2021).
3. Fréchet Derivatives and Gradient Computation
For the Riemannian logarithm, the problem reduces to finding 7 such that 8, minimizing
9
The gradient is obtained via Fréchet derivatives: 0 This yields gradients with computational cost comparable to evaluating one exponential plus its Fréchet derivative (approximately three times the cost of a single exponential). The trace–Fréchet adjoint identity is applied: 1 The gradient splits into blocks: 2 with 3, enabling efficient exact gradient evaluation (Nguyen, 2021).
4. Trust-Region Minimization and the Riemannian Logarithm
The Riemannian logarithm is computed by minimizing 4 over antisymmetric 5 and arbitrary 6. Standard interior-point or trust-region solvers (e.g., SciPy’s “trust-krylov”) are employed, leveraging the closed-form gradient. When 7 is within the injectivity radius of 8, the Hessian of 9 is positive definite and convergence to the unique minimizing logarithm is rapid. For moderately large distances, the algorithm often still recovers nearly minimal “shooting” geodesics.
This approach extends to quotient manifolds:
- On 0, for a subgroup 1 (e.g., Grassmann or flag), restrict 2 to the horizontal subspace and adapt cost functions to measure ambient-coordinate distance.
- The trust-region and Fréchet framework applies identically for these cases (Nguyen, 2021).
5. Grassmann and Flag Manifolds: Trigonometric Formulas
For the Grassmann manifold 3, the horizontal space is 4. For a purely horizontal geodesic (5): 6 Given 7, compute the SVD: 8 The unique minimizing logarithm for all 9: 0 The geodesic distance is
1
These are analogous to the 2, 3 formulas on the sphere (Nguyen, 2021).
6. Algorithmic Complexity, Stability, and Applications
Each trust-region iteration requires one or two matrix exponentials (size at most 4) plus Fréchet derivatives; cost per exponential is 5. For low-rank problems (6), all computations occur in small dimension (7). Fréchet-derivative routines (e.g., SciPy's expm_frechet) compute both the exponential and its Fréchet derivative at threefold the cost of the exponential alone.
The approach avoids integration along curves or multi-step shooting, instead solving a small-dimensional nonlinear least-squares problem. Numerical experiments on Stiefel and flag manifolds demonstrate robust convergence for distances up to and beyond half the injectivity radius. The Hessian remains well-conditioned for points near one another, deteriorating only as one approaches the cut locus.
One immediate application is computation of the Riemannian center of mass (Karcher mean): minimizing 8 by gradient descent, where each step requires 9 logarithm computations—now feasible in low-dimension settings. The methods are conceptually and algorithmically unified, supporting practical statistical and optimization tasks on matrix manifolds (Nguyen, 2021).