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 :
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:
| Setting | Radar / HDM05 | Hinss2021 |
|---|---|---|
| Learning rate | ||
| Batch size | 30 | 50 |
| Maximum epochs | 200 | 50 |
| Weight decay | not 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 MLR | 92.88 ± 1.05 | 93.47 ± 0.45 |
| Gyro-AIM | 94.53 ± 0.95 | 94.32 ± 0.94 |
| -LEM | 93.55 ± 1.21 | 94.60 ± 0.70 |
| -LEM | 95.64 ± 0.83 | 95.87 ± 0.58 |
| -LCM | 94.59 ± 0.82 | 95.16 ± 0.67 |
HDM05 accuracy (mean ± SD):
| Classifier | |||
|---|---|---|---|
| LogEig MLR | 57.42 ± 1.31 | 60.69 ± 0.66 | 60.76 ± 0.80 |
| -LCM | 65.66 ± 0.73 | 65.79 ± 0.63 | 65.71 ± 0.75 |
Hinss2021 balanced accuracy (mean ± SD):
| Classifier | Inter-session | Inter-subject |
|---|---|---|
| LogEig MLR | 53.83 ± 9.77 | 49.68 ± 7.88 |
| -LCM | 56.43 ± 8.79 | 51.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).