Learning to Normalize on the SPD Manifold under Bures-Wasserstein Geometry

Rui Wang, Shaocheng Jin, Ziheng Chen, Xiaoqing Luo, Xiao-Jun Wu

TL;DR

Deep learning on Symmetric Positive Definite (SPD) manifolds often suffers from numerical instability due to "ill-conditioned" covariance matrices. This paper introduces GBWBN, a novel Riemannian Batch Normalization method grounded in Generalized Bures-Wasserstein geometry. By incorporating a learnable metric parameter and non-linear power deformation, GBWBN effectively stabilizes and normalizes ill-conditioned data, delivering state-of-the-art performance across EEG and action recognition tasks.

What Problem Does This Paper Address?

Covariance matrices are widely used to capture high-order spatiotemporal features in fields like brain-computer interfaces (BCI) and computer vision. Mathematically, these matrices live on a non-Euclidean space called the Symmetric Positive Definite (SPD) manifold. To train deep networks on this manifold, researchers rely on Riemannian Batch Normalization (RBN) to stabilize training.

However, real-world data frequently produces "ill-conditioned" SPD matrices (where the ratio between the largest and smallest eigenvalues is massive). Existing RBN methods rely on geometric metrics (like the Affine Invariant Metric) that have a quadratic dependence on the data, making them highly sensitive and unstable when handling these ill-conditioned matrices. Standard regularization tricks (such as adding a small identity matrix perturbation) offer very limited relief, leaving a clear gap in robust manifold learning.

Methods

The authors propose GBWBN (Generalized Bures-Wasserstein Batch Normalization), introducing several key innovations to RBN:

  • Bures-Wasserstein Metric (BWM): Unlike traditional metrics, BWM scales linearly with the data, making it naturally robust to ill-conditioned matrices.
  • Generalized BWM (GBWM): The authors extend BWM by introducing an SPD matrix parameter $\mathbf{M}$, allowing the metric to adapt to the manifold's local geometry. Crucially, they make $\mathbf{M}$ learnable via Riemannian Stochastic Gradient Descent (RSGD).
  • Power Deformation: They apply a matrix power transformation ($\theta$) to the metric, allowing the network to smoothly interpolate between standard GBWM ($\theta=1$) and Log-Euclidean-like metrics ($\theta \to 0$).
  • Normalization Pipeline: The algorithm uses a Riemannian isometry to map the input data into a simpler BWM space, performs batch normalization steps (centering via parallel transport, scaling, and biasing), and maps the normalized data back to the power-deformed GBWM space.

The overall computation process is illustrated below:

Figure 1. An overview of the computation process for GBWBN.

Datasets

The proposed method was evaluated on three distinct signal classification benchmarks:

  • MAMEM-SSVEP-II: An EEG dataset with 11 subjects exposed to visual stimuli flickering at 5 different frequencies, used for steady-state visual evoked potential classification.
  • HDM05: A motion-capture dataset containing 2,086 action sequences across 117 classes.
  • NTU RGB+D: A large-scale 3D human action recognition dataset consisting of 56,880 video clips across 60 classes.

Key Insights and Ideas

  • Linearity Cures Ill-Conditioning: Traditional metrics blow up quadratically when handling ill-conditioned matrices. BWM's linear dependence keeps computations stable and prevents extreme eigenvalue stretching.
  • Moving Away from the Edge: Ill-conditioned matrices naturally cluster near the boundary of the SPD manifold, restricting the network's expressive capacity. GBWBN effectively shifts these matrices toward the spacious interior of the manifold, unlocking better representation power.
  • Dynamic Geometry via Learnable Metrics: Instead of fixing the Riemannian metric beforehand, making the metric parameter $\mathbf{M}$ learnable allows the normalization layer to dynamically adapt to the evolving data distribution during training.

Key Results

  • Eliminating Ill-Conditioning: Across all datasets, the percentage of features with extreme condition numbers ($\kappa > 10^3$) dropped to exactly 0% after passing through the GBWBN layer.
  • EEG Classification: On the MAMEM-SSVEP-II dataset, integrating GBWBN into SPDNet achieved an accuracy of 65.47%, outperforming vanilla SPDNet (62.30%) and the previous best RBN method, SPDNet-BN (62.76%).
  • Action Recognition: When integrated into a Riemannian Residual Network (RResNet) with optimal power deformation ($\theta = 0.5$), GBWBN boosted accuracy on HDM05 from 61.09% (vanilla) to 69.10%, and on NTU RGB+D from 52.54% to 59.72%, significantly beating existing state-of-the-art normalization techniques like LieBN.

Limitations and Future Work

  • Computational Overhead: The authors note that the GBWBN module incurs slightly more training time per epoch compared to simpler RBN methods. This is primarily due to the increased number of Singular Value Decomposition (SVD) operations required during the matrix power transformations and metric mappings.
  • Future Directions: Optimizing the computational efficiency of these manifold operations to scale up to even larger architectures remains an open area for future research.

Summary updated

BibTeX
@inproceedings{wang2025learning,
  author = {Rui Wang and Shaocheng Jin and Ziheng Chen and Xiaoqing Luo and Xiao-Jun Wu},
  title = {{Learning to Normalize on the SPD Manifold under Bures-Wasserstein Geometry}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00776},
}
Figure