Abstract
Recent advances in Symmetric Positive Definite (SPD) matrix learning show that Riemannian metrics are fundamental to effective SPD neural networks. Motivated by this, we revisit the geometry of the Cholesky factors and uncover a simple product structure that enables convenient metric design. Building on this insight, we propose two fast and stable SPD metrics, Power--Cholesky Metric (PCM) and Bures--Wasserstein--Cholesky Metric (BWCM), derived via Cholesky decomposition. Compared with existing SPD metrics, the proposed metrics provide closed-form operators, computational efficiency, and improved numerical stability. We further apply our metrics to construct Riemannian Multinomial Logistic Regression (MLR) classifiers and residual blocks for SPD neural networks. Experiments on SPD deep learning, numerical stability analyses, and tensor interpolation demonstrate the effectiveness, efficiency, and robustness of our metrics.
Introduction
Symmetric Positive Definite (SPD) matrices are ubiquitous in machine learning, used to represent complex data such as image covariances, EEG signals, and brain functional connectivity. Because SPD matrices lie on a non-Euclidean manifold, standard Euclidean mathematics distorts their geometry. To address this, researchers utilize Riemannian metrics to perform operations on SPD manifolds. However, existing metrics often force a trade-off between computational efficiency and numerical stability.
Eigenvalue-based metrics, such as the Affine-Invariant Metric (AIM), are computationally expensive and scale poorly to high dimensions. Conversely, Cholesky-based methods like the Log-Cholesky Metric (LCM) are faster but rely on matrix logarithms and exponentiations. When SPD matrices have very small eigenvalues, these logarithmic operations can lead to severe numerical instability, causing training failures in neural networks. This paper introduces two new metrics—the Power–Cholesky Metric (PCM) and the Bures–Wasserstein–Cholesky Metric (BWCM)—designed to retain the speed of Cholesky-based methods while ensuring numerical robustness.
Methods: Cholesky Product Geometry
The core mathematical insight of this work is the disentanglement of the Cholesky manifold's geometry into a simple "product structure." The authors demonstrate that the Cholesky manifold can be split into two independent parts: a standard Euclidean space for the strictly lower triangular part of the matrix, and $n$ independent 1D Riemannian manifolds for the positive diagonal entries.
Instead of the logarithmic metric used in LCM, the authors propose using diagonal power transformations ($x^\theta$). This leads to the derivation of two new metrics:
- Power-Cholesky Metric (PCM): Derived from the Power-Euclidean Metric.
- Bures-Wasserstein-Cholesky Metric (BWCM): Derived from the Generalized Bures-Wasserstein Metric.
By avoiding logarithms, these metrics eliminate the extreme asymptotes that cause numerical crashes. The authors derive closed-form Riemannian operators (geodesics, logarithms, exponential maps, and parallel transport) for these metrics, facilitating their use in building SPD Multinomial Logistic Regression (MLR) classifiers and Riemannian residual blocks.
Key Insights
- A Modular Framework: The product structure acts as a "sandbox," allowing any valid metric defined on positive real numbers to be plugged in to generate a full, valid SPD metric.
- Stability through Power Functions: Tunable power transformations ($\theta$) are significantly more robust than logarithms when eigenvalues approach zero, preventing numerical blowups.
- Data-Adaptive Geometry: The optimal power factor $ heta$ can be tuned based on the statistical distribution of a dataset's Cholesky diagonals, allowing the metric to better capture specific data characteristics.
Key Results
The proposed metrics were evaluated across several real-world datasets, including Radar signals, HDM05 motion capture, and FPHA hand gestures.
As shown in the results table, PCM and BWCM consistently outperform traditional baselines like AIM and LCM in terms of accuracy. Beyond accuracy, the metrics offer massive speedups; for high-dimensional matrices (512×512), PCM and BWCM are nearly 35-40 times faster than eigenvalue-based metrics like AIM. Furthermore, in stress tests with extremely small eigenvalues ($1e^{-30}$), PCM and BWCM remained 100% stable, whereas LCM failed even at much higher values.
Conclusion and Future Work
PCM and BWCM provide a fast, stable, and accurate alternative for deep learning on SPD manifolds. While they introduce a hyperparameter $\theta$ that requires dataset-specific tuning, the underlying product structure framework opens the door to discovering even more tailored SPD geometries. Future work may explore automated parameter selection or the integration of other 1D metrics into the Cholesky diagonal framework.
Summary updated