This paper introduces SPDSW (Sliced-Wasserstein on Symmetric Positive Definite matrices), a new computational tool designed to compare distributions of covariance matrices. By extending the popular Sliced-Wasserstein distance to the Riemannian manifold of SPD matrices, the authors provide a method that is both theoretically grounded and significantly faster than traditional Optimal Transport (OT) approaches for M/EEG signal analysis.
TL;DR
The authors propose a Sliced-Wasserstein distance tailored for the non-Euclidean geometry of covariance matrices, offering a computationally efficient way to compare brain activity distributions. This method outperforms state-of-the-art Riemannian techniques in brain-age prediction and serves as a fast surrogate for domain adaptation in Brain-Computer Interfaces (BCI).
What Problem Does This Paper Address?
In neuroimaging (M/EEG), researchers often summarize complex brain signals using covariance matrices. These matrices are Symmetric Positive Definite (SPD), meaning they don't live in a standard flat Euclidean space but on a curved Riemannian manifold.
Standard machine learning tools assume flat space, leading to sub-optimal results when applied to SPD matrices. While Riemannian geometry provides a solution, comparing distributions of these matrices (e.g., comparing one subject's brain states to another's) remains a bottleneck. The "gold standard" for comparing distributions is the Wasserstein distance from Optimal Transport, but it is computationally expensive—scaling cubically with the number of samples. This makes it impractical for large-scale neuroimaging datasets or real-time BCI applications.
Methods
The core innovation is the SPDSW discrepancy. The authors adapt the "slicing" idea—which reduces a high-dimensional OT problem into many simple 1D problems—to the SPD manifold.
- Manifold Geometry: They utilize the Log-Euclidean metric, which allows them to map SPD matrices into a space where geodesics (the shortest paths on the manifold) are well-defined and easy to compute.
- Geodesic Projection: Instead of projecting data onto random lines (as in standard Sliced-Wasserstein), they project SPD matrices onto geodesics passing through the identity matrix. They derive a elegant closed-form for this projection: $t_A(M) = \text{Tr}(A \log M)$, where $A$ is a random symmetric matrix.
- Kernelization: Crucially, they prove that SPDSW is a Hilbertian metric. This is a major "win" because it allows the distance to be used within Gaussian kernels for Kernel Ridge Regression, a property the standard Wasserstein distance lacks.
Datasets
The authors evaluated their method on two major benchmarks:
- Cam-CAN: A large-scale MEG dataset containing recordings from 646 subjects at rest, used here for brain-age prediction.
- BCI Competition IV 2.a: A standard EEG dataset used to test domain adaptation, where the goal is to align brain signals across different sessions or subjects.
Key Insights and Ideas
- Slicing on Manifolds: The paper demonstrates that the "slicing" heuristic is not just for Euclidean space. By choosing the right metric (Log-Euclidean), the complex geometry of SPD matrices simplifies into a trace operation in the log-domain.
- Efficiency vs. Accuracy: SPDSW provides a "sweet spot." It captures the underlying Riemannian geometry better than simple Euclidean methods but avoids the $O(n^3 \log n)$ cost of full Optimal Transport.
- The Power of Kernels: Because SPDSW is Hilbertian, it can be used to build valid positive definite kernels. This allows researchers to use powerful kernel-based regressors on distributions of brain activity, which the authors show is more informative than just using the "average" covariance matrix of a subject.
Key Results
- Computational Speed: SPDSW is orders of magnitude faster than standard Wasserstein distances (AIW/LEW) and Sinkhorn approximations (LES) as the number of samples increases.
- Brain-Age Prediction: On the Cam-CAN dataset, the SPDSW kernel achieved the lowest Mean Absolute Error (MAE) and highest $R^2$ compared to state-of-the-art Riemannian filterbank methods.
- BCI Domain Adaptation: In cross-session tasks, SPDSW achieved accuracies comparable to full Wasserstein methods (~83.7%) but in a fraction of the time (~3.7s vs ~11.4s).
Limitations and Future Work
- Metric Choice: The study focuses primarily on the Log-Euclidean metric. While they explore the Affine-Invariant metric (which is more robust to certain signal transformations), it lacks a closed-form projection, making it much slower (the "HSPDSW" variant).
- Hyperparameters: The performance is sensitive to the time-frame length used to estimate the initial covariance matrices. Finding the optimal trade-off between the number of samples and the noise in each estimate remains a manual task.
- Curvature: The authors note that extending this to spaces with positive curvature (like the Bures-Wasserstein metric) presents additional theoretical challenges that are not yet solved.
Summary updated