Abstract
Matrix manifolds, such as manifolds of Symmetric Positive Definite (SPD) matrices and Grassmann manifolds, appear in many applications. Recently, by applying the theory of gyrogroups and gyrovector spaces—a powerful framework for studying hyperbolic geometry—some works have attempted to build principled generalizations of Euclidean neural networks on matrix manifolds. However, due to the lack of many concepts in gyrovector spaces for the considered manifolds, such as the inner product and gyroangles, the techniques and mathematical tools provided by these works remain limited compared to those developed for hyperbolic geometry. In this paper, we generalize several notions in gyrovector spaces for SPD and Grassmann manifolds and propose new models and layers for building neural networks on these manifolds. We demonstrate the effectiveness of our approach in two applications: human action recognition and knowledge graph completion.
Introduction
Standard deep learning architectures are built on the assumption that data resides in Euclidean space. In this flat geometry, operations like vector addition, scalar multiplication, and the definition of hyperplanes are straightforward. However, many real-world data types are inherently non-Euclidean. For instance, brain connectivity matrices are represented as Symmetric Positive Definite (SPD) matrices, and subspaces of video frames are best modeled on Grassmann manifolds.
While "Hyperbolic Neural Networks" have successfully utilized gyrovector spaces—a non-associative algebraic structure—to handle curved geometries, applying this level of mathematical rigor to matrix manifolds has proven difficult. Previous attempts to create "SPD-Nets" or "Gr-Nets" often relied on ad-hoc operations that lacked the formal algebraic properties required to generalize standard layers, such as multiclass logistic regression, to a manifold setting. This paper, presented at ICML 2023, addresses these gaps by formalizing SPD and Grassmann manifolds as gyrovector spaces.
Theoretical Framework: Extending Gyrovector Spaces
The core contribution of this research is the formalization of matrix manifolds through the lens of gyrovector theory, enabling the creation of principled non-Euclidean layers.
The Isometry Perspective
The authors demonstrate that if a bijective isometry exists between a known gyrovector space and a new manifold, the fundamental operations—binary addition ($\oplus$), scalar multiplication ($\otimes$), and gyroautomorphisms—can be mathematically "transferred." This "isometry trick" allows researchers to inherit a consistent framework rather than deriving manifold operations from scratch. For SPD matrices, this is achieved through Log-Cholesky or Log-Euclidean spaces.
The ONB Perspective for Grassmannians
Traditionally, Grassmann points are represented as projection matrices, which can be computationally cumbersome. The authors instead adopt an Orthonormal Basis (ONB) perspective. By using matrix commutators and exponentials, they derive closed-form expressions for Grassmann operations that are more computationally efficient and theoretically robust than previous projector-based methods.
Manifold-Centric Classification
A significant weakness in prior manifold-based networks is the tendency to "flatten" manifold features into a Euclidean vector for the final classification layer. This paper introduces Multiclass Logistic Regression (MLR) directly on the manifold. By defining "hypergyroplanes" and a "pseudo-gyrodistance" from a point to these planes, the model calculates class probabilities based on the "margin" within the curved space. This approach mirrors the logic of Euclidean MLR while respecting the underlying geometry of the data.
Experimental Evaluation
The proposed models were evaluated across two distinct domains: human action recognition and knowledge graph completion.
Human Action Recognition
The authors tested their models on three major benchmarks:
- HDM05: 3D skeleton data containing 130 action classes.
- FPHA: A first-person hand action benchmark.
- NTU60: A large-scale 3D human activity dataset.
On the FPHA dataset, the proposed GyroLE model achieved 94.61% accuracy, significantly outperforming the standard SPDNet (89.25%). Similarly, the GyroGr model (utilizing the ONB perspective) outperformed state-of-the-art GrNet models across all benchmarks, notably achieving a 3.6% lead on the HDM05 dataset.
Knowledge Graph Completion
To test the versatility of the framework, the authors applied it to knowledge graph completion using the WN18RR (WordNet) and FB15k-237 (Freebase) datasets. The ONB-based Grassmann model (GyroGr-KGConb) consistently outperformed previous projector-based versions in Mean Reciprocal Rank (MRR), proving that the gyrovector approach generalizes well beyond computer vision tasks.
Discussion and Future Directions
The research highlights that performing operations directly on the manifold leads to better performance and greater "geometric stability"—ensuring that layers are invariant to specific transformations. However, these gains come with trade-offs:
- Computational Complexity: Operations such as matrix exponentials and logarithms (often requiring SVD) are more demanding than standard Euclidean matrix multiplications.
- Parameterization: The SPD MLR layer is currently over-parameterized, requiring two symmetric matrices per class to define a single hypergyroplane.
Future work will focus on reducing the parameter count of these layers and extending gyrovector concepts to other manifolds relevant to physics and robotics. By providing a rigorous mathematical foundation, this work paves the way for more stable and accurate deep learning in non-Euclidean domains.
Summary updated