Introduction
In neuroimaging, specifically Magnetoencephalography (MEG) and Electroencephalography (EEG), researchers frequently summarize complex brain signals using covariance matrices. These matrices are Symmetric Positive Definite (SPD), meaning they reside on a curved Riemannian manifold rather than a standard flat Euclidean space.
While tools exist to compare individual SPD matrices, modern machine learning tasks often require comparing distributions of these matrices—for instance, comparing the brain activity patterns of different subjects. The standard for comparing distributions is the Wasserstein distance from Optimal Transport. However, the Wasserstein distance is computationally expensive, scaling cubically with the number of samples ($O(n^3 \log n)$). This paper introduces SPDSW (Sliced-Wasserstein on Symmetric Positive Definite matrices), a computationally efficient distance metric that respects the geometry of the SPD manifold while providing significant speedups.
Methodology
The authors propose SPDSW, which combines the efficiency of "slicing" with the mathematical rigor of Riemannian geometry. The method follows a multi-step process:
- Log-Euclidean Framework: The curved SPD manifold is mapped into a flat space, allowing "straight lines" (geodesics) on the manifold to be treated as linear operations.
- Geodesic Projections: Instead of projecting data onto random lines in Euclidean space, SPD matrices are projected onto geodesics passing through the identity matrix. The authors derived closed-form expressions for these projections, ensuring high computational speed.
- Slicing and Averaging: By averaging 1D Wasserstein distances across many random geodesic projections, the method approximates the full high-dimensional distance.
- Hilbertian Kernels: The authors prove that SPDSW is a "Hilbertian metric," allowing it to be integrated directly into kernel-based models like Kernel Ridge Regression.
Computational Efficiency
A primary advantage of SPDSW is its complexity: $O(Ln(\log n + d^2))$, where $L$ is the number of projections. This makes it orders of magnitude faster than standard Wasserstein or Sinkhorn distances as the number of samples ($n$) increases. Empirically, the method is robust; using as few as 500 projections is sufficient to reach peak performance, making it practical for real-time applications.
Experimental Results
The method was evaluated on two major M/EEG benchmarks:
- Brain-Age Prediction (Cam-CAN): Using a dataset of 646 subjects, the SPDSW-based kernel outperformed standard Riemannian Ridge Regression and other baselines, achieving lower Mean Absolute Error (MAE) and higher $R^2$ scores. This supports the paper's argument that treating a subject as a distribution of covariance matrices captures more information than a single average matrix.
- BCI Domain Adaptation (BCI Competition IV 2.a): In cross-session and cross-subject motor imagery tasks, SPDSW matched the accuracy of state-of-the-art Optimal Transport methods while being 3x to 4x faster (e.g., ~4 seconds vs ~12 seconds for Sinkhorn-based methods).
Discussion and Future Work
While SPDSW offers a "computational free lunch," its performance depends on the length of the time window used to estimate covariance matrices. Windows that are too short introduce noise, while windows that are too long lose the distributional benefits.
Future research may explore more complex manifold geometries beyond the Log-Euclidean framework. Additionally, while the SPD manifold is negatively curved, extending this slicing approach to manifolds with positive curvature, such as the hypersphere, remains an open challenge in the field.
Summary updated