A Sliced-Wasserstein Framework on Correlation Matrices for EEG Decoding

Chen Hu, Rui Wang, Jiale Zhou, Jingjun Yi, Shaocheng Jin, Yidong Song, Yefeng ZhengarXiv 2026 · DOI

TL;DR

This paper introduces Correlation Sliced-Wasserstein (CorSW), an efficient optimal transport framework designed specifically for the manifold of full-rank correlation matrices. By leveraging pullback-Euclidean metrics, CorSW enables fast, scale-invariant distribution alignment that significantly improves cross-subject and cross-session domain generalization in EEG decoding without adding any inference-time computational overhead.

What Problem Does This Paper Address?

Electroencephalography (EEG) decoding is notoriously difficult due to the non-stationary nature of brain signals, which leads to severe distribution shifts across different subjects and recording sessions. To mitigate noise, many modern EEG pipelines represent multi-channel signals using spatial covariance matrices. However, covariance matrices are highly sensitive to channel-wise scaling variations caused by physical factors like electrode impedance or changing signal amplitudes.

While full-rank correlation matrices offer a scale-invariant alternative, they do not live in a standard flat Euclidean space; instead, they lie on a complex non-Euclidean quotient manifold. Comparing probability distributions on such manifolds using standard Optimal Transport (Wasserstein distance) is computationally prohibitive ($O(n^3 \log n)$), creating a massive bottleneck for deep learning pipelines.

Methods

The authors propose Correlation Sliced-Wasserstein (CorSW) to bring the speed and scalability of Sliced-Wasserstein distances to correlation manifolds.

  1. Pullback Euclidean Metrics (PEM): They utilize two recently introduced correlation geometries—the Off-Log Metric (OLM) and the Log-Scaled Metric (LSM). These diffeomorphic mappings project the complex correlation manifold into flat Euclidean embedding spaces.
  2. Geodesic Slicing: Because the manifold is globally embedded via a diffeomorphism, complex curved geodesics on the manifold simplify into straight lines in the embedding space. This allows the authors to implement geodesic slicing as standard linear projections, reducing the multi-dimensional optimal transport problem into a series of one-dimensional Wasserstein distances computed efficiently via simple sorting ($O(L n \log n)$).
  3. Domain Generalization (DG) Framework: They integrate CorSW into a source-only domain generalization framework. Instead of performing expensive pairwise alignment between all source domains, CorSW aligns each source domain's correlation distribution to a common, dynamically resampled Gaussian reference law in the embedding space.
Visualization of geodesic and Euclidean projections of a 3x3 correlation matrix under OLM and LSM metrics.

Datasets

The framework was comprehensively evaluated on three public benchmark EEG datasets covering distinct neurophysiological paradigms:

  • BCIC-IV-2a: A 4-class motor imagery (MI) dataset representing a typical time-asynchronous decoding scenario.
  • MAMEM-SSVEP-II: A steady-state visual evoked potential (SSVEP) dataset representing a time-synchronous paradigm.
  • BCI-ERN: An error-related negativity (ERN) dataset featuring a severe class imbalance task.

Key Insights and Ideas

  • Geometry-Aware Embeddings are Crucial: Simply flattening correlation matrices into vectors and applying standard flat Sliced-Wasserstein distances performs poorly. Slicing and matching distributions within the mathematically rigorous OLM or LSM log-embedding spaces preserves essential correlation-manifold properties.
  • The Power of Pullbacks: By mapping the manifold to a flat embedding space, the framework completely bypasses the need for iterative, optimization-heavy Riemannian optimal transport solvers during training.
  • Stochastic Regularization via Resampling: Aligning source domains to a dynamically resampled reference distribution provides a neutral target and acts as a mild stochastic regularizer, preventing the deep learning model from overfitting to any single domain's bias.

Key Results

  • Performance Gains: CorSW consistently outperformed standard Euclidean deep learning models (e.g., EEGNet) and state-of-the-art Riemannian baselines. For example, adding CorSW to a correlation-manifold backbone (CorAtt) improved the ERN classification AUC to 81.33% (up from 78.78%).
  • Enhanced Stability: CorSW significantly reduced run-to-run training variability. On the SSVEP task, the standard deviation across runs dropped sharply from 3.22% to 1.01%.
  • Zero Inference Overhead: Since CorSW functions purely as an auxiliary loss regularizer during training, it adds a tiny training overhead (~5.2 ms per iteration) but introduces absolutely no additional computational cost during inference.
Figure 2: Performance of CorSW-OLM/LSM vs. slicing num- ber 𝑆on the MAMEM-SSVEP-II dataset.

Limitations and Future Work

  • Manifold Restrictions: The mathematical formulation of CorSW is strictly tied to manifolds that can be endowed with Pullback Euclidean Metrics (PEMs). Extending this framework to more general, arbitrary Riemannian manifolds remains an open question.
  • Offline vs. Online Validation: The authors evaluated their method entirely on pre-recorded offline datasets. Future work is required to demonstrate how well this framework translates to real-time, online Brain-Computer Interface (BCI) applications.

Summary updated

BibTeX
@misc{hu2026sliced,
  author = {Chen Hu and Rui Wang and Jiale Zhou and Jingjun Yi and Shaocheng Jin and Yidong Song and Yefeng Zheng},
  title = {{A Sliced-Wasserstein Framework on Correlation Matrices for EEG Decoding}},
  year = {2026},
  eprint = {2606.06104},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.06104},
}
Figure