A Grassmann Manifold Handbook: Basic Geometry and Computational Aspects

Thomas Bendokat, Ralf Zimmermann, Pierre-Antoine Absil

Introduction

The Grassmann manifold—the set of all $p$-dimensional subspaces in $\mathbb{R}^n$—is a cornerstone of modern low-rank matrix optimization, computer vision, and signal processing. Despite its prevalence, researchers often approach the Grassmannian through distinct mathematical lenses. Some treat subspaces as unique $n \times n$ orthogonal projectors, while others view them as quotient spaces of the Stiefel manifold (equivalence classes of $n \times p$ bases). This handbook unifies these perspectives, providing a consistent matrix-analytic framework and numerically stable algorithms for high-dimensional applications.

A Unified Geometric Framework

A primary challenge in Grassmannian optimization is translating abstract differential geometry into efficient matrix operations. The handbook bridges the gap between the projector and quotient space perspectives. By providing explicit mappings between these representations, practitioners can select the most computationally efficient approach based on the relative sizes of $n$ and $p$.

Geometric relationship between the Orthogonal group $O(n)$, the Stiefel manifold $St(n,p)$, and the Grassmann manifold $Gr(n,p)$.

As illustrated in the figure above, the Grassmannian $Gr(n,p)$ can be understood as a quotient of the Stiefel manifold $St(n,p)$, which in turn is a projection from the orthogonal group $O(n)$. The maps $\pi^{OS}$ and $\pi^{SG}$ define these relationships, allowing for the "lifting" of tangent vectors between spaces. This unified view ensures that theoretical results from differential geometry can be directly translated into $O(np^2)$ matrix formulas.

Algorithmic Contributions: The Extended Logarithm

The most significant algorithmic contribution is a novel approach to the Riemannian logarithm (Algorithm 5.3). In manifold optimization, the logarithm map determines the "velocity" required to move between two points. Standard algorithms often fail or become numerically unstable as points approach the "cut locus"—the region where the shortest path between two subspaces is no longer unique.

The proposed "Extended Logarithm" utilizes a modified Singular Value Decomposition (SVD) approach that avoids matrix inverses. This method remains stable even at extreme distances, maintaining a subspace distance error of approximately $10^{-7}$ even when the distance to the cut locus is as small as $10^{-20}$.

Summary of key Grassmannian projections, horizontal lifts, and geometric maps including the Exponential and Logarithm.

Key Insights: Curvature and the Cut Locus

The authors highlight a significant "Aha" moment regarding the cut locus. While typically avoided in manifold algorithms, the Grassmannian's cut locus is well-behaved. The inherent ambiguity of the SVD—where singular vectors are not unique—actually maps to the multiple shortest paths (geodesics) that exist at the cut locus. By embracing this ambiguity rather than fighting it, the new logarithm algorithm achieves unprecedented robustness.

Furthermore, the authors establish that the sectional curvature of the Grassmannian is bounded between 0 and 2. This is a vital "sanity check" for optimization researchers, as curvature directly impacts the convergence rates of manifold-based gradient descent. All formulas are designed to scale at $O(np^2)$, which is critical for high-dimensional applications where the ambient dimension $n$ is much larger than the subspace dimension $p$.

Conclusion

By providing a "cheat sheet" of FLOP counts and robust, SVD-based formulas, this handbook serves as a practical guide for researchers. It moves beyond abstract theory to offer the numerical blueprints necessary for implementing Grassmannian geometry in large-scale machine learning and signal processing tasks.

Summary updated

BibTeX
@article{bendokat2024grassmann,
  author = {Thomas Bendokat and Ralf Zimmermann and Pierre-Antoine Absil},
  title = {{A Grassmann Manifold Handbook: Basic Geometry and Computational Aspects}},
  journal = {Adv. Comput. Math.},
  year = {2024},
  doi = {10.1007/s10444-023-10090-8},
}
Figure