1 SPD MLR

Ref: @chenRiemannianMultinomialLogistics

Code at: https://github.com/GitZH-Chen/SPDMLR.git

Overview

The paper develops Riemannian multinomial logistic regression (RMLR) for SPD manifolds under pullback Euclidean metrics (PEMs). It instantiates the framework with parameterized Log-Euclidean (-LEM) and Log-Cholesky (power-deformed -LCM) metrics and evaluates the classifier with SPDNet on Radar and HDM05 and with TSMNet+SPDDSMBN on Hinss2021.

The central change is architectural: retain SPD-valued representations after BiMap and ReEig, then replace the conventional LogEig + FC + softmax classifier with an intrinsic SPD MLR.

Architecture

For an SPD input , class is represented by an SPD shift matrix and nonzero tangent normal matrix . The corresponding SPD hyperplane is

The general Riemannian classifier is defined through signed geodesic distance to this hyperplane. For a PEM induced by a diffeomorphism , the distance has a closed form and the classifier simplifies to

where is a Euclidean symmetric parameter and is optimized on the SPD manifold.

Under -LEM,

Under power-deformed -LCM,

where depends on the strictly lower and log-diagonal components of and , and . The power parameter interpolates standard LCM at toward an LEM-like metric as .

For standard LEM, an SPD MLR optimized with LEM-based RSGD is proven equivalent to the usual matrix-logarithm + FC + softmax classifier optimized with Euclidean SGD. The experiments instead update SPD parameters using an AIM-based optimizer.

The two evaluated backbones:

  • SPDNet: alternating BiMap and ReEig blocks, followed by SPD MLR instead of LogEig + FC + softmax.
  • TSMNet+SPDDSMBN: temporal convolution → spatial convolution → BiMap → ReEig → SPDDSMBN → SPD MLR.

Model Parameters

Architectures are represented by , with the th BiMap parameter having dimensions :

DatasetArchitectures
Radar;
HDM05; ;
Hinss2021

We adopt the deepest architectures, namely [20, 16, 14, 12, 10, 8] for the Radar dataset, [93, 70, 50, 30] for the HDM05 dataset, and [40, 20] for the Hinss2021 dataset.

Metric hyperparameters: ; ; LCM deformation . Reported: Radar -LEM and -LCM; HDM05 -LCM; Hinss2021 -LCM. Each class introduces one SPD shift parameter and one symmetric normal parameter .

Training Parameters

All experiments use cross-entropy and the Riemannian AMSGrad optimizer:

SettingRadar / HDM05Hinss2021
Learning rate
Batch size3050
Maximum epochs20050
Weight decaynot reported

Hardware: Intel Core i9-7960X CPU, 32 GB RAM, NVIDIA GeForce RTX 2080 Ti.

Data: Radar - 3,000 synthetic radar signals, windows of length 20 → 3,000 covariances, 3 classes. HDM05 - 2,086 covariance instances, 117 classes. Hinss2021 - MOABB/MNE preprocessing: resample 250/256 Hz, 4-36 Hz filter, ≤3 s segments, covariances; inter-session and inter-subject. Radar/HDM05: tenfold experiments; Hinss2021: random 5% of sessions/subjects left out. Metric: accuracy (Radar/HDM05), balanced accuracy (Hinss2021).

Results

Radar accuracy (mean ± SD over ten folds):

Classifier
LogEig MLR92.88 ± 1.0593.47 ± 0.45
Gyro-AIM94.53 ± 0.9594.32 ± 0.94
-LEM93.55 ± 1.2194.60 ± 0.70
-LEM95.64 ± 0.8395.87 ± 0.58
-LCM94.59 ± 0.8295.16 ± 0.67

HDM05 accuracy (mean ± SD):

Classifier
LogEig MLR57.42 ± 1.3160.69 ± 0.6660.76 ± 0.80
-LCM65.66 ± 0.7365.79 ± 0.6365.71 ± 0.75

Hinss2021 balanced accuracy (mean ± SD):

ClassifierInter-sessionInter-subject
LogEig MLR53.83 ± 9.7749.68 ± 7.88
-LCM56.43 ± 8.7951.65 ± 5.90

Deformed LCM improves over LogEig MLR by 2.60 pp inter-session and 1.97 pp inter-subject. Training time (s/epoch, deepest architecture): LCM MLR is far cheaper than Gyro-AIM (e.g., HDM05 3.29 vs 31.64; on HDM05 with 117 class parameters, LEM/LCM need ≈1/9 of Gyro-AIM’s time).