Papers
Topics
Authors
Recent
Search
2000 character limit reached

Closed-Form Geodesics in Matrix Manifolds

Updated 5 February 2026
  • 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 StK(n,p)={YKn×p:YtY=Ip}St_K(n,p) = \{ Y \in K^{n \times p} : Y^t Y = I_p \} consists of orthonormal pp-frames in KnK^n (real or complex). The tangent space at YY comprises matrices η\eta such that YtηY^t \eta is antisymmetric. The Riemannian metric is parameterized by two positive scalars α0,α1\alpha_0, \alpha_1: $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 (α1=α0\alpha_1 = \alpha_0) and canonical metric (α1=12α0\alpha_1 = \frac12 \alpha_0). The associated raising operator has the form

pp0

This parameterization enables closed-form geodesic solutions that work efficiently for low-rank settings (pp1) (Nguyen, 2021).

2. Geodesic ODE and Closed-Form Solutions

The geodesic pp2 satisfies the second-order ODE: pp3 Initial conditions: pp4, pp5, and the decomposition: pp6 With pp7 and matrix

pp8

the geodesic admits two equivalent closed forms:

  • Block-exponential (dimension pp9):

KnK^n0

  • Reduced (dimension KnK^n1):

KnK^n2

with

KnK^n3

Both representations maintain computational complexity at KnK^n4 per matrix exponential, avoiding dependence on the ambient dimension KnK^n5 when KnK^n6 (Nguyen, 2021).

3. Fréchet Derivatives and Gradient Computation

For the Riemannian logarithm, the problem reduces to finding KnK^n7 such that KnK^n8, minimizing

KnK^n9

The gradient is obtained via Fréchet derivatives: YY0 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: YY1 The gradient splits into blocks: YY2 with YY3, enabling efficient exact gradient evaluation (Nguyen, 2021).

4. Trust-Region Minimization and the Riemannian Logarithm

The Riemannian logarithm is computed by minimizing YY4 over antisymmetric YY5 and arbitrary YY6. Standard interior-point or trust-region solvers (e.g., SciPy’s “trust-krylov”) are employed, leveraging the closed-form gradient. When YY7 is within the injectivity radius of YY8, the Hessian of YY9 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 η\eta0, for a subgroup η\eta1 (e.g., Grassmann or flag), restrict η\eta2 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 η\eta3, the horizontal space is η\eta4. For a purely horizontal geodesic (η\eta5): η\eta6 Given η\eta7, compute the SVD: η\eta8 The unique minimizing logarithm for all η\eta9: YtηY^t \eta0 The geodesic distance is

YtηY^t \eta1

These are analogous to the YtηY^t \eta2, YtηY^t \eta3 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 YtηY^t \eta4) plus Fréchet derivatives; cost per exponential is YtηY^t \eta5. For low-rank problems (YtηY^t \eta6), all computations occur in small dimension (YtηY^t \eta7). 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 YtηY^t \eta8 by gradient descent, where each step requires YtηY^t \eta9 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).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Closed-Form Geodesics.